On Thu, 2004-08-26 at 12:26, Andreas Zieringer wrote:
> 
> Hi,
> 
> I wrote a extra ParameterChunk for GLSL with my test scene (500 cubes) I 
> got a nice speed improvement.
> 
> 500 SHLChunks                                 : 32 fps
> 1 SHLChunk and 500 ParameterChunks    : 71 fps
> 1 SHLChunk                            : 85 fps

What Andreas is trying to tell you here (without saying it), is that now
might be a good time to think about switching to GLSL. ;)

In general I prefer GLSL over CG. For political reasons, but also
because it's better supported on multiple platforms (like ATI) than CG.
Yes, you can get to ARB_vp and ARB_fp from CG, but at that level you
need very different programs to get good performance for nVidia and ATI.
Give the high-level description to the compiler, and it will do the
optimization in the best way for the chip in question.

Just my .02$

        Dirk
  



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to