On Nov 13, 2008, at 8:32 AM, Harold Hausman wrote:

> Hi Jon,
>
> That color is being picked in the shader, specifically this line:
> http://paste.factorcode.org/paste?id=139
>
> It's doing reasonably 'clever' things, so take a deep breath before  
> you dive in.

You're right, Harold, the code there is pretty opaque. If you guys  
pull git://repo.or.cz/factor/jcg.git , I made that shader code a  
little more readable and changed the checker size and colors to be  
uniform parameters, so they can be changed from the factor code. The  
new code looks like this:

http://paste.factorcode.org/paste?id=139#80

I hope that makes it more apparent what's going on.

-Joe

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to