View Full Version : X and Y axis
05-17-2012, 03:29 PM
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?
05-18-2012, 02:15 AM
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.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.