[GEM-dev] removing performance killer

cyrille henry ch at chnry.net
Thu Feb 24 21:35:36 CET 2011



Le 24/02/2011 09:20, IOhannes m zmoelnig a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2011-01-25 16:32, cyrille henry wrote:
>> hello,
>
>>
>> about the 2nd question , i found the performance killer.
>> it's the GL_LIGHT_MODEL_TWO_SIDE option.
>> when disable, performance are as expected.
>>
>
> actually you should be able to simply do something like
> [GEMglLightModeli GL_LIGHT_MODEL_TWO_SIDE GL_FALSE]
> at the beginning of your render-graph, to explicitely turn the
> performance killer off.
> it's a workaround though.
that's what i am doing.
it's working ok, except that I have to change some light in a few patch...
(and to replace all gemwin with an abstraction)

thanks
c

>
> fgasdmr
> IOhannes
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk1mFN0ACgkQkX2Xpv6ydvRLgACcDPemqT1vuoBWO4NegVTx3ASN
> jOwAnjKm/hOOqNfdDoJncudRUvvN4fN5
> =LuHI
> -----END PGP SIGNATURE-----
>
>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev



More information about the GEM-dev mailing list