ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator Quick Fix
person icon
killthesand
Registered User
Quote
2007-09-27 17:45:33

I was having trouble importing my DMF files in the Irrlicht engine.  It was looking for the textures in the wrong place.  When it couldn't find the texture, it failed to load the mesh.  After a quick search, I found that I only needed to add the line

smgr->getParameters()->setAttribute(scene::DMF_USE_MATERIALS_DIRS, true);

before I imported the DMF.  This forces Irrlicht to use the appropriate texture paths.

Please add this line of code to IrrEdit.  For the same reason, I cannot import any of my DMF files into IrrEdit, it keeps looking for textures in the same directory as the mesh instead of the textures folder.  Then it fails to load the mesh.

person icon
niko
Moderator
Quote
2007-10-01 18:29:23

You can add this yourself too, the source of the used Irrlicht version is included in irrEdit :)


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 |