Archive: Can't get colors to match, why?


15th April 2005 22:38 UTC

Can't get colors to match, why?
Hey guys, I recently posted a preset called Particle Burst in the forums the other day asking for feedback and advice.
^..^ was nice enough to respond and suggest that I replace the Superscope/DM combo I had with TexerII. I had never used TexerII before but found it easy to figure out.
After about 5 minutes I had converted my code to be used by TexerII, but I ran into a problem. . . The colors of the particle created by TexerII won't match the colors of my superscope. I made sure the RGB values were the same, but still they won't line up. Odd. . .
Anyways, I attached both the TexerII code and my original code to this post. If someone could take a look and let me know what's wrong I would really appreciate it.
Thanks,
Andy


15th April 2005 23:27 UTC

got through your code figured out what yours problem.
in texer and superscope the colour range is from 0..1;
not 0..255;
so in texer and superscope you have to /255 your colour values.


16th April 2005 00:44 UTC

yeah, that should solve it, for orange use:
red=1; green=0.5; blue=0;

btw: if you want to get the same sharp circle you made with the superscoe, you should use a different image in texer. The texerII effect is able to use any bitmap placed in your avs root folder. Probably you'll find a fitting image by browsing through the list in texerII...

Just don't forget to stick any custom pic with the preset whenever you upload/forward it etc. ;)


16th April 2005 01:05 UTC

For a set of "standard" texer II bitmaps, check the link in my signature :)


16th April 2005 01:24 UTC

oh yes! sorry, i completely forgot about that! They are pretty useful, so i also suggest to get these!


18th April 2005 13:46 UTC

I havent looked at the preset but just a note... if you enable resizing the bitmap gets (bilinearly?) filtered so the colours wont be exactly what you expect.


18th April 2005 22:14 UTC

Thanks a lot guys, I got it all figured out now that I know the color value range. Also, I want to thank ^..^ for introducing me to TexerII and UnCoNeD for creating TexerII. I look forward to playing around with this new toy. . .