|
|
This object renders fine with a regular camera, but when I switched to
orthographic, it has no shading whatsoever, moving the orthographic camera
very slighly off-center fixes the problem.
Jeff M
using version 3.5 beta, VC++ exe
Apologies if this is a known issue
---------------------------------------------------------------------------
// ROTARY SWITCH
#include "colors.inc"
camera {
orthographic
// location <0, 0.0001, -2> // OK
location <0, 0.000, -2> // RENDERS 'BLACK' !!
look_at <0, 0, 0>
}
light_source { <-15, 15, -4> color White }
prism {
conic_sweep
cubic_spline
1, // sweep the following shape from here ...
0.6, // ... up through here
27, // the number of points making up the shape ...
< 0.965926, 0.258819 >,
< 0.900000, 0.000000 >,
< 0.965926, -0.258819 >,
< 0.866025, -0.500000 >,
< 0.636396, -0.636396 >,
< 0.500000, -0.866025 >,
< 0.258819, -0.965926 >,
< -0.000000, -0.900000 >,
< -0.258819, -0.965926 >,
< -0.500000, -0.866025 >,
< -0.636396, -0.636396 >,
< -0.866025, -0.500000 >,
< -0.965926, -0.258819 >,
< -0.900000, 0.000000 >,
< -0.965926, 0.258819 >,
< -0.866025, 0.500000 >,
< -0.636396, 0.636396 >,
< -0.500000, 0.866025 >,
< -0.258819, 0.965926 >,
< 0.000000, 0.900000 >,
< 0.258819, 0.965926 >,
< 0.500000, 0.866025 >,
< 0.636396, 0.636396 >,
< 0.866025, 0.500000 >,
< 0.965926, 0.258819 >,
< 0.900000, -0.000000 >,
< 0.965926, -0.258819 >
rotate <90,0,0>
pigment { Grey }
}
Post a reply to this message
|
|
|
|
Thorsten Froehlich <tho### [at] trfde> wrote:
> In your scene the camera plane will move into the object when using the
> othographic camera. You need to adjust your scene, this is not a bug in
> POV-Ray.
It would be nice if camera rays started from the plane which passes
through the camera location point (and is parallel to the viewing plane)
instead of starting from the projection plane.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|