Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GiD_Project view <option> ?<value>?
To handle view parameters
<option> could be
clip_planes_x|clip_planes_y|clip_planes_z|clip_planes_margin|rotation_vector|rotation_factor|rotation_matrix|rotation_center|perspective_distance|perspective_ortho_near|perspective_ortho_far|perspective_factor|perspective_view|view_mode|render_mode|ligthlight_vector

if <value> is provided then the value is set, else the current values are get

...


GiD_Project view render_mode ?value?
Current render mode (integer)


GiD_Project view ligthlight_vector ?{x y z}?w?}
Light direction in screen space (not in world space): x = horizontal, y = vertical, z = towards the useruser 
If w is missing the is defaulted to 0.0 and the ligth will be directionalThe light is directional, not punctual, and the modulus doesn't matter (it is not necessary to be an unitary vector)

If {x y z} argument is missing it returns the current light direction