PDA

View Full Version : 3ds loader problems



noeska
16-09-2003, 09:16 PM
I am having some problems with some 3ds files. They do not render correctly. I must be doing something wrong. Maybe to do with matrices. Can you take a look? And give me some ideas where to look for a solution? Thanks in advance.

http://www.noeska.com/downloads/3ds.zip

Alimonster
18-09-2003, 09:21 AM
I'll take a look at it tonight, though I'm making no promises :).

noeska
18-09-2003, 06:19 PM
Thanks in advance...

It the mean time i reworked the source, so it now also loads 3ds meshes created with cinima4d. And maybe even more.

http://www.noeska.com/downloads/3dsnew.zip

The problem with cass.3ds is still there though.

Alimonster
18-09-2003, 08:44 PM
I'm looking at it now. However, I have to ask what the particular problem you're looking to solve is first! :) I don't have any 3ds viewers with me except your code. Is the problem with cass.3ds that the model seems to have gaps at various points or that it's untextured, or something else?

Ho hum.

noeska
19-09-2003, 05:24 PM
The problem is the gaps. I myself removed the texture and normal things to get a clear look at the problem e.g. the head that is rendered at the wrong place.

I recently learned that it has to do with something called pivot points.

noeska
21-09-2003, 06:19 PM
i have reworked the loader again: http://www.noeska.com/downloads/gl3ds.zip

It now also loads dummy submeshes
More then one material per submesh
Smoothed Vertex Normals

But the original problem is still there...
Can someone give some info on how a skeleton and pivots are stored inside a 3ds file?