Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 05-06-2005, 07:28 PM   #1
Nick
Переводчик помаленьку
 
Nick's Avatar

 
Join Date: Dec 2004
Location: Protvino, Russian Federation
Posts: 340
Send a message via ICQ to Nick Send a message via Skype™ to Nick
Default

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..."


Nick is offline                         Send a private message to Nick
Reply With Quote
Old 06-06-2005, 08:16 AM   #2
Data
retired
 
Data's Avatar


 
Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
Default

hmm doesn't rgb simply stand for red green blue ?
__________________
Flowing with the stream of life
Data is offline                         Send a private message to Data
Reply With Quote
Old 06-06-2005, 11:18 AM   #3
Kon-Tiki
[BANNED]

 
Join Date: Sep 2004
Location: Dentergem, Belgium
Posts: 1,811
Default

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.
Kon-Tiki is offline                         Send a private message to Kon-Tiki
Reply With Quote
Old 06-06-2005, 02:53 PM   #4
Nick
Переводчик помаленьку
 
Nick's Avatar

 
Join Date: Dec 2004
Location: Protvino, Russian Federation
Posts: 340
Send a message via ICQ to Nick Send a message via Skype™ to Nick
Default

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..."


Nick is offline                         Send a private message to Nick
Reply With Quote
Old 06-06-2005, 03:36 PM   #5
Data
retired
 
Data's Avatar


 
Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
Default

well alpha components do appear often in opengl.
I would just try some things and see what happends
__________________
Flowing with the stream of life
Data is offline                         Send a private message to Data
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 09:46 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.