Skip navigation

 

The average height was mapped between 3 and 15 metres. A script was created to calculate the height of 1462 surrounding buildings of the site.

for($x=1; $x<1463; $x++){
$name = “nurbsToPoly” + $x; //se kathe arithmo x antistoixei kai ena poly plane//
select -r $name;
int $g = rand(3, 15); // random noumera ipsous ktiriou apo 1 orofo mexri kai 5//
string $extrude[] = polyExtrudeFacet ($name) ;
setAttr ($extrude[0] + “.localTranslate”) -type double3 0 0 $g;
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s