ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator saveScene
person icon
lion
Registered User
Quote
2009-03-01 15:14:25

I work with irrEdit 1.5 and irrlicht 1.5. So, I have 2 questions about them:

1) irrEdit can save relative paths like
<string name="Heightmap" value="textures/editor_defaults/default_terrain_heightmap.bmp" />

But when i tried c++ saveScene in irrlicht 1.5 engine i always get absolute paths, like
/home/user/textures/editor_defaults/default_terrain_heightmap.bmp
Can you please tell me how to get relative paths in .irr file with saveScene method.

2) irrEdit save scenes in utf-8 format (if i understand correctly). But saveScene methon always save .irr file in utf-32 encoding. Do you know, how to change output enconding for saveScene method?

person icon
niko
Moderator
Quote
2009-03-01 18:22:05

1) irrEdit was compiled against a patched irrlicht version which works with relative paths instead. The source of that irrlicht version is included in the irredit package.

2) As far as I know, irrEdit saves files in UTF-16, and I think saveScene should do the same on windows. On linux, I think it might save as utf32, but I'm not sure.

person icon
lion
Registered User
Quote
2009-03-01 18:24:04

ok. thank you.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |