POV-Ray : Newsgroups : povray.general : bumpmapping problem : bumpmapping problem Server Time
4 Nov 2024 23:19:01 EST (-0500)
  bumpmapping problem  
From: Texel
Date: 30 Aug 2003 13:50:00
Message: <web.3f50e35b88b423b9c6e6d900@news.povray.org>
I have a problem with bumpmapping when my material do not have a diffuse
texture (just color).
How do i have to set the material?

You can download my scene here (56Ko):
http://texel3d.free.fr/bugs/bump_prob.zip

In this scene i display the same object (a sphere) with the same
bumpmapping, but with diffuse texture for the first one (and it works), and
just color for the 2nd (and it doesn't work).

I use this material:

#declare material01 = texture {
pigment { color rgb<0.937255, 0.811765, 0.811765> }
   finish { ambient 0.300000}
   finish { diffuse 0.700000}
   finish { specular  0.200000}
   normal {
      bump_map {
      gif "bump.gif"
      bump_size 50
      interpolate 2
      }
   }
}

Thanks.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.