On 11 Oct 2002 18:15:08 +0200 Michel Dänzer <[EMAIL PROTECTED]> wrote:
> > I was looking into the lighting issues Felix reported with the > xscreensaver pulsar hack (when running it with the -light option). One > side of the planes looks good, the other one is black, so I thought it > might be related to two-sided primitives. > > Indeed, the hardware TCL code has a fallback for this if the material is > different on both sides. If I hardcode that to always trigger (in > check_twoside_fallback() in radeon_state.c), pulsar looks good with > lighting. > > So I thought I'd see if this was related to some lighting oddities in > bzflag, and I made another interesting discovery: with this fallback, it > locks up the chip when connecting to a server, like I reported before > for software TCL. > > In summary, there seem to be multiple problems related to two-sided > lighting in the radeon driver, both with hardware and software TCL. I'll > keep looking into them, but I hope this information will help someone > else find them more quickly. One observation which confused me was that it looked good if I set the alpha channel of global ambient to something other than 1.0 (or was it 0.0?) I havn't made any progress on this one. I wanted to learn more about OpenGL first and was reading Mesa code, too. And I got distracted by other problems :-| I was hoping that the transition to Mesa 4.1 may fix some of the lighting problems (tell me, if my hope is in vain.) So I won't spend too much effort now. I'll see if I can track down that gcc-3.2 wire-box issue during the weekend. Anyway, I'm amazed how quickly the work on the new branches (mesa-4-1, texmem) is proceeding. Great work! (didn't test myself yet, though ;) Cheers, Felix __\|/__ ___ ___ ___ __Tschüß_______\_6 6_/___/__ \___/__ \___/___\___You can do anything,___ _____Felix_______\Ä/\ \_____\ \_____\ \______U___just not everything____ [EMAIL PROTECTED] >o<__/ \___/ \___/ at the same time! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel