Jump to content
  • Advertisement
Sign in to follow this  
web_scripter

Rendering Spline based models

This topic is 4633 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

Hello, How would i render spline based models. In DirectX, OpenGl, or other Graphics library's. BTW i'm rendering in a 3d environment. Also, i'm programming in C#. Are there any tutorials?

Share this post


Link to post
Share on other sites
Advertisement
You could use any graphics API you want - C# has either Managed DirectX or the Tao OpenGL wrapper at mono. I don't believe there's any explicit support for splines in these APIs (as they're primarity polygon-based), so you'd have to sample the surface spline at different points and create a polygon mesh that approximates the surface. The more points you sample, the higher the resolution of the mesh.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!