PDA

View Full Version : 3DS models and OPENGL (again and again...., i'll stop after this)



clucches
04-07-2001, 05:49 AM
If you want to use a 3DS file in your OpenGL Application look at www.retre.it/opengl (http://www.retre.it/opengl)

With a simply dll you can import a 3DS model with materials, texture, and Trianglestrip optmized.
For now no Animations and no IK..

Does anybody knows where can i find information about Anims, IKs and how they're exported??

Thanks.

doogal
04-08-2001, 09:21 PM
Im very new to opengl and 3-d graphics programming in general so forgive my ignorance if you will. Will this program also import 3d studio MAX (.max) files? If not I suppose I can export the .max to .3ds, but I was just wondering. Thanks for the help in advance.

clucches
04-09-2001, 09:47 AM
Originally posted by doogal:
Im very new to opengl and 3-d graphics programming in general so forgive my ignorance if you will. Will this program also import 3d studio MAX (.max) files? If not I suppose I can export the .max to .3ds, but I was just wondering. Thanks for the help in advance.

My program will not import a .max file, but you can export it in a .3ds file and all will work out good.
I suggest you to use my dll.

EricK
04-10-2001, 10:10 AM
What is an IK?

coredump
04-10-2001, 10:22 AM
IK = Inverse Kinematics

b

EricK
04-10-2001, 10:41 AM
OK, I am familiar with inverse kinematics. I guess I would argue that exporting IK has no meaning. Perhaps one would want to save the coordinates of bodies at intermediate steps of the process. How is this different from animation? Why would you want to do that?

clucches
04-11-2001, 08:01 AM
Originally posted by EricK:

OK, I am familiar with inverse kinematics. I guess I would argue that exporting IK has no meaning. Perhaps one would want to save the coordinates of bodies at intermediate steps of the process. How is this different from animation? Why would you want to do that?

I'd like to import hierchies and animations.

Leo
04-11-2001, 10:06 AM
IK provides contraints that can be used to create animation in response to certain simulae. IK hiearchies can be used to generate realistic responses to gravity and wind. In the case of character animation IK is used to restrict the range of motion, rotation or translation, that is allowable at a jiont, and the precedence of the motion at that jiont relative to its parent and children.

IK is the opposite of Forward Kinematics where the animation of a hierachical chain is driven from parent to child, if you want the fingers to grab a cup you animate the hips, shoulder, forearm, wrist and then fingers. In IK you just pull the fingers towards the cup and the IK contraints on each joint creates a viable transformation at each heirachy node. ( Thats viable not asthetic, as often that character will develop hunchback sindrome ).

The difference between animation and IK is the same difference between animation and the 'bones' hierachy that is used in the object.

3DS file format can be found here
http://www.the-labs.com/Blender/3DS-details.html

EricK
04-11-2001, 11:20 AM
Originally posted by Leo:
IK provides contraints that can be used to create animation in response to certain simulae. IK hiearchies can be used to generate realistic responses to gravity and wind. In the case of character animation IK is used to restrict the range of motion, rotation or translation, that is allowable at a jiont, and the precedence of the motion at that jiont relative to its parent and children.


I see. I guess I am out of date. Your description of the meaning of inverse kinematics is what my texbooks (quite out of date!) called kinematics. Except for the realistic responce to forces. That used to be called dynamics. In the old days, inverse kinematics had a much narrower definition.



[This message has been edited by EricK (edited 04-11-2001).]

Sanchis
04-11-2001, 09:02 PM
I've tryed your dll and there is result:
- difficult object wasn't appeared at all
- three non-complanar polygons went into one, placed in the top of the screen
- texured spere went into white sphere

So, it is a lot of work to do :-))

clucches
04-12-2001, 09:40 AM
Originally posted by Sanchis:
I've tryed your dll and there is result:
- difficult object wasn't appeared at all
- three non-complanar polygons went into one, placed in the top of the screen
- texured spere went into white sphere

So, it is a lot of work to do :-))

Mail me your 3DS file. This will be useful.

eugrom
04-12-2001, 12:24 PM
Don`t waste time. Make your own 3d mesh editor and export data from this. It is hard to make, but it makes life easy