AnsweredAssumed Answered

Webscene weak/slow performance

Question asked by p.soares@eusc.europa.eu on Aug 2, 2016
Latest reply on Dec 2, 2016 by p.soares@eusc.europa.eu

Hello Hello,

I have more than 1700 objects that use the rule bellow... and the the performance of the resulting webscene has been reduced drastically with the inclusion of those.

I have seen webscenes of cities with much more objects than I have. and those are working very well.

How can I improve the performance of the webscene?

 

cheers

Pedro

 

The rule:

 

attr containerHeight = 2.6 

 

@StartRule 

Lot --> 

  extrude(floor(rand(1,5))*containerHeight) 

  print("Height: " +scope.sy +"\nContainers: " +scope.sy/containerHeight +"\n---") #print for control 

  split(y){containerHeight: ColorContainer}* #optional split 

 

ColorContainer --> 

  color(rand,rand,rand) 

Outcomes