www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: jtxx000 on July 08, 2003, 06:33:04 pm

Title: Disable Lighting
Post by: jtxx000 on July 08, 2003, 06:33:04 pm
Can you disable lighting on an object?
Title: Disable Lighting
Post by: EgonOlsen on July 08, 2003, 07:32:09 pm
No. I never thought of this... :oops: But i'll add it. Would it be satisfying to disable influence of the lightsources on an object and to leave ambient light and additional color active in the calculation? The problem with disabling ambient lighting is, that it doesn't work on a per-object base and that it requires a different treatment if the renderer is in OpenGL mode or not.
I've already added this option to 0.91 and you'll get it with the next release. The question remains, if this is enough or if it's needed for your application to disable ambient on a per-object base too. In that case, i'll have to think about the topic once again...please let me know.
Title: Disable Lighting
Post by: jtxx000 on July 08, 2003, 10:44:30 pm
I don't care about ambient.   :)
Title: Disable Lighting
Post by: EgonOlsen on July 16, 2003, 10:00:51 pm
The new version is out and has this option included. Have a look and see, if this is what you need...
Title: Disable Lighting
Post by: jtxx000 on July 25, 2003, 01:21:23 am
Thanks