|
|
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
Simon de Vet wrote:
>
> I've found tons of great heightmaps for planets, and moons at
> http://bang.lanl.gov/solarsys/eng/homepage.htm
--
# Jed Reynolds, mailto:jed### [at] surfsoftcom http://www.surfsoft.com/~jed
# "...I've seen the old geeks talk to the young geeks, and they speak
# the same language. There's no age gap or anything." --Steve Wozniak
Post a reply to this message
Attachments:
Download 'us-ascii' (177 KB)
|
|