-
X and Y axis
Hello, I want to make a 2d graph with the X and Y axis lines but make the lines into 3d long rectangular tubes, What would I need to do to be able to create this and how would I be able to place a model at the origin of it?
-
Senior Member
OpenGL Pro
Set up a perspective projection (gluPerspective) and draw axis-aligned bounding boxes as your 'lines'. Each corner of the AAbox is a vertex (x,y,z), so you need 8 verticies to plot each AAbox.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules