PrologEpilog.
JavaView shows the Prolog and Epilog Graphics as 2D Graphics inside the 3D room instead of painting on the display window and the wall behind the room, which contains the main model.JavaView Snapshot | Mathematica Snapshot |
JavaView Applet | JavaView Lite Applet |
Prolog and Epilog are options for graphics functions which gives a list of graphics primitives to be rendered before resp. after the main part of the graphics is rendered. | In[1]:=
pe = Graphics3D[Stellate[Dodecahedron[]], Prolog -> {RGBColor[0., 0., 0.], Polygon[{{1., 1.}, {1., 0.}, {0., 1.}}]},
Epilog -> {RGBColor[1., 0., 0.], Thickness[0.02], Line[{{0.6, 0.9}, {0.776, 0.357}, {0.315, 0.693}, {0.885, 0.693}, {0.424, 0.357}, {0.6, 0.9}}]}]; Show[pe] In[2]:= JavaView[pe] |