Hi all, I am making an application adding some 3d shapes to a scene and some lights,But when the numbers are large(not too largw may be 70 shape3d and 7 light sources the scene become too heavy)
7 light sources is a lot. AFAIK, on Nvidia card, you get 1 light for free, but after that, every light cost you triangle throughput.
Looking at 3dMark 2001, I get 25M triangles/s with 1 light, and 5M triangles with 8 lights. So, by using 7-8 lights, you are basically cutting your triangle throughput by factor of 5. If your scene is triangle limited, this directly translates to fps.
How big are your shapes (how many triangles) ? What kind of geometry ? In case of so many lights, anything except optimized indexed triangles (preferably in vertex-cache aware strips) is sure way to kill your performance.
Artur
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".