Archive: *bump*bump*bump*


10th December 2003 05:30 UTC

*bump*bump*bump*
It'll be great to make Trans / BUMP color-coded. I mean, now all values are multiplied/added by the same amount. That's not correct! Of cource I can put a whole bunch of buffer stuff and make bump change color, but - WHY SLOW DOWN? Isn't it easier to add a color selector on top and red, green, blue variables in the code? :p

Ok, I hope you got it, sorry if someone posted simular stuff, I searched and didn't find anything simular.


11th December 2003 05:45 UTC

?

how would you color code it?

by the intensity of the contour?

The bump mapping works but creating a z-map which corresponds to the intensity of the combined color channels in each pixel. Then it shines light upon the resulting contours and shades the original image with light or dark, depending on how the contour map obscures and reflects the light projected onto it.

This algorithm isnt calculated by the script though, all the script does is say where the light source is, and how 'intense' the masking is.

There is no per pixel availability in the script. So, what colors did you want to change??


12th December 2003 00:46 UTC

What I mean, is: there are 3 render modes in bump, just like in UTone. So what I want is to cahange values added/multiplied to the coutour. And in the script change this values per frame. Approxomate example of what I want is attached ;)

P.S.
@ hungryskull (post below): yes, but I want speed and simplicity (did I spell that right?)


12th December 2003 01:54 UTC

Seems possible. But you can do it with buffers and alpha blending.


13th December 2003 10:22 UTC

And the color modifier allows these actions as well. (and some playing around with colormap might even do the trick.)