Hi,

Thanks very much.
Related to that is the question, which is the simplest way to query
PROGRAM_UNDER_NATIVE_LIMITS_ARB. Currently I have vertex and fragment
programs in chunks and would like to know if it runs in hardware, ideally
while initializing which is done in a static method.

When initializing the window/viewport is already available, although
currently not routed to the initialization method. So something like manual
activation would be needed I guess.
A workaround would be to enable/disable initialization based on the graphics
card string, but how would I know the limits ... I would have thought an ATI
X1900 is very well able to write to result.depth.z in hardware, but it looks
like it is not!

Aloha, Andi



> -----Original Message-----
> From: Carsten Neumann [mailto:carsten_neum...@gmx.net]
> Sent: Mittwoch, 05. Mai 2010 18:02
> To: opensg-users@lists.sourceforge.net
> Subject: Re: [Opensg-users] PointChunk
> 
>       Hello Andreas,
> 
> Andreas Halm wrote:
> > There is a slight problem using PointChunk on ATI cards - it only
> > supports GL_POINT_SPRITE_NV. Although the ids and the whole code are
> the
> > same, I guess it only tests for the NV extension instead of using the
> > ARB one (or testing against OpenGL 2.0).
> 
> unfortunately the extensions are not quite the same, the ARB extension
> does not support:
> glPointParameterf(GL_POINT_SPRITE_R_MODE_NV, Real32(getRMode()));
> 
> So we only set that if additionally the NV extension is available.
> 
> > Same problem with using GL_COORD_REPLACE in the TextureEnvChunk.
> 
> ok, fixed both in r2413.
> 
>       Cheers,
>               Carsten
> 
> -----------------------------------------------------------------------
> -------
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users


------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to