Thread: Mel help
View Single Post
# 6 11-03-2005 , 02:53 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
float $xpos;
float $ypos;
float $zpos;

for ($i = 0;$i<20;$i++)
{
$xpos = rand(-10, 10);
$ypos = 0;
$zpos = rand(-10, 10);

cone -p $xpos $ypos $zpos;
}


that's what i'd do. You could make it "clever" by making take the size of the surface into account but I don't have time to write that atm.

user added image
Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB