Re: questions about JKL/Spec items to CA/Alexei


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by MadMax on January 19, 1998 at 14:39:16:

In Reply to: Re: questions about JKL/Spec items to CA/Alexei posted by Alexei Novikov on January 16, 1998 at 16:15:05:

> > Clear all vertex intensities.
> > For each vertex and light:
> > If vertex is in range of the light
> > If no surface blocks the vertex from the light
> > Calculate the intensity of the light at the distance of the vertex
> > Add it to vertex's intensity

When determining if the a surface blocks the vertex from the light, in your opinion, taking L1 (light) and V1 (vertex) define a vector, and check to see if the vector intersects a polygon in the scene. (for every polygon in the scene). If distance( L1,V1) is less than the closest intersection, it's visible. --Is this the best way?

BTW: I'm new to 3D programming so I'm sorry for the amount of questions.

> > When determining the intensity of the light at the vertex, would you mind
> > disclosing what ratio you use for JED?

> Vertex intensity:=sqr(1-distance/range)*Intensity;

What would you say the hardest part of creating JED has been?

Do you know if anyone (LucasArts, Mattis, CA) has made their UnGob/Gob code for JK available?

In JED, do you perform the UnGob totally in memory (vs creating temp files)?

When the user chooses a MAT for a surface, do you grab the MAT (and the list of available MATs) from JK1.gob on the hard drive or CD?

Whatever you want/care to answer would be very helpful!

Thanks for all your time and help Alex!


Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]