Sign in to follow this  
Opwiz

[XNA] Drawing smooth curves

Recommended Posts

Opwiz    348
Is there a way to render resolution independent 3d splines (without converting it to a mesh), e.g. by using pixel/vertex shaders?

Share this post


Link to post
Share on other sites
gharen2    520
Why not look at the many opengl and direct3d spline implementations online? It'd be pretty much the same in Xna.

You don't need to use a mesh: Xna has all the low level stuff necessary to render things yourself (vertex buffers, draw methods, etc).

Share this post


Link to post
Share on other sites
Opwiz    348
Quote:
Original post by gharen2
Why not look at the many opengl and direct3d spline implementations online? It'd be pretty much the same in Xna.

You don't need to use a mesh: Xna has all the low level stuff necessary to render things yourself (vertex buffers, draw methods, etc).


By mesh I mean primitives. I know how to render a spline by drawing line segments.. I was thinking about something resolution independent like this: Curvy Blues (but 3d splines).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this