[GEM-dev] removing performance killer

IOhannes m zmoelnig zmoelnig at iem.at
Thu Feb 24 09:20:45 CET 2011


-----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.

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-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20110224/65673570/attachment.bin>


More information about the GEM-dev mailing list