On Sun, Aug 03, 2003 at 07:54:16PM -0700, Ian Romanick wrote: > Ville Syrjälä wrote: > > Well at least ATI_envmap_bumpmap should be possible. It's on my todo list > > but I just wanted to get the basic stuff working first. > > Right. That extension is *exactly* the EMBM functionality from DirectX > that the G400 pioneered. The G400, R100, R200, and i830 all implement > this functionality. The only catch (and the reason I haven't > implemented this extension on the ATI cards) is that we need the SW path > in Mesa first. > > Looking at the way texturing works in Mesa, I can't see any way to > implement it without great, GREAT difficulty or using a fragment > program. Brian, would that be your assessment as well?
Argh I didn't realize Mesa wasn't ready for this. Unfortunately my knowledge of Mesa internals is very limited. Hopefully someone else will implement that stuff at some point so I could just do the driver part :) > > But how do I program the alpha input to 1? I think the FCOL register is > > the only way to do that but then CONSTANT + SRC_ALPHA or > > ONE_MINUS_SRC_ALPHA wouldn't work. Maybe I should do it anyway and if > > are needed then do the fallback. It would affect GL_BLEND too... > > In looking at the docs again, I think you are correct. It would require > even MORE special-casing than I thought. Yep. > Maybe we should just compile a > list of classes of modes that require the SW fallback and wait to fix > any of them until someone complains (or offers a patch). :) Right. > Also, doing 'strings /usr/local/games/ThinkTanksDemo/ThinkTanks.bin | > grep GL_' leads me to believe that ThinkTanks might be a useful > texture_env_combine test. I'll have to try it again. I did try it before I added texcombine but it just wouldn't go beyond the starting screen :( I could still kill the Xserver though. Maybe some kind of problem with my SDL or openal. I'll have to let it use the libs that are included with the demo and see if that'll help... -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel