Re: Range of intensity in TR3 (internal lighting)

Re: Range of intensity in TR3 (internal lighting)


Replies | Reply | Tomb Raider Level Editor & Utility Discussion Forum

Posted by R.Stone on March 05, 2000 at 20:35:40:

In reply to: Range of intensity in TR3 (internal lighting) posted by E.Popov on March 05, 2000 at 17:43:51:

> In TRosetta stone, intensities for internal lighting in TR3 are said to be
> between 0 and 32767, 0 beeing the lowest intensity and 32767 the max. I tried
> with those values, but had bad results. Then I tried with the same values as
> for TR1/2 (0=max, 8192=min), and it worked better. So, is it a mistake in the
> doc, or did I miss something ?

The document is correct. Are you certain you were looking at a TR3 level?
I haven't examined the TR3 demo levels; it's possible that they use the old
TR2-style lighting (although I'd find this rather surprising). The TR3 retail
levels definitely use the range shown in the document.

Note that we're talking about per-vertex lighting here, not point lighting.
Per-vertex lighting can be accomplished in OpenGL by specifying a colour array
in addition to the texture coordinate array; the colours correspond to the
vertices, and the colour values correspond to the lighting values in the
tr2_vertex_room structure.

--R.Stone



Replies:



Reply

Name:

Email:

Subject:

Message:

Optional
Link URL:

Link Title:

Image URL:


Replies | Reply | Tomb Raider Level Editor & Utility Discussion Forum