Hi Josef,
Hi,
I'm a new member of this list: hi everybody!
I'm working on an HDR shader program and need to acces textures in
Vertex Shader. I saw here
(http://download.nvidia.com/developer/Papers/2004/Vertex_Textures/Vertex_Textures.pdf)
that it is possible with Nvidia Extension NV_vertex_program3 available
since GeForce 6xxx.
Since I must use this Shader in OpenSG I would like to know if it will
work loading it.
just looked into the pdf if I'm not wrong this should work. Adding the
line "OPTION NV_vertex_program3;" to the vertex shader should do the trick.
Another question is: to be able to use this extension, texture has to
be bound using the standard texture calls (GL_TEXTURE_2D) but
currently only the
GL_LUMINANCE_FLOAT32_ATI and GL_RGBA_FLOAT32_ATI formats are
supported for vertex textures. Is it possible to use this format in OpenSG?
You can change the internal format of a texture with
textureChunk->setInternalFormat(GL_LUMINANCE_FLOAT32_ATI);
Andreas
Did anybody already use this extension?
--
Josef Grunig
www.blending-life.org
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users