• Welcome to Dark Bit Factory & Gravity.
 

[C#][OpenTK] 3D Rotation

Started by combatking0, July 25, 2012

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

combatking0

I've been looking at the OpenTK documentation for rotating a 3D model, but I'm having difficulty in understanding it.

Whenever GL.Rotate is called in the examples, it appears to apply to the whole environment, rather than an individual point in the object I'm drawing.

This could cause problems when I want to draw 2 seperate 3D objects, rotating independantly.

Or should I apply the rotation, draw the first object, then apply another rotation, and draw the second object?

I'll give it a try.
You are our 9001st visitor.
Challenge Trophies Won:

Raizor

raizor

Challenge Trophies Won:

hellfire

Since OpenTK seems to be a wrapper to OpenGL, you probably just want to look up what the matrix stack is.
Challenge Trophies Won:

combatking0

K++ Raizor and Hellfire.

Matrices? Noooooooooooooooooooooooooooooooooooooooooooo!  :o

I can't avoid them forever though, so I'd better start learning. ;)
You are our 9001st visitor.
Challenge Trophies Won: