One issue you have is that "illumination" is several different things
(diffuse, specular, ambient).  How would you want to combine them?

I imagine you could scan your scene for all lights, test if the point is
within the bounds of each light and compute the "illumination".

- John Wright
Starfire Research

Silvère Martin-Michiellot wrote:
>
> Hi,
> (I posted this earlier but noone replied)
> (may be Sun people can add this on their wish list for 1.4/1.5 features)
>
> I would like to retrieve the total illumination at any given point in the
> scene, whether on a vertex or in thin air
>
> something like Branchgroup.getLight(Vector3D);
>
> Does this exist anywhere or can anyone provide me hints on how to do that
> (equations given light sources) ?
> Or may be the Java3D spec can be enhanced ?
>
> Thanks.
> __________________________________________________________________________________________
>
> Silvere Martin-Michiellot builds the Internet future on
> www.digitalbiosphere.com
> __________________________________________________________________________________________
>
> ===========================================================================
> 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".

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

Reply via email to