Dark Bit Factory & Gravity
PROGRAMMING => Freebasic => Topic started by: rdc on November 06, 2006
-
Here is my attempt at some bump mapping of Chladni textures.. I don't think I have it quite right, so any suggestions would be welcomed. Move the mouse to change the light position, space to generate a new texture and esc to exit.
-
In fairness it looks really shiny and metallic, it's hard to tell if the bump is working as it should but it looks nice.
Maybe add some much darker areas to your chaldni so that shadows show up better?
-
It looks like you are using diffuse bump mapping - ie only using cos (theta) for the lighting???
If so then do as shockwave suggested, darken the basic surface and then add in lighting due to pow(cos(theta),64) or something.
If that doesnt make sense to you then its not how you are doing it and forget what I said :-)
-
Thanks guys. Actually, I think it looks kinda cool myself (and will keep in my toolbox :)), but I was shooting for a real bump map effect, which I can't seem to achieve.
You're right Taj, I am using COS. I will try your suggestion as see what I get.
Thanks!
-
Nice effect indeed!
-
Thanks, man. Incompetence does have its moments. ;)
I really have to say a big thanks to Taj for pointing this out, and to you and mind for pointing me in the right direction. I find these things fascinating for some reason, and plan to use them in upcoming projects.
-
I finally got the bump map working. I was building my lightmap incorrectly, which is why it turned out all shiny. This version works correctly.
-
Holy crap thats beautiful. Great job. karma up!
-
Thanks!
-
This demands to be animated with the lamp swinging round it :D
Jim
-
Amazing code rdc!! Top notch! (Cleanly done too :) )
-
Thanks guys.
-
Good work + Karma :) Looks much better now.
-
Very nice indeed :)
-
Thanks guys.
-
Yeah very nice work, looks great.
-
Thanks.
-
what everyone else said.. really interesting to see all the different kinds of things you can come up with, all based on a simple formula :)
-
Thanks mind.