Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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.bmpCan 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? |
||||
|
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. |
||||
|
ok. thank you. |
||||
|
|