TFM
2007-08-01 17:30:30 UTC
Let me put my question subject another way, perhaps should be more
understandable for some people.
Hi,
I just need a suggestion, I'm creating a Mathematical plotter & for
rendering 2D graphs I use:
DrawPrimitives(PrimitiveType.LineStrip, 0, this.vertices.Count - 1);
but for 3D I use the Mesh structure.
Is this approach correct ?
Also as I need to switch between 2D & 3D I think I need to clear the
device data structures & stuff because I don't see a correct 2D plot
once I've made a 3D plot because I set stuff like IndexBuffer &
VertexBuffer for 3D and then need to return back to plain
DrawPrimitives. I guess you understand what I mean
Thanks
understandable for some people.
Hi,
I just need a suggestion, I'm creating a Mathematical plotter & for
rendering 2D graphs I use:
DrawPrimitives(PrimitiveType.LineStrip, 0, this.vertices.Count - 1);
but for 3D I use the Mesh structure.
Is this approach correct ?
Also as I need to switch between 2D & 3D I think I need to clear the
device data structures & stuff because I don't see a correct 2D plot
once I've made a 3D plot because I set stuff like IndexBuffer &
VertexBuffer for 3D and then need to return back to plain
DrawPrimitives. I guess you understand what I mean
Thanks