[EMAIL PROTECTED] wrote:

> second, I want to render single or several (4 - 8) values which represnt some 
> calculation. So I use render to texture. The texture is 1D and to render to 
> it I use orthographic projection, and the viewport fits to the texture 
> dimension. The geometry I render is points. One point per calculation, and 
> each point should result as one pixel. Is this the right way? I has to set 
> the point size to 1.5 to see anything, any ideas why?

It sounds like you need to offset your point centres by 0.5 I don't have the
spec in front of me, but I think you've got to shift it in the positive
direction on both axes, but you may have to play with the signs until it works 
:)

-J



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to