On 5/16/05, Dirk Reiners <[EMAIL PROTECTED]> wrote:
> 
>         Hi Terry,
> 
> On Mon, 2005-05-16 at 13:51 -0500, Terry Welsh wrote:
> > Made a little more progress on this problem.  Although I am still
> > stumped.  I'm using Mark Harris's RenderTexture class.  In the
> > RenderTexture initialization, glBindTexture is called with the target
> > GL_TEXTURE_RECTANGLE_NV.  By commenting out chunks of code, I have
> > found that this call causes OpenSG starts throwing out warning
> > messages during the render loop.  No OpenGL error appears in the
> > RenderTexture code, but they do appear later in OpenSG.  Has anyone
> > else run into this?
> >
> > I see that OpenSG doesn't use the GL_TEXTURE_RECTANGLE_NV token at
> > all, so I wouldn't think it would care about any of this.
> 
> have you tried adding glGetError() before you call OpenSG to see whether
> the error happens before OpenSG gets involved? If yes, do you have a
> short example that I could take a look at?

Yes.  I used glGetError to narrow the problem down to a glBindTexture
call in OSGTextureChunk.cpp.  Then I compared values, and that's how I
figured out my texture IDs were conflicting.
> 
> Thanks
> 
>         Dirk
> 
> --
> -- Dirk Reiners               OpenSG Forum             [EMAIL PROTECTED]
> -- The OpenSG Open Source Scenegraph:            http://www.opensg.org
> -- Join the list at    http://lists.sf.net/lists/listinfo/opensg-users
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
> 


-- 
Terry Welsh - mogumbo 'at' gmail.com
www.reallyslick.com  |  www.infiscape.com  |  www.vrsource.org


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&opÿick
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to