Subject:
|
Re: Question about DAT rendering
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Tue, 16 Apr 2002 16:27:47 GMT
|
Viewed:
|
414 times
|
| |
| |
On Tuesday, April 16, 2002, at 06:17 AM, Don Heyse wrote:
>
> I'm curious, do you have any numbers on how much slower it is on
> accelerated hardware to do two sided lighting with GL_FRONT_AND_BACK?
>
> glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);
> glEnable(GL_COLOR_MATERIAL);
> glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE);
> glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, full_mat);
> ...
Well, on the Mac at least, the only hardware at the moment that supports
two sided lighting are the GeForce3, GeForce4 and the new Radeon 8500.
Everything else is going to use software T&L.
My take on getting the shading to look right has been to work towards
getting the whole part database into BFC compliance. Once that's done
everything becomes much much easier. Not that this isn't a monumental
task, but I think with the right tools it seems like it's a doable
process.
The next thing I'm planning on implementing is a parts browser that can
track the BFC status of every part and primitive in the whole database
so I can quickly see what still needs work. ;)
-Ken
Kenneth Dyke, kcd@jumpgate.com (personal), kdyke@apple.com (work)
Sr. Mad Scientist, MacOS X OpenGL Group, Apple Computer, Inc.
C++ is to C as Lung Cancer is to Lung
|
|
Message is in Reply To:
| | Re: Question about DAT rendering
|
| (...) Hey, I happen to *like* my default shading settings. ;-) I agree with you on the speed issue though... (...) I'm curious, do you have any numbers on how much slower it is on accelerated hardware to do two sided lighting with GL_FRONT_AND_BACK? (...) (23 years ago, 16-Apr-02, to lugnet.cad.dev)
|
8 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|