some OpenGL questions

A place for Ogre users to discuss non-Ogre subjects with friends from the community.
mamairaja
Halfling
Posts: 60
Joined: Fri Dec 25, 2009 3:31 pm

some OpenGL questions

Post by mamairaja »

Hi
I have several questions about opengl. I am noob for opengl.

If I want to make a opengl application why I should have to use glut or freeglut? why could not use peo opengl?

what is the link between ogre3d and opengl? (ogre3d opengl rendere)

As I have heard opengl 4 is released. So can't i use it as a sdk?

I am totally in dark :?
iWillSpeak
Kobold
Posts: 27
Joined: Thu Dec 10, 2009 4:51 pm

Re: some OpenGL questions

Post by iWillSpeak »

Ogre is a rendering engine that can use a variety of renderes rather than an OpenGL implementation such as Mesa. Ogre abstracts away from the actual renderer and it's API to provide a more high-level graphics environment.
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 538

Re: some OpenGL questions

Post by Kojack »

Opengl is a very low level library. It does just 3d rendering, there's very little else in there. In order to do anything useful, you will need to write a lot of extra code, or use a library which does it for you.

Glut is an opengl helper library which provides window handling and some input, making it easier to write simple apps. The glut homepage says it's only suitable for small to medium opengl apps.

Ogre is a medium level rendering engine with a massive amount of functionality that opengl doesn't have, such as:
- skeleton and morph animation
- multiple texture formats
- 3d model format
- resource system
- logging system
- tons of maths functions
- scene management
- exporters for popular 3d software
- particle systems
- tons more
Ogre sits on top of opengl (or directx or opengles) and provides all the code you would have needed to write yourself.

For example, if you want an animated character on screen, in pure opengl you'd have to write the animation code yourself, while in ogre it's already done for you.
mamairaja
Halfling
Posts: 60
Joined: Fri Dec 25, 2009 3:31 pm

Re: some OpenGL questions

Post by mamairaja »

Thanks for replying.
And good explanation