Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
9.0 RenderDevice ignores GLight's colors
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Schroeder  
View profile  
 More options Feb 6, 8:47 pm
From: David Schroeder <schroeder.davi...@gmail.com>
Date: Mon, 6 Feb 2012 17:47:48 -0800 (PST)
Local: Mon, Feb 6 2012 8:47 pm
Subject: 9.0 RenderDevice ignores GLight's colors
I'm trying to render a scene with colored lights and am having
troubles getting lighting to show up as anything but white.  I believe
I'm using the fixed function pipeline since I'm trying to avoid
SuperShader for the moment to try to make sure this code works on as
many machines as possible.

It seems like in revision 45 ("merged shadowed and unshadowed lights,
removed tonemap") the calls to glLightfv for the diffuse components of
GLights were commented out.  These calls are on line RenderDevice.cpp:
3074 in svn HEAD.  I don't understand enough of G3D's internals to
know why these changes were made, so any insight that you could offer
would be greatly appreciated.

Cheers!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Morgan McGuire  
View profile  
 More options Feb 6, 9:31 pm
From: Morgan McGuire <mor...@cs.williams.edu>
Date: Mon, 6 Feb 2012 21:31:43 -0500
Local: Mon, Feb 6 2012 9:31 pm
Subject: Re: [G3D] 9.0 RenderDevice ignores GLight's colors
You're right.  I have no idea why those are commented out...it looks
like debugging stuff that was left in.  I just uncommented them (and
removed the IF statements) in my own copy and am testing.  I will
check in if everything seems ok.

Be warned that the fixed function will likely be removed or wrapped in
a slightly different API at some point fairly soon.  It slows G3D down
a little to have to track fixed function state.

-m

Prof. Morgan McGuire
Computer Science Department
Williams College
http://cs.williams.edu/~morgan

On Mon, Feb 6, 2012 at 8:47 PM, David Schroeder


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Corey Taylor  
View profile  
 More options Feb 6, 9:57 pm
From: Corey Taylor <corey.taylor...@gmail.com>
Date: Mon, 6 Feb 2012 21:57:56 -0500
Local: Mon, Feb 6 2012 9:57 pm
Subject: Re: [G3D] 9.0 RenderDevice ignores GLight's colors

On a side note, are you planning on supporting OpenGL 3.3?  If you keep
using G3D 9, it will probably change to a point where the support for your
multiple card configurations deteriorates.

I might actually suggest using G3D 8 for that kind of project.  Of course,
you could simple find a dev release of G3D 9 that does everything you need
and then patch it as needed without upgrading to latest.

corey

On Mon, Feb 6, 2012 at 9:31 PM, Morgan McGuire <mor...@cs.williams.edu>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »