POV-Ray : Newsgroups : povray.advanced-users : sub prisms with bezier splines Server Time
29 Jul 2024 16:24:14 EDT (-0400)
  sub prisms with bezier splines (Message 1 to 3 of 3)  
From: Andreas Zehender
Subject: sub prisms with bezier splines
Date: 11 Feb 2002 17:14:27
Message: <3c684243$1@news.povray.org>
Hi!

Do sub prisms with bezier splines work?
Povray 3.1 seems to ignore all prisms with bezier splines that have sub 
prisms and tells me they are not closed.

Example:

prism {
   bezier_spline
   linear_sweep
   0, 1,
   16,
   <3.5, 0.5>, <3.7, 1.9>, <2.4, 4.1>, <-0.7, 2.4>, // sub 1
   <-0.7, 2.4>, <-1.4, -2.1>, <1.6, -3.8>, <3.5, 0.5>,
   <3, 0.6>, <3.2, 1.7>, <2.2, 3.4>, <-0.3, 2.1>,  // sub 2
   <-0.3, 2.1>, <-0.9, -1.5>, <1.5, -2.9>, <3, 0.6>
   
   pigment {
      color rgb <1, 0.5, 0>
   }
}

-- 
 Andreas Zehender, Dipl. Ing. (BA)
 Student, 9th semester computer science
 http://www.azweb.de
 az### [at] azwebde | zeh### [at] kdeorg


Post a reply to this message

From:
Subject: Re: sub prisms with bezier splines
Date: 12 Feb 2002 03:23:43
Message: <q3kh6ukk4gccpt90r7js84u7k770ujr8pc@4ax.com>
On Mon, 11 Feb 2002 23:22:10 +0100, Andreas Zehender <zeh### [at] kdeorg> wrote:
> Do sub prisms with bezier splines work?
> Povray 3.1 seems to ignore all prisms with bezier splines that have sub 
> prisms and tells me they are not closed.
> Example:

Your example works fine with current (11) beta of POV-Ray 3.5 so I suppose
there is everything ok with your script but perhaps some bug in 3.1 destroy
shape. 

ABX


Post a reply to this message

From: Leroy Whetstone
Subject: Re: sub prisms with bezier splines
Date: 14 Feb 2002 01:32:47
Message: <3C6B7560.715CADAF@joplin.com>
I came across the same problem with 3.1 It is a bug that is fixed in 3.5

--
Have Fun!


Post a reply to this message

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