|
|
Bob Hughes heeft geschreven in bericht <36CC952C.90EB54DE@aol.com>...
>I see someone knows a bit of photography here.
>I hadn't tried the "shear" you mention (does that work? I'll find out),
>in fact I hadn't tried the offset parallel lens -- ie. create lens
>object and translate off center of the camera look_at -- kind of thing
>yet either. Will have to take a look and see how both these methods look
>in POV-Ray. Aside from doing decimal direction perspective before like
>John M. D., I haven't done too much camera play since most times I keep
>to a usual look in a scene anyhow.
>
An example of camera shearing for perpective correction. Put -uv in the
commandline when transforming the camera.
light_source {
<500, 500,-500>
color rgb <1, 1, 1>
}
#declare Shear= transform {
matrix < 1, 0, 0,
0, 1, 0.3333,
0, 0, 1,
0, 0, 0 >
}
camera {
location <0.0, 0.01,-1.5>
look_at <0.0, 0.50, 0.0>
angle 95
// transform Shear
}
plane
y, 0
texture {
pigment {
checker color rgb <1, 1, 1> color rgb <0, 0, 1>
scale 0.25
}
}
}
box {
<-0.5,0,-0.5>,<0.5,1,0.5>
pigment {rgb 1}
}
box {
<-0.5,0,-0.5>,<0.5,1,0.5>
scale 0.5
translate <0.75,0,-0.5>
pigment {rgb 1}
}
--
Met dank aan de muze met het glazen oog.
Post a reply to this message
|
|