|
|
> I'd like to have a "semiorthographic" camera, i.e. one that is horizontally
> orthographic but vertically perspective. This is similar to cylindrical
> projection, type 4 ("horizontal cylinder, viewpoint moves along the
> cylinder's axis") except that is shouldn't be projected onto a cylinder but
> onto a plane.
>
> Does anyone have an idea how to achieve this?
Another idea, without patches:
Start with a cylindrical type 4 camera.
Surround it with a cylinder of small radius (but not too small, rays
from the camera should be able to reach the cylinder).
Make the cylinder transparent, but give it an ior.
Then adjust the gradient such that the rays go off in the direction
you want them to.
This is not an exact solution, only an approximating one. The camera
rays _after_ refraction do not start exactly at the cylinder's axis.
But if the radius is small enough, the difference is also. Maybe you
can remedy exactness with a second cylinder.
--
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{rgbt 1}interior{media{emission x}}hollow}// Mark Weyer
Post a reply to this message
|
|