Jump to content

  • Log In with Google      Sign In   
  • Create Account

B_old

Member Since 06 Sep 2002
Offline Last Active Yesterday, 09:07 AM

Posts I've Made

In Topic: Decouple simulation and rendering: Interpolate particles

04 June 2014 - 01:28 AM

I see. Thanks for the input!


In Topic: OpenGL 4.4 render to SNORM

31 May 2014 - 04:53 AM

Yes, it returned GL_FRAMEBUFFER_COMPLETE.

 

Maybe the easiest thing is to render to UNORM and map [-1, 1] to [0, 1] in the shader. Not really a big deal, but I wanted to find out what the problem is.


In Topic: OpenGL 4.4 render to SNORM

30 May 2014 - 05:41 AM

Yes, I'm checking for completeness. The behavior I get is completely identical to just using a UNORM target, so it seems to be silently converting to that. I also don't get any debug output from OpenGL.

 

This is with a GeForce GTX 570, driver 331.38 on Ubuntu.

 

Do you have experience with rendering to this format?


In Topic: OpenGL 4.4 render to SNORM

29 May 2014 - 10:15 AM

I don't know. It says:

 

We are silent about requiring R, RG, RBA and RGBA rendering. This is an implementation choice.

 

As the hardware seems to perfectly capable of rendering to SNORM I expect that it is implemented for all drivers.

Has someone here successfully rendered to SNORM with OpenGL?

 

EDIT:

 

This OpenGL 4.4 core spec document also does not mark the SNORM formats as something that must be supported for a color target. Maybe it is really not supported to render to SNORM. Can anybody confirm this?


In Topic: Registering an uninstanciable reference type: Identifier 'XXX' is not...

26 May 2014 - 04:03 PM

Oh, namespace was indeed a problem. Sorry. The default namespace was set to "scene", but writing scene::Scene in the script did not change the error message. As a test I changed the namespace to "", after which I get "There is no copy operator for the type 'Scene' available."


PARTNERS