![]() |
#1 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() I read in Red Book about making a tree in such way: you draw a rectangular polygon and then apply on it a texture of a tree. But I looked in some sources of prog where such tree is used, and, as I understood, the main work is did by glTexEnv() and texture image *.rgb. What the hell is this *.rgb? Photoshop refuses to read such format and in Red Book written, that to make billboarding you must have an image with alpha component, so, as I realised, this *.rgb image has one. Am I right and where can I read and/or convert bmp, jpg e.t.c to this rgb?
__________________
"Paladin work is never done..." ![]() |
||
![]() ![]() |
|
![]() |
#2 | ||
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
|
![]() hmm doesn't rgb simply stand for red green blue ?
__________________
Flowing with the stream of life |
||
![]() ![]() |
|
![]() |
#3 | ||
![]() ![]() ![]() Join Date: Sep 2004
Location: Dentergem, Belgium
Posts: 1,811
|
![]() I'd say that *.rgb is your palette, as it uses the wildcard * to check every object's rgb property, which's basically its colours in amounts of red, green and blue. All of the objects' colours put together gets you your palette.
|
||
![]() ![]() |
|
![]() |
#4 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() That's why I asked. I think, that rgb is really Red, Green, Blue, but it looks like, that files with this extension has alpha component in addition.
__________________
"Paladin work is never done..." ![]() |
||
![]() ![]() |
|
![]() |
#5 | ||
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
|
![]() well alpha components do appear often in opengl.
I would just try some things and see what happends
__________________
Flowing with the stream of life |
||
![]() ![]() |
|