Scrolling and OpenGL

Started by
2 comments, last by Bagpuss 22 years, 8 months ago
Can someone point me to a tutorial involving Scrolling and OpenGL ? I am trying to write a simple Tiling engine / demo so if someone has a basic project that does it, or can point me to a turorial (or even give me some help in writing my routines from scratch I would appreciate it. Currently Using MS Vis C++ as my compiler. Thanks
Advertisement
Check in the articles section under OpenGL here. There is an article on OpenGL tiling, and it is written very clearly. As for scrolling, just implement some keyboard control, and use glTranslatef to move around.

Hope this helps,

Voodoo Bluesman
Ooops. Should have made myself clearer !
I understand those concepts, Iwas more after the bones of interfacing that code to the MS MDI model, or is there a better way to go. My Base window is a CScroll class, but it is catching the scroll commands and interpreting them / converting them to OpenGL commands.
If there is a better way of achieving this (ie drawing my own scroll bars, please tell me.


Regards,

Bagpuss
If you want to write a 2D tile based game, take a look at MAPPY. It is a generic 2D/isometric level editor, very very usefull!

Ii includes source codes for rendering tiles with SDL or OpenGL!

MAPPY site: http://www.geocities.com/SiliconValley/Vista/7336/robmpy.htm

This topic is closed to new replies.

Advertisement