illumination with more than 8 lights

New Message Reply Date view Thread view Subject view Author view

Hellward Broszio (BZ++at++AITEC.de)
Fri, 30 Jun 1995 11:40:06 GMT+1


Hi,

I want to illuminate my scene with more than 8 lights. I achieve this
by attaching lights to specified parts of the scene with pre and post
traversal callbacks (pfNodeTravFuncs() for the draw traversal).

pre callback: switch on up to 8 lights with pfLightOn()
post callback: switch off these lights with pfLightOff()

This works well, but the frame rate drops. I think the
bottelneck will be the node-callback of the draw traversal. Is there
another way to attach more than 8 lights to the scene, at which the
lights only have to illuminate parts of the geometry.

Thanks in advance

H. Broszio
BZ++at++aitec.de


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:37 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.