Jump to content

  • Log In with Google      Sign In   
  • Create Account

Scrolling and OpenGL


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Bagpuss   Members   -  Reputation: 122

Like
Likes
Like

Posted 30 August 2001 - 12:55 AM

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

Sponsor:

#2 voodoo_bluesman   Members   -  Reputation: 122

Like
Likes
Like

Posted 30 August 2001 - 02:05 PM

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

#3 Bagpuss   Members   -  Reputation: 122

Like
Likes
Like

Posted 30 August 2001 - 09:41 PM

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

#4 bobatefrei   Members   -  Reputation: 122

Like
Likes
Like

Posted 30 August 2001 - 10:08 PM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS