|
|
When I try to use trace to place a tower from one of my include files
onto a heightfield island, I don't see the tower. I put the tower onto
a plane representing water and It looked big enough to see over any part
of the island that might block it from view. Am I using trace right?
There is a picture in p.b.i.
Brendan
#declare xtrans = 500; //where the tower goes
#declare ztrans = 0;
#declare Start = <xtrans,10000,ztrans>; //trace to find y value for
tower
#declare Inter =
trace ( Island, Start, <xtrans,-10000,ztrans>);
object { tower translate <xtrans,0,ztrans>+Inter*y } //put tower there
cylinder { 0,<0,1000,0>,1 pigment { color rgb <0,0,1> } translate
<xtrans,0,ztrans> } //shows where tower is
camera { location <1500,800,-917> look_at Inter/*+xtrans*x+ztrans*z*/ }
//camera { location <xtrans,10000,ztrans> look_at <xtrans,0,ztrans> }
//camera { location <xtrans,400,ztrans> look_at
<xtrans,0,ztrans>+Inter*y translate <0,0,10> }
Post a reply to this message
|
|