Page 1 of 1
Texpage questions
Posted: 10 Apr 2007, 06:47
by Azraiel
1) Is there a limit on the total number of texpages that can be used?
2) Is there a limit on colors inside of a texpage?
Re: Texpage questions
Posted: 10 Apr 2007, 08:36
by Watermelon
Azraiel wrote:
1) Is there a limit on the total number of texpages that can be used?
2) Is there a limit on colors inside of a texpage?
1) 64 pages according to the source
2) 32bit RGBA png
Re: Texpage questions
Posted: 10 Apr 2007, 12:26
by Hatsjoe
Can that number be increased in any way ?
Re: Texpage questions
Posted: 10 Apr 2007, 16:27
by DevUrandom
1. yes
2. Not with PNG images afaik. Something like HDR would be needed instead. And the code to display it. What would probably mean some kind of shaders, since GL colours are limited to 32bit afaik.
Re: Texpage questions
Posted: 10 Apr 2007, 16:55
by Azraiel
32bit colors, thats some multimillion individual colors right?
Re: Texpage questions
Posted: 10 Apr 2007, 17:11
by Watermelon
Azraiel wrote:
32bit colors, thats some multimillion individual colors right?
yes,up to 2^32 combinations...
the 'png' I was referring to is the compression/store format,not the 'features' of png,sorry for the confusion.
Re: Texpage questions
Posted: 10 Apr 2007, 17:19
by Kamaze
Azraiel wrote:
32bit colors, thats some multimillion individual colors right?
Not Really, but 24 Bit. So, 2^24 theoretically colors. (8 bit red / green / blue)
The other 8 bits are for the Alpha channel. (Transparency)
Re: Texpage questions
Posted: 10 Apr 2007, 17:41
by Azraiel
Great thanks.