Move a 2D texture in 3D

BlitzMax Forums/BlitzMax Programming/Move a 2D texture in 3D

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

"Using native Bmax" ???? You can't. You have to introduce rotation commands applied to the modelview or projection matrix.

Also you can't use the orthographic projection that 2D uses, you have to switch to a perspective projection, which means defining like glFrustum() or gluPerspective(). Then you have to position the objects in 3d space where the camera can see them. Then you have to add rotation to the projection/modelview matrix with glRotatef(), presumably in the Y axis.