|
|
You realize that people will recommend an isosufrace to do this, don't you?
Actually, the problem is the disc.
If I take the disc out of the equation I get the heightfield "bounded" by the
torus, which I had to adjust the scale on to make some sense of it, which I
assume is because I have a different image than you do (I used one of my noise
tga files that I'm using in my IRTC entry)
Try this:
#declare o_chairseat=
difference
{
union
{
torus
{
0.5, 0.05
scale < 1.0, 0.5, 1.0>
translate < 0.0, 0.4, 0.0>
}
}
height_field
{
tga "break1.tga"
smooth
translate <-0.5, 0.0,-0.5>
scale < 1.5,-0.1, 1.5>
translate < 0.0, 0.426, 0.0>
}
}
object {o_chairseat pigment { rgb 1 } finish { phong 1 } }
difference {
cylinder
{
< 0.0, 0.425, 0.0>, < 0.0, 0.375, 0.0>, 0.5
}
height_field
{
tga "break1.tga"
smooth
translate <-0.5, 0.0,-0.5>
scale < 1.5,-0.1, 1.5>
translate < 0.0, 0.426, 0.0>
}
pigment { rgb <1,1,0> } }
Josh
Paul Vanukoff wrote:
> Ok, I'm stumped. Anyone know why this doesn't work?
>
> <snip>
>
> My intended effect is to rough up the upper surface of the disc/torus union
> using the heightfield. The gif is nothing special, just some light noise.
> What I get though is the disc/torus union with the height_field kind of
> attached to the top of it. What gives? I can post images to p.b.i if
> requested.
>
> --
> Paul Vanukoff
> van### [at] primenetcom
--
Josh English
eng### [at] spiritonecom
"May your hopes, dreams, and plans not be destroyed by a few zeros."
Post a reply to this message
|
|