POV-Ray : Newsgroups : povray.binaries.images : Torus segment with rounded ends (for a pie chart) : Torus segment with rounded ends (for a pie chart) Server Time
4 Nov 2024 15:01:13 EST (-0500)
  Torus segment with rounded ends (for a pie chart)  
From: Rick Measham
Date: 24 Sep 2008 21:07:14
Message: <48dae442@news.povray.org>
Attached is the POV used to create the also attached PNG file.

The aim is to create a library that will output pie charts as torus 
segments. The PNG is almost right where I want it.

Except for the rounding of the torus segments. This is all just 
approximations.

To do it properly, I somehow need to make a torus that is smaller on the 
inside of the large segmented torus.

Does anyone have any other ideas on how to do this nicely?

ALSO: I would love to make this render a hell of a lot faster, if anyone 
has any pointers.

Cheers!
Rick Measham


Post a reply to this message


Attachments:
Download 'pie_torus.png' (1 KB) Download 'us-ascii' (3 KB)

Preview of image 'pie_torus.png'
pie_torus.png

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