|
|
I was creating some scenes to test my 35mm Camera macros, but when I ran the
autofocus test on a Julia fractal, I got a crash.
OS: Mac OS X 10.5.6
Arch: Intel (Core 2 Duo @ 1.6GHz)
Version: POV-Ray v3.7.0.beta.31 (by Yvo Smellenbergh)
Expected Result: trace() macro returns the interesction point on the
julia_fractal object.
Actual Result: POVRay go boom.
Scene:
#declare camera_location = <5, 1000, -1000>;
#declare look_at_location = <0,120,0>;
light_source { < 5000, 10000, -10000> rgb 1 }
camera {
perspective
location camera_location
look_at look_at_location
angle 20
right x * 1
up y * image_height/image_width
}
#declare obj =
julia_fractal {
<-0.03,0.01,-0.99,-0.025>
quaternion
sqr
max_iteration 8
precision 1000
pigment { rgb 1 }
scale 150 translate y*150 rotate y*-75
}
#declare intersection_normal = <0,0,0>;
#declare intersection_point = trace( obj, camera_location, look_at_location -
camera_location, intersection_normal );
sphere { intersection_point, 10 pigment { rgb <1,0,0> } }
object { obj }
Stack trace:
Thread 6 Crashed:
0 org.megapov.macmegapov 0x0027d965 pov::D_Iteration_Julia(double*,
pov::Fractal const*, double const (&) [3], double*, double**) + 37
1 org.megapov.macmegapov 0x0027bd86
pov::Fractal::All_Intersections(pov::Ray&,
pov::Ref<std::stack<pov::Intersection, std::vector<pov::Intersection,
std::allocator<pov::Intersection> > >,
pov::RefClearDefault<std::stack<pov::Intersection,
std::vector<pov::Intersection, std::allocator<pov::Intersection> > > > >&,
pov::SceneThreadData const*) + 550
2 org.megapov.macmegapov 0x0019a8e6
pov::Find_Intersection(pov::Intersection*, pov::ObjectBase*, pov::Ray&,
pov::SceneThreadData const*) + 294
3 org.megapov.macmegapov 0x00264808 pov::Parser::Parse_Trace(double*)
+ 408
4 org.megapov.macmegapov 0x00260069
pov::Parser::Parse_Num_Factor(double*, int*) + 4041
5 org.megapov.macmegapov 0x002621e2
pov::Parser::Parse_Num_Term(double*, int*) + 34
6 org.megapov.macmegapov 0x00262ff2
pov::Parser::Parse_Rel_Factor(double*, int*) + 34
7 org.megapov.macmegapov 0x0026403a
pov::Parser::Parse_Unknown_Vector(double*, bool, bool*) + 218
8 org.megapov.macmegapov 0x001bb85f pov::Parser::Parse_RValue(int,
int*, void**, pov::Sym_Table_Entry*, bool, bool, bool, bool, int) + 735
9 org.megapov.macmegapov 0x001bcc08 pov::Parser::Parse_Declare(bool,
bool) + 568
10 org.megapov.macmegapov 0x002a3b87 pov::Parser::Parse_Directive(int)
+ 5383
11 org.megapov.macmegapov 0x002a4cdf pov::Parser::Get_Token() + 2287
12 org.megapov.macmegapov 0x001b8348 pov::Parser::Parse_Frame() + 24
13 org.megapov.macmegapov 0x001b8ca4 pov::Parser::Run() + 660
14 org.megapov.macmegapov 0x00276636
pov::Task::TaskThread(boost::function0<void> const&) + 214
15 org.megapov.macmegapov 0x0027704f
boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void,
pov::Task, boost::function0<void> const&>,
boost::_bi::list2<boost::_bi::value<pov::Task*>,
boost::_bi::value<boost::function0<void> > > > >::run() + 95
16 org.megapov.macmegapov 0x002d5ca2 thread_proxy + 130
17 libSystem.B.dylib 0x96284095 _pthread_start + 321
18 libSystem.B.dylib 0x96283f52 thread_start + 34
Cheers,
Edouard.
Post a reply to this message
|
|