attr aabbYMax=0 ProxyPointLight -->        /*        Insert a pointlight representation        - using scatter to a only place one asset on the surfaces that are at the top        */        scatter(surface,1,gaussian, top, 0) {  s(0,0,0)  i("assets/proxies/pointLight.obj")  color("#ff0000")  PointLight. // now this just needs to be reported } ProxyTopDetail -->       /*       ProxyTopDetail is a shape that produces a representation of a roof top detail model       such as a tv/radio mast geometry on the top of a building       */ s(0,scaleValue*assetInfo(bldTopDtl,sy),0) i(bldTopDtl) TopDetail.               // work out the top value of the bounding box,        // could be used later if needed for culling.. if needed        // i have a random scale value, within a tolerance for these kind of details set(aabbYMax, (scope.elevation + (scaleValue*assetInfo(bldTopDtl, sy)))) print ("aabbYMax: " + aabbYMax)        //split out only object.top facing faces comp(f) {  //use separated faces as one shape  object.top=   color("#ff0000")   alignScopeToAxes(y)   ProxyPointLight }
case convert(y,scope,object,pos,0,0,0) < 3.5:
PossibleLightPositionShape --> case PythonHelpValue == 0 : Â Â Â report (shapes height in world.) Â Â Â print ("run Python now") Â Â Â NIL case (heightInWorld < PythonHelpValue +delta0.01) && (heightInWorld > PythonHelpValue -delta0.01): Â Â Â PutLight else : Â Â Â NIL
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.