View Full Version : Draw object at particular position
01-05-2008, 02:03 AM
How do we draw an object,for e.g. the Utah Teapot or a sphere at a particular position on a 3D scene?
01-05-2008, 03:40 AM
Most usual way to do it: you apply a translation matrix prior to rendering the object. You should probably have a look at glTranslate function.
01-05-2008, 05:07 AM
Ok. I tried using it previously and I had some problems. Now it's working.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.