Skip to main content
GameDev.net gamedev.net
🔒 Locked

TREE Magik

Started by Chaucer Jan 24, 2003 at 6:13 PM 1 replies 450+ views
Original Post
Chaucer
Chaucer
Has anyone used this program? I''ve recently purchased it and created a few tree models with it. I''m exporting them to a .x file and a couple textures are placed in the output directory when I do this. The problem is that when I load them into my engine, the textures don''t show up and I get a white model. I''ve got the textures copied into the same directory as the .x file and i exported the file WITH the texture names so I figured I should be finding the textures with material = (D3DXMATERIAL*)mtrlBuffer->GetBufferPointer(); material.pTextureFilename Has anyone run across this?
Thanks!
Chaucer
Chaucer
Thanks for the help. I just did what you said but it had it the correct way without the path.

hmm I don''t know how it''s not getting the texture.
Thanks!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.