Version: 
Back to list

Algo :: orientFromCamera

Synopsis

   Properly orient all polygons in the same direction, using a specified viewpoint

GUI Dialog

   

Script function

   algo.orientFromCamera(occurrences, cameraPosition, cameraDirection, cameraUp, resolution[, fovX])

Parameters

   occurrences (OccurrenceList) : Occurrences to orient
   cameraPosition (Point3) : Camera position
   cameraDirection (Point3) : Camera direction
   cameraUp (Point3) : Camera up vector
   resolution (Int) : Resolution of the visibility viewer
   fovX (Double[optional] : Horizontal field of view (in degree)