Posted by Alexei Novikov on January 16, 1998 at 16:15:05:
In Reply to: Re: questions about JKL/Spec items to CA/Alexei posted by MadMax on January 15, 1998 at 17:05:04:
> > vertex 0 - 0,0
> > vertex 1 - 64,0
> > vertex 2 - 64,64
> > vertex 3 - 0,64
> > Nothing fancy.
> So in this example is the square surface 64X64 also?
Any surface size, any shape. The texture will get stretched/shrunk/distotred
to cover the surface with exactly one tile. However, to make texture look
"normal", the ratio between distances in U,V and X,Y,Z coordinate systems must
be 320:1 (i.e. - 320 pixels in 1 JK unit).
> Why aren't the number of texture vertices and the number of world vertices the
> same?
The duplicates are removed.
> the intensity of the light and the range of the vertex to the light. The light
> "objects" in JED are specific to JED, meaning that they are not stored in the
> JKL directly. Correct?
Yes.
> 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;
Alex.