View Full Version : Simple viewing direction question
I work on a 3-dimensional spiral of points (an example of the OpenGL suberbible). But I only see a circle of points. So I guess I look on the z-axis. It is my first 3D example. How can I change the viewing direction, so that I can see the spiral 3D?
03-22-2005, 12:21 PM
When you initialize your model view matrix, simply rotate by your preferred angle, say 40 degree around the x.
glRotatef( 40.0f, 1.0,0.0,0.0 );
ok, thats my viewing direction I guess. And lets say I have a 3D thing in space. How can I move this (and keep my viewing direction)?
maybe by learning openGL. :)
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.