|
![](/i/fill.gif) |
Simon Adameit wrote:
>Why don't you do it when you place them?
That is basically what I am trying to do.
The code which places the star is this:
object{star
translate 1*< randomness*(rand(S1)-0.5), randomness*(rand(S1)-0.5),
randomness*(rand(S1)-0.5)>
rotate <(rand(S1)-0.5)*360, (rand(S1)-0.5)*360, (rand(S1)-0.5)*360>
translate <0,0.5,0>
pigment{rgb<1,1,(rand(S1)*0.9)>}
}
If I knew where the star was after all these random transforms, it would be
easy, but I don't. Is there a method of doing something like this:
"translate -1*(this.y/2)" ?
Rohan _e_ii
Post a reply to this message
|
![](/i/fill.gif) |