Hi
I was trying to use openGL commands with OpenSG.
I used the OpenSG tutorial “HelloWorld” and added the OpenGL commads in
the display funktion (see below). I don’t get the teapot shown in the
window, only the OpenSG scene. What is wrong with my function calls?
I’ve read about the “OpenGL Objects & Extension Handling”. Is this the
only way to get OpenGL run within OpenSG. Are there any examples how to
integrate OpenGL commands in OpenSG.
I know, it’s easier to get the teapot shown with OpenSG.
Rainer
void display(void)
{
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glTranslatef(0,0,0);
glutSolidTeapot(5);
mgr->redraw(); // openSG SimpleSceneManager
}
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users