[sldev] Running SL on 16-bit color setting

Jason Giglio gigstaggart at gmail.com
Mon Dec 3 16:19:27 PST 2007


Callum Lerwick wrote:
> On Sun, 2007-12-02 at 13:59 -0500, Jason Giglio wrote:
>> Bok-yeon Lee wrote:
>>> So my question is 'Does viewer has any 32-bit color dependent code?'.
>> The picking render probably depends on 32 bit... you may have to rewrite 
>> the picking code to make it work with 16 bit.
> 
> I'm scared to ask, but how does the picking code work? Is it using
> stencils?

It's using several different methods, depending on what kind of picking 
you are doing.  One uses a picking buffer (that yes, would probably 
break on non-32-bit), the other uses a traced ray collision.

My camera patch really cleans up this traced ray collision code so that 
it's accurate, it's being munged all the hell right now in the name of 
second guessing where the user meant to click.

-Jason


More information about the SLDev mailing list