|
|
From what I see you are making you bump map to
big for the sphere size your using. Try a range between
0 - 1 to start with. Try the following and see if it makes
a difference:
normal {
bump_map {
pgm "surfaces/jbrp.1.pgm"
bump_size 0.5
map_type 1 }
// scale <0,0,0,> // try adding scaling here
}
Also I believe the map_type 2 is cylindrical and not spherical.
Check the docs. The image you provided looks like it should
do something even if it's wrong. When I get off line I'll
take a closer look at it and will let you know if I find anything
that wll work for you.
Please in the future post images like this in one of the
binaries groups. There are several people on this NG that
pay for their internet connection on a time basis and can't
afford to wait for your message to load. One of the Pov Team
members, who frequents this group, points this out regularly.
Ken Tyler
Jed Reynolds wrote:
> Hi Simon and David,
>
> I noticed your thread on planetary renderings, and I'm
> interested in this, too. I have a friends who's writing a
> game and he asked me to render some planets for him.
>
> I was looking through _The Science of Fractal Images_ by
> Pietgen and Saupe, and In the color plates I saw a cosine-offset
> surface generation method used by R.F. Voss. I looked at that
> for a while and realized I could code something like that in
> Perl and make a pgm output file and use that as a bump_map
> on a sphere.
>
> However, when I try to render it, I don't see any bumps
> on the sphere. Do you see anything erroneous about this
> bump map statement?
>
> #declare PLANET=sphere { <0, 0, 0>, 1
>
> normal {
> bump_map {
> pgm "surfaces/jbrp.1.pgm"
> bump_size 10.0
> map_type 2
> }
> }
>
> pigment {
> Gray
> //image_map {
> // pgm "surfaces/jbrp.0.pgm"
> // map_type 1
> // interpolate 2
> //}
> }
> scale 6
> translate <0, 4, 0>
> }
>
> If that is correct, could you suggest anyother reason
> I might not be able to display bumps on the sphere?
>
> Attached is my surface map. Would you mind taking a look
> at it?
>
> Much appreciated
>
> --jed
Post a reply to this message
|
|