POV-Ray : Newsgroups : povray.advanced-users : sub prisms with bezier splines : sub prisms with bezier splines Server Time
29 Jul 2024 14:17:07 EDT (-0400)
  sub prisms with bezier splines  
From: Andreas Zehender
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

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