POV-Ray : Newsgroups : povray.binaries.images : Torus segment with rounded ends (for a pie chart) Server Time
1 Aug 2024 12:24:46 EDT (-0400)
  Torus segment with rounded ends (for a pie chart) (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Alain
Subject: Re: Torus segment with rounded ends (for a pie chart)
Date: 30 Sep 2008 15:23:28
Message: <48e27cb0$1@news.povray.org>
Rick Measham nous illumina en ce 2008-09-24 21:07 -->
> 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
> 
> ------------------------------------------------------------------------
> 
You want your torus to have a somewhat eeg shaped section.
Have you considered using a lathe object?
You plot the profil as if it was a prism object, and it get's rotated around the 
Y axix. Much faster than an isosurface, but may be a little slower that a torus.

-- 
Alain
-------------------------------------------------
You know you've been raytracing too long when you're starting to find these 
quotes more unsettling than funny.
     -- Alex McLeod a.k.a. Giant Robot Messiah


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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