Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Iceman

Direct3DIM blending

This topic is 6919 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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)

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!