Re: Texture Vertex has "High" flag

Re: Texture Vertex has "High" flag


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

Posted by rgbold on April 01, 2000 at 07:14:23:

In reply to: Texture Vertex has "High" flag posted by BitShifter on March 31, 2000 at 11:34:31:

: In the texture list, the vertices have a High flag, which is set if the X/Y coordinate is "high".

: Does "high" here means nearer the top left corner of the whole texture strip?

Since no other answers, (if I'm wrong you'll get plenty), I've been taking Xlow and Xhigh/Ylow and Yhigh as a "window" into the whole Textile. i.e. for
8 bit textures:

using the base address of Textile8 add (Tile # * 65536) to get the start
address of the tile.
add to this address (Ylow*256) - each 8 bit tile row is 256 bytes long.
add to this address Xlow - this gives you the start of the texture info.
call this address Texture_data_base.

Copy info from Texture_data_base thru Texture_data_base + Xhigh.
then (until you finished thru Yhigh) skip down to next row by
adding 256 to Texture_data_base. Add in Xlow again and copy to Xhigh.

Keep doing this until you've finished the row that Yhigh specifies.

Whew.. I made this seem more than it is, sorry .




Replies:



Reply

Name:

Email:

Subject:

Message:

Optional
Link URL:

Link Title:

Image URL:


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