|
|
I played with the number of points of a sphere_sweep:
had 9 points, reduce to 3, try to render - crash:
--
[...]
#declare raumt=1000;
sphere_sweep {
b_spline
3,
<-150,70,0>,2,
<0,0,0>,2,
<150,70,0>,2
pigment { color 0.5*Red }
normal { gradient x }
translate <0,80,raumt/2>
}
--
2. try: no crash
3. try: crash
and so on...
Even with wrong number of points this should not happen ;-)
system: W2K
Post a reply to this message
|
|
|
|
Le Mon, 01 Sep 2008 15:37:32 -0400, Physiker a modifié des petits morceaux
de l'univers pour nous faire lire :
> I played with the number of points of a sphere_sweep: had 9 points,
> reduce to 3, try to render - crash:
> Even with wrong number of points this should not happen ;-)
>
> system: W2K
Which version ?
On linux (from source code): No problem with Beta 28 (render fine)
Release 3.6.1 (from source code too): Stop with
File: spheresweep.pov Line: 12
File Context (5 lines):
<0,0,0>,2,
<150,70,0>,2
pigment
Parse Error: Attempt to malloc zero size block (File: sphsweep.cpp Line:
1616).
Full code (as tested):
=======================
#include "colors.inc"
#declare raumt=1000;
sphere_sweep {
b_spline
3,
<-150,70,0>,2,
<0,0,0>,2,
<150,70,0>,2
pigment { color 0.5*Red }
normal { gradient x }
translate <0,80,raumt/2>
}
global_settings{max_trace_level 55}
camera {location <0,0,0> look_at <0,80,raumt/2> angle 55}
light_source {<-30, 100, -30> color rgb 1.6}
Post a reply to this message
|
|