Hi Diana,

I am sorry - we simply overlooked your request. osgCompute has been 
continuously updated. The current svn version supports cuda 3.


Diana wrote:
> Hi,
> I try to make some changes to the osgTexDemo example to use 32bit 
> osgCudaTexture2D.
> I changed the source type to GL_FLOAT, and modified the kernel accordingly 
> (float4* instead of uchar4*).
> The resulting values in VBO were precise (32bit precision), but the values in 
> trgTexture still had 8bit precision, like in the original example.
>  
> Am I doing something wrong?
>  
> Thanks a lot, 
> Diana
>  



Did you also set the internal format correctly?

Code:

trgTexture->setInternalFormat( GL_RGBA32F_ARB )




Best regards,
Mick[/code]

------------------------
SVT Group

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30077#30077





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to