Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / DirectX Importer [TreeMAGIK/PlantLIFE 2 DBPro]

Author
Message
Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 29th Mar 2006 11:18
Hello.
I'm currently writing my own DirectX .X file importer for dbpro.
Many users will say :
"It's useless, cos DBPro can load .x models easily."
Theorically, you're right.
but you're wrong.

I experienced problems with objects generated by TreeMAGIK G3 and PlantLIFE. These objects cannot be affected by light. Only ambient light amplitude affect them.
My solution ?

I open the .x file, read all data information and rebuild entirely the object using memblocks. I also use a normals calculation algorithm to recalculate the good ones.
After this, I export object to .DBO
And now, these objects can be affected by lights and all is ok.

If some users encounter the same problem than me, I'll release my .x loader for them.

Actually, the loader work correctly with objects that uses triangles and have some issues with objects that uses quad (instead of triangles). I work to fix that.

All we have to decide is what to do with the time that is given to us.
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 29th Mar 2006 11:30
Sounds great. Not sure how many of the old .x bugs will remain after update 6 is out but hey! Lets have a look !

M.I.A is pending
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 29th Mar 2006 16:11
in newton 1.32 that ragdoll generator frenchgui wrote or was it walaber.. it could only support .x files exported from character studio.
could you do anything about that

Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 29th Mar 2006 17:42
I don't know. Maybe ?
Actually my importer work single texture meshes (multi mesh but 1 texture/mesh(limb))
It work for objects that uses triangle but give weird results with objects that use Quad.
I'll try to fix that problem with Quad.

All we have to decide is what to do with the time that is given to us.
JulesD
19
Years of Service
User Offline
Joined: 7th Feb 2005
Location:
Posted: 30th Mar 2006 09:29
Can't wait, I've got both Tree Magic G3 and Plantlife.

Login to post a reply

Server time is: 2024-11-17 06:09:25
Your offset time is: 2024-11-17 06:09:25