POV-Ray : Newsgroups : povray.general : Doing data-visualization...But HowTo do it ??? : Re: Doing data-visualization...But HowTo do it ??? Server Time
9 Aug 2024 13:19:46 EDT (-0400)
  Re: Doing data-visualization...But HowTo do it ???  
From: Christoph Hormann
Date: 16 Jul 2000 17:36:37
Message: <39722AE6.148CF62@schunter.etc.tu-bs.de>
Jan Walzer wrote:
> 
[...]
> 
> But how can I create a pie-chart ???
> I don't want do do it with simple texturing on a cylinder, using
> a radial gradient, but I want to have all segments of my pie as
> own segments, to move them (later).
> 
[...]


IMO CSG-difference would be the simplest

Example:

difference {
   cylinder { 0*z, 1*z, 10 }
   plane { x, 0 rotate end_angle*z }
   plane { x, 0 rotate start_angle*z inverse }
}

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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