P colors and edges. What are they good for?

  • Thread starter Thread starter Borde
  • Start date Start date
Status
Not open for further replies.
I am not sure, but I suppose that FF7 uses p colors to display models on the world map (?).
As for the edges: I don't think that they are used for anything.

 - Alhexx
 
Why useless? It's not that hard.

You can recalculate the polygon colors by taking the given vertice colors, adding all 3 colors from the polygon together and dividing them by 3. Then you have your poly color. Quite simple algorithm.

The edges can be recalculated, too, by going through all polygons and creating an edge array.

That's the way I handles those two parts in ultima...

 - Alhexx
 
It would be faster to multiply it by 0.3333, if you are doing the calculation a lot.

Wait, make it 0.33334, because all threes won't allow you to get 255.
 
Status
Not open for further replies.
Back
Top