|
From: Dair G. <da...@re...> - 2004-04-26 21:00:51
|
James W. Walker wrote: >I think you're right. Apparently Quesa doesn't really have any =20 >provision for specular highlights on transparent material. I found a =20 >hint about how to do it: =20 ><http://www.opengl.org/resources/faq/technical/=20 >transparency.htm#blen0030> Yes, this is the best you can do with a GL renderer I think: just been an oversight that we didn't keep track of that state before (and I think the times it has looked "working" were purely down to stale state being in effect, as Frank said). >You're right. In the code I just checked in, the extra specular=20 >rendering is only done on triangles that were submitted with Phong=20 >rendering (and fill style =3D=3D filled.) I've amended this slightly, so that we keep a separate flag indicating if we ever see a triangle with the flag set (and so only do the second pass if something was flagged as needing it). -dair ___________________________________________________ mailto:dair+refnum.com http://www.refnum.com/ |