povray output example

29 views
Skip to first unread message

Nicholas Yue

unread,
Aug 29, 2021, 12:32:02 AM8/29/21
to deal.II User Group
Hi,

  I have build two of the steps in deal.ii, step-1 and step-69 to get to know deal.ii

  I read from the doxygen generated document that there is povray output.

  Is there example that illustrate a call to that functionality.

Cheers

Wolfgang Bangerth

unread,
Aug 30, 2021, 4:09:03 PM8/30/21
to dea...@googlegroups.com
Ha, that's an interesting question. It would not greatly surprise me if
I am the only one who has ever used this functionality, and it's been
more than 20 years since I used it last :-)

I don't think there is any other example than those that are in the
tests/ directory, none of which seem to go beyond calling
DataOut::write_povray() instead of write_vtk() or whatever else the
tutorial programs use. Just change the call in one of your favorite
tutorial programs and see what you get and how that could be put through
povray.

It would be interesting to get feedback -- maybe we could improve the
documentation if you'd be interested in this!

Best
Wolfgang

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Nicholas Yue

unread,
Aug 30, 2021, 4:38:46 PM8/30/21
to dea...@googlegroups.com
Thank you Wolfgang,

I will take a look at the test directory for information.

In the example ./data_out/data_out_base.cc

There is a condition that POVRAY is only exported for 2D, why ?

POVRAY renders 3D geometries right ?

Cheers

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/53465fd6-d067-743f-5a01-9268ea678948%40colostate.edu.


--

Wolfgang Bangerth

unread,
Aug 30, 2021, 5:43:25 PM8/30/21
to dea...@googlegroups.com
On 8/30/21 2:38 PM, Nicholas Yue wrote:
>
> I will take a look at the test directory for information.
>
> In the example ./data_out/data_out_base.cc
>
> There is a condition that POVRAY is only exported for 2D, why ?
>
> POVRAY renders 3D geometries right ?

POVRAY renders 3d geometries, an example of which would be the solution
of a 2d PDE extruded into the third dimension. I suspect one could
render the solution of a 3d PDE by using smoke/fog shaders, for example,
but that isn't implemented in deal.II (yet).

Best
W.
Reply all
Reply to author
Forward
0 new messages