I am trying to renders pictures of a geometry in batch.
However, when I play with the following view.BackLightAzimuth and
view.BackLightElevation, the light on the object does not move.
When I do these commands in the pyhton shell and then renders it works.
This is the part of the script where I set up the picture:
view = GetRenderView()
view.CameraParallelProjection = 1
view.CameraPosition = [1.58, 0, 10]
view.CameraFocalPoint = [1.58, 0, 0]
view.CameraViewUp = [0.0, 1.0, 0.0]
view.CameraParallelScale = 1.66
view.CenterAxesVisibility = 0
view.BackLightAzimuth = 0
view.BackLightElevation = 45
view.Background = [1,1,1]
view.ViewSize = [1700, 900]
Render()
WriteImage("test.png")
Regards,
Joseph David Borġ
http://www.jdborg.com
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview