Horde3D

Next-Generation Graphics Engine
It is currently 02.05.2025, 16:47

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Content from 3dsMax
PostPosted: 15.05.2008, 05:39 
Offline

Joined: 15.05.2008, 05:32
Posts: 46
Location: California
I can't get my content to show up.

I modified the Crowd sample to load up my exported scene but I just can't see it. I did the following:

1. Created a teapot in 3dsmax
2. Exported using the latest FCollada exporter to Horde3D\Binaries\Content\scene.dae
3. Drag-n-dropped Horde3D\Binaries\Content\scene.dae onto ColladaConv.exe, this produced scene.anim, scene.geo and scene.scene.xml in the same folder. This also produced a material file.
4. Load up my scene
ResHandle myScene = Horde3D::addResource( ResourceTypes::SceneGraph, "scene.scene.xml", 0 );
5. Add scene node
NodeHandle scene = Horde3D::addNodes( RootNode, myScene );
Horde3D::setNodeTransform( scene, 0, 0, 0, 0, 0, 0, 200, 200, 200 );
6. Tried different scales
7. Changed the material shader from skinning.shader.xml to standard.shader.xml

Nothing! :-)

What am I missing?


Top
 Profile  
Reply with quote  
 Post subject: Re: Content from 3dsMax
PostPosted: 15.05.2008, 07:29 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Are there some warnings or errors in the EngineLog.html file?


Top
 Profile  
Reply with quote  
 Post subject: Re: Content from 3dsMax
PostPosted: 15.05.2008, 08:25 
Offline

Joined: 15.05.2008, 05:32
Posts: 46
Location: California
Yes! :oops:

I fixed those by moving the scene.anim, scene.geo and scene.scene.xml files into the models folder.

Now the teapot show up but it has the wrong texture... no warnings in the log (I've attached it, had to rar it because the forum won't take html attachments).

I'm using the layingrock.jpg from the Horde3D\Binaries\Content\textures folder. I've attached screenshots from Max and Horde3D.

Attachment:
in-max.jpg
in-max.jpg [ 34.2 KiB | Viewed 7641 times ]


Attachment:
in-engine.jpg
in-engine.jpg [ 32.06 KiB | Viewed 7641 times ]


Attachments:
EngineLog.rar [1.7 KiB]
Downloaded 596 times
Top
 Profile  
Reply with quote  
 Post subject: Re: Content from 3dsMax
PostPosted: 15.05.2008, 08:34 
Offline

Joined: 15.05.2008, 05:32
Posts: 46
Location: California
Success!

The texture wasn't on the diffuse slot in the Max material... my mistake... :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Content from 3dsMax
PostPosted: 15.05.2008, 09:21 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
:-) Great!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 60 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group