Planetside Software Forums

Support => Terragen Support => Topic started by: prasad5787 on February 22, 2010, 09:28:19 AM

Title: terragen xml-color format
Post by: prasad5787 on February 22, 2010, 09:28:19 AM
Hi,

Does any one know how terragen is generating floating values of RGB in xml file on comapring with real RGB values??

If any clues or explination would be great.

many thanks,

Prasad.
Title: Re: terragen xml-color format
Post by: TheBlackHole on February 22, 2010, 10:20:29 AM
It calculates the percentage of 255 each of the RGB values represents and stores it that way. POV-Ray and Celestia do that too, but in reverse.
Title: Re: terragen xml-color format
Post by: Matt on February 22, 2010, 12:13:10 PM
I have replied here:

http://forums.planetside.co.uk/index.php?topic=8957.msg96216#msg96216

Matt
Title: Re: terragen xml-color format
Post by: prasad5787 on February 23, 2010, 04:47:06 AM
thanks both of you guys...

that's quite helpful reply i got from you