|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Has povray lens shift camera for architecture? How to do?
Thank you all.
Tony
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
tony schrieb:
> Has povray lens shift camera for architecture? How to do?
It /might/ be possible by choosing the "up" and/or "right" camera
vectors to be nonperpendicular to the "direction" vector. Never tested
it though.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
clipka <ano### [at] anonymousorg> wrote:
> tony schrieb:
> > Has povray lens shift camera for architecture? How to do?
>
> It /might/ be possible by choosing the "up" and/or "right" camera
> vectors to be nonperpendicular to the "direction" vector. Never tested
> it though.
Thanks, clipka.
I am exporting from blender with Blend2Pov. These are the data from the camera
in my scene:
camera { perspective angle 83.125 location <-0.347254,2.04441,-1.44341> right
0.74813*x sky <0,1,1.21856e-007> look_at <-0.347254,2.04441,-0.44341>}
I put in blender a lens shift y: -0.19
Should reflect the data in "up" parameter?
Tony
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
tony schrieb:
> I am exporting from blender with Blend2Pov. These are the data from the camera
> in my scene:
>
> camera { perspective angle 83.125 location <-0.347254,2.04441,-1.44341> right
> 0.74813*x sky <0,1,1.21856e-007> look_at <-0.347254,2.04441,-0.44341>}
>
> I put in blender a lens shift y: -0.19
I don't think lens shift is possible at all when using look_at to orient
the camera, as it will automatically reassign the up, right and
direction vectors.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 9 Sep 2009 13:34:15 EDT, "tony" <nomail@nomail> wrote:
>Has povray lens shift camera for architecture? How to do?
>
>Thank you all.
>
If you look in povray.binaries.scene-files, on 30 May 2008. Doctor John posted
something for someone who wanted a Tilt/Shift lens. The thread is called
"FieldCam for alex".
I hope that this helps.
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Stephen <mcavoysAT@aolDOTcom> wrote:
> On Wed, 9 Sep 2009 13:34:15 EDT, "tony" <nomail@nomail> wrote:
>
> >Has povray lens shift camera for architecture? How to do?
> >
> >Thank you all.
> >
>
> If you look in povray.binaries.scene-files, on 30 May 2008. Doctor John posted
> something for someone who wanted a Tilt/Shift lens. The thread is called
> "FieldCam for alex".
>
> I hope that this helps.
> --
>
> Regards
> Stephen
Scuse me Stephen:
I downloaded the fieldcam.zip archive. Uncompressed the "fieldcam" archive,
without extension. I open it with a text processor and it is illegible. I do
not know to do whith this.
I am on windows.
Tony
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 9 Sep 2009 15:30:12 EDT, "tony" <nomail@nomail> wrote:
>Scuse me Stephen:
>
>I downloaded the fieldcam.zip archive. Uncompressed the "fieldcam" archive,
>without extension. I open it with a text processor and it is illegible. I do
>not know to do whith this.
>
>I am on windows.
Hi Tony,
I've not used the file myself I just remember Doctor John talking about
it one night when we were having a drink.
"FieldCam.zip" and can be opened with winzip. Inside the archive are three
folders one each for Mac, Unix and Windows. In the windows folder you will find
a file called "FieldCam3.inc". This is an include file that should be put in one
of your PovRay library paths.
In your scene you include the line:
#include FieldCam3.inc
This will allow PovRay to access the macro FieldCam()
You will need to read the include file for instructions on how to use it.
BTW just looking at the file, it looks to me that there is a line wrap problem
and some lines have had a cr/lf added. This means that you will need to go
through it and correct this problem before using it.
Doctor John does come by now and again so he might be able to help.
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
You can apply any transform to the camera, including shearing.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 9 Sep 2009 17:18:13 -0400, Warp <war### [at] tagpovrayorg> wrote:
> You can apply any transform to the camera, including shearing.
And how would a new user do that?
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks Stephen:
When decompressing "FieldCam.zip" -> FieldCam, I put the zip extension and
returned to decompress. So are the three folders.
I put FieldCam3.inc in the "include" folder.
To obtain the parameters of lens shift, I exported to yafaray who has
implemented. These are the parameters yafaray:
<camera name="cam">
<aperture fval="0"/>
<bokeh_rotation fval="0"/>
<bokeh_type sval="disk1"/>
<dof_distance fval="0"/>
<focal fval="1.09375"/>
<from x="7.48113" y="-6.50764" z="5.34367"/>
<resx ival="800"/>
<resy ival="600"/>
<to x="6.82627" y="-5.89697" z="4.89842"/>
<type sval="perspective"/>
<up x="7.16376" y="-6.19517" z="6.23901"/>
</camera>
On Povray:
#declare CamPos=<7.48113,5.34367,-6.50764>;
#declare CamLook=<6.82627,4.89842,-5.89697>;
camera {
FieldCam ()
perspective
location CamPos
angle 49.1343
//right 1.33333*x blender parametter
//sky <-0.31737,0.895343,0.312469> blender parametter
up y <7.16376,6.23901,-6.19517>
transform {NoFall}
look_at CamLook
}
I'm trying to render and make error in "up y" (Parse Error: No matching) in
'camera, <found instead.
I'm approaching the process but I do not know what is bad.
Greetings.
Tony
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |