woo

Render simulations (3D vs. 2D)

Asked by Michel Van de gaer

In the render view the scene is visualized in 3D, how can one switch to the more sober 2D scene in which you rendered the simulation (see pix).

Question information

Language:
English Edit question
Status:
Solved
For:
woo Edit question
Assignee:
No assignee Edit question
Solved by:
Václav Šmilauer
Solved:
Last query:
Last reply:
Revision history for this message
Best Václav Šmilauer (eudoxos) said :
#1

You can either do that in the OpenGL itself - aligning the view with appropriate axes (pressing Z or z or such -- http://woodem.eu/doc/user/running.html#d-rendering) and setting the orthographic projection (by pressing "t"). If you need the output as you posted at youtube (http://www.youtube.com/watch?v=39lvqHpYZTs), look towards the end of the script where S.engines=... are assigned.

The one doing the proper 2d output is woo.core.PyRunner(...,'ell2plot.plot(...)') which may be commented in your local version. So uncomment it and you should get the output. Beware though that it is rather slow and use it only when you need to.

Revision history for this message
Michel Van de gaer (michelvandegaer) said :
#2

Thanks Václav Šmilauer, that solved my question.