View Single Post
Old 08-01-05, 07:30 PM   #75
Canaris
Watch
 
Join Date: May 2005
Posts: 26
Downloads: 50
Uploads: 0
Default

Hm, i see you are in hurry.
I wil do a little description what i have done last week.
To export and import models correctly, you have to understand how SH3 uses the data from dat files.
Simpler things like vertexformat, indexformat and texturecoordinatsformat are known, but how puts SH3 all these individually saved modelparts together?
First step: lets simply render the entire tree.



That looks like crap.
But vertices can be moved forth and back along 3 axis. Hm that should be easy. :hmm:
added translation:



No! That isn't right!
But if there are axis, there have to be something rotated. Hm takes me a smile. :hmm:
added rotation:



No! That was the next shot!
After some coffee and a little bit later...
I've read somewhere that in 3ds files, there is the manipulation from parentmodelnode is taken over to childnode. Let's have a look. :hmm:
added values from parent:



NO! NO! NO!
Lets play a little. Rotation away, rotation added....
That ****ty litle plane rotates in wrong direction!
Lets rotate the entire **** to the other direction.



Ahhhhh!
But what's this?



What does this little stupid chap there!
...

Long baba, short sense: That isn't finished today and not tomorrow.
Maybe one day...

MfG
Canaris
__________________
Canaris is offline   Reply With Quote