code-google-com / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

GL_ShapeDrawer #344

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using GL_ShapeDrawer as it in my application

What is the expected output? What do you see instead?
When I render other geometry of my scene texturing should be correct.
It is not because:

There should be:
glDiable(GL_TEXTURE_GEN_S);
glDisable(GL_TEXTURE_GEN_T);
glDisable(GL_TEXTURE_GEN_R);
somewhere in GL_ShapeDrawer to enable transparent integration of
OpenGLSupport in other applications.

One might not use GLDebugFont where those glDisable() are called.

There should be also somewhere:
glMatrixMode(GL_TEXTURE);
glLoadIdentity();
glMatrixMode(GL_MODELVIEW);

in order to balance:

glMatrixMode(GL_TEXTURE);
glLoadIdentity();
glScalef(0.025,0.025,0.025);

What version of the product are you using? On what operating system?
bullet-2.75
Windows

Please provide any additional information below.

Original issue reported on code.google.com by dma...@gmail.com on 19 Feb 2010 at 3:57

GoogleCodeExporter commented 9 years ago
Could you create a patch (or modified version based on the latest svn trunk 
revision) ?

Thanks a lot

Original comment by erwin.coumans on 20 Feb 2010 at 7:24

GoogleCodeExporter commented 9 years ago
The GL_ShapeDrawer indeed requires adjustments before integrating into other 
programs.

Unless someone comes up with a patch, we'll close the issue because no-one will 
have time to do this at the moment.

Original comment by erwin.coumans on 14 Sep 2011 at 2:04