Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue Nov 21, 2017 6:16 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: OpenGL Controls [Open Source]
PostPosted: Fri May 29, 2009 10:12 am 
Offline

Joined: Fri Sep 30, 2005 8:39 pm
Posts: 364
Location: Arlington, TX
The controls don't support lighting, and I don't think I will be adding that feature to them. I did start working on the light sources for the engine itself however :)

_________________
Open Source OpenGL Classes:
Camera (1.1), Light (1.0), Texture (1.2), Font (1.2), Mesh (1.7), Models (1.0)


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL Controls [Open Source]
PostPosted: Sun Sep 20, 2009 8:02 pm 
Offline

Joined: Tue Jan 16, 2007 9:37 pm
Posts: 17
Hey, I'm having trouble downloading this. When I click on the download link it fails to connect to the server and initiate the download.


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL Controls [Open Source]
PostPosted: Sun Jan 31, 2010 5:04 am 
Offline

Joined: Thu Apr 02, 2009 11:34 am
Posts: 15
Location: Earth
Hi all,

I'm curious to know, what's the status on this project? Any updates?

Thank and regards.

_________________
Eric Hoaglin
GryphonClaw Software
Come Join the REALbasic IRC Channel on Freenode


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL Controls [Open Source]
PostPosted: Sun Jan 31, 2010 1:44 pm 
Offline

Joined: Fri Sep 30, 2005 8:39 pm
Posts: 364
Location: Arlington, TX
I haven't got a chance to work on it much lately, I've been pretty busy with my real job, maybe in a while i can get some free time to work on this again :)

_________________
Open Source OpenGL Classes:
Camera (1.1), Light (1.0), Texture (1.2), Font (1.2), Mesh (1.7), Models (1.0)


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL Controls [Open Source]
PostPosted: Sun Jan 31, 2010 9:41 pm 
Offline

Joined: Thu Apr 02, 2009 11:34 am
Posts: 15
Location: Earth
Hi all,

I just wanted to let everyone know that I ran into a snag with the OpenGLTexture class

In the LoadAsPicture function update the following line (it's near the bottom of the function):
ImageData.Byte( count + 3 ) = mask.Pixel( x, y ).Value * 255

to say:

ImageData.Byte( count + 3 ) = (1.0 - mask.Pixel( x, y ).Value) * 255


The reason is, that in OpenGL 1.0 is fully Opaque and 0.0 is fully transparent,
the reverse of most Alpha mask systems that we are all use to.

And Blake, it'd be awesome if you could update the original :) (and thanks again for all the help you provided on my issue before)

_________________
Eric Hoaglin
GryphonClaw Software
Come Join the REALbasic IRC Channel on Freenode


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL Controls [Open Source]
PostPosted: Sat Mar 20, 2010 1:35 pm 
Offline

Joined: Fri Sep 30, 2005 8:39 pm
Posts: 364
Location: Arlington, TX
ss2cire I just started using the OpenGL Texture with pictures that are made in RB and found the same issue that you had with the inverse mask. I made the necessary changes and will be using the updated class for all future projects, thanks for pointing it out :)

_________________
Open Source OpenGL Classes:
Camera (1.1), Light (1.0), Texture (1.2), Font (1.2), Mesh (1.7), Models (1.0)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group