POV-Ray : Newsgroups : povray.general : mesh_camera : Re: mesh_camera Server Time
25 Apr 2024 22:27:39 EDT (-0400)
  Re: mesh_camera  
From: William F Pokorny
Date: 27 Oct 2018 11:02:46
Message: <5bd47e16@news.povray.org>
On 10/27/18 7:59 AM, Paul Bourke wrote:
> Looking at the mesh_camera ... LOVE it, my dreams for novel cameras is realised!
> However it seems that creating a mesh for reasonable resolution images is
> problematic, rendering a 2Kx1K image, so the corresponding mesh is also 2Kx1K
> and the parsing takes a long time. Am I missing something? Is there a way to
> interpolate higher resolution images from lower resolution meshes?
> 
> 
See the thread:

http://news.povray.org/povray.general/thread/%3C56d72b90%241%40news.povray.org%3E/

in which I posted some code taking advantage of one of the mesh camera's 
ability to work by mesh row - considerably speeding up parsing at the 
cost of fixed output orientation. Other than that I am not aware of any 
ability to speed things up or to interpolate larger images from smaller 
meshes. My experience with the mesh camera code is limited though so 
perhaps someone knows otherwise.

FYI. If you are running a 3.8 alpha release, you might be interested in 
the user_defined camera which uses functions.

http://wiki.povray.org/content/Reference:Camera#User_defined_projection

It too can be a little slow - in the render phase - compared to hard 
coded cameras. Especially true as the controlling functions get more 
complex. Here I got part way on a method storing doubles in df3 files 
with the thought of implementing simpler look up functions for stored 
vectors for different cameras. Stopped as the functions converting from 
the read df3 to doubles for vector values were themselves kind of slow. 
I thought it unlikely the result would be much faster than functions I 
was using in the user_defined camera. The method might though be faster 
than parsing for large mesh cameras in your aim is to create a bunch of 
complex cameras stored as values/meshes.

You might too check out Le Forgeron (Jérôme's) version of POV-Ray which 
has some additional cameras hard coded. See:

http://wiki.povray.org/content/User:Le_Forgeron

If working with ODS stuff in particular the following howto from the 
wiki related to the thread at top may be of interest:

http://wiki.povray.org/content/HowTo:ODS

Good to see you posting here again! I've certainly used a lot of 
information off your web sites over the years.

Bill P.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.