Direct3DIM blending

Started by
1 comment, last by Iceman 23 years, 11 months ago
I''ve seen the Direct3dIM demo come with DirectX6 SDK called "Bend:Surface Skinning Example" and I wonder how that can be done? (I''m planning to use it on OpenGL)
Advertisement
Hi

Bending is a very simply task, as long as you wan''t to do simple bending like the DirectX Example.
You need an Object, which you wan''t to bend. This is normaly representated with an list of Vertices, and an Indexlist, describing which Vertices are connected.

Now for bending, the only think you have to do is transforming the Vertices with different Matrices. For example, take all Vertices left from the middle, and rotate them right, and then rotate the others left. if you do this about the correct Axe, you get some smooth Bending.

Some of the new Graphic Cards like the G-Force support this kind of Multiple-Matrix-Transformation in Hardware. This is also supported with DirectX 7. Maybe Nvidia has some OpenGL Extensions in there new Drivers, but i am not shure about that.

Lars
--------> http://www.larswolter.de <---------
Thank you very much.
but Can you explain it with more detail?
because I''m just new in 3d programming.
Maybe if it take too long to write on this board you can contact me by e-mail

This topic is closed to new replies.

Advertisement