PDA

View Full Version : 3DS or ASE?



stockton
10-27-2001, 03:00 PM
Which format gives the following?

Vertex Data? (XYZ)
Face Data? (Vertex Numbers #1 #2 #3)
Vertex Colors? (RED GREEN BLUE)
Face Colors? (RED GREEN BLUE)
Normals to FACES and VERTEX's?

Thanks Simon

I cannot seam to find any ASE files or tutorials that have Color Data within them they all are either greyscale or have textures on them.

chowe6685
10-27-2001, 03:05 PM
I would load .3ds, there is lots of information about how they are arranged and they provide vertices, face data, and material settings. You will have to compute your own normals, but if you look around online you should be able to find some information about that. You can always check this forum, its a pretty common question

jabe
10-27-2001, 03:07 PM
i think it is because vertexcolors are computed through material and lightsettings by the renderer. they do not exist in modellers. define a material for each face and the vertexcolor will result from it and the lightsettings. if you dont have dynamic lighting, you could read the lights from the ase file and precompute the resulting vertexcolors.

nevertheless i would recommend ase. it is easy to read and understand and has the same complexity as 3ds i think.

regards,
jan

[This message has been edited by jabe (edited 10-27-2001).]

stockton
10-27-2001, 03:11 PM
I understand that the ASE file is less complex and will probably give me all the data that I need however I am still a bit concerned about these colors aer you saying that if I read in the ambient ligh and the direct light sources coupled with the material data then the colours will appear as they do in D Max?

Simon

jabe
10-27-2001, 03:52 PM
if you compute them like 3d max does, yes http://www.opengl.org/discussion_boards/ubb/smile.gif
read about opengl lighting equations in any reference book. max doesnt handle it so much differently.