POV-Ray : Newsgroups : povray.beta-test : sphere_sweep crashed pov : Re: sphere_sweep crashed pov Server Time
25 Apr 2024 19:43:47 EDT (-0400)
  Re: sphere_sweep crashed pov  
From: Le Forgeron
Date: 4 Sep 2008 15:24:16
Message: <48c035e0$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.