opengl 3.x questions

Hey

Yeterday I played around with some Opengl 3.x tutorials and now I have some questions…
[ul][li]Do I have to use shader for rotation, translation and scaling objects? I never used shader before…[*]Which shader tutorials are up to date? [/ul][/li]
Thanks!

As far as I know, you don’t need to use any shader for rotation (and on).

And don’t know which one are up to date. Try to get a book about shaders and read it (The Orange book is a good one, I think), I think it’s better then tutorials.

Orange book (amazon):
http://www.amazon.com/OpenGL-Shading-Lan…4233&sr=8-1

If your running in non backwards compatible mode, you do have to use shaders to be able to draw polygons and get something rendered.
You also have to create the rotation/translation matrices yourself.

Go here for a tutorial on how openGL3.x works

The official GL wiki as good up-to-date material :

OpenGL 3.1 first triangle win32

OpenGL 3.2 context with cross-platform SDL

Do I have to use shader for rotation, translation and scaling objects? I never used shader before…

Define “have to.”

As long as you create a compatibility context (which you get automatically with normal GL context creation), no, you don’t have to.

However, you’re not really going to be able to do much with GL 3.x and above without shaders. At least, nothing that you couldn’t do with GL 2.1.

In short, you don’t need to change your code, but your rendering won’t look better.