Ticket #192 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

29FBOTexture issue

Reported by: bleile Assigned to: tbeer
Priority: trivial Milestone: 1.8 Release
Component: System Version: 1.8
Keywords: Cc:
Completion:

Description

It seems as if my driver doesn't support FBO viewport sizes of non power of 2. When running the tutorial, I get this error in release mode:

WARNING: FBO render post OpenGL Error: (null)! WARNING: 8cd9: framebuffer FRAMEBUFFER_DIMENSIONS

in debug this one:

WARNING: (d:\opensg-dailybuild-net2003\opensg\source\system\state\osglightchunk .cpp,145): light:activate:precheck failed: (null) (0x506) WARNING: (d:\opensg-dailybuild-net2003\opensg\source\system\state\osgtexgenchun k.cpp,343): TexGenChunk::deactivate precheck failed: (null) (0x506) WARNING: 8cd9: framebuffer FRAMEBUFFER_DIMENSIONS

This can be easily fixed by assigning the value 16 istead of 15 to the variable "flagWidth".

Change History

(follow-up: ↓ 2 ) 06/22/07 13:29:37 changed by dirk

Does your system support GL_ARB_texture_non_power_of_two? If not, that might be the problem, but there is not really anything we can do about it.

(in reply to: ↑ 1 ) 06/23/07 05:52:49 changed by bleile

Replying to dirk:

Does your system support GL_ARB_texture_non_power_of_two? If not, that might be the problem, but there is not really anything we can do about it.

Don't know, probably not (can't verify right now), but by modifying the var to 16, you'll get more machines where the demo is working. I think it's worth it. The video board is a not so uncommon Quadro FX 3000.

06/25/07 04:49:59 changed by tbeer

  • owner changed from unassigned to tbeer.
  • status changed from new to assigned.

06/25/07 04:51:38 changed by tbeer

  • status changed from assigned to closed.
  • resolution set to fixed.

I changed the value to 16.0 so that it should work for more cards now.