On Fri, 11 Oct 2002 18:00:18 +0100 Keith Whitwell <[EMAIL PROTECTED]> wrote:
> Felix Kühling wrote: > > 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. > > > I think this is effectively the same as setting 'R200_NO_TCL=t'. > > >>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?) > > Which makes me wonder if it's a codegen/vtxfmt problem -- what happens with > R200_NO_VTXFMT=t ? Neither RADEON_NO_VTXFMT nor RADEON_NO_CODEGEN make any difference. 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