POV-Ray : Newsgroups : povray.general : Curved prism : Re: Curved prism Server Time
26 Apr 2024 05:35:18 EDT (-0400)
  Re: Curved prism  
From: Le Forgeron
Date: 10 Sep 2019 14:13:06
Message: <5d77e7b2@news.povray.org>
Le 09/09/2019 à 05:11, Kima a écrit :
> I wonder if there is a way to create a curved prim (not the edges, but its
> surface).
> 
> Since prism already has an option of conic_sweep, the same principle may create
> a curvature on its surface.
> 
> In conic_sweep, the size of prism decreases linearly in the y-axis. Instead of a
> linear decrease, can we shrink the prism along the y-axis to form a semi-sphere
> instead of a sharp cone (of conic_sweep)?
> 
> 
Are you expecting something like the attached picture ?
(faked so far, basic idea would use the curvature of a 2D curve to
'emboss' the line connecting two instances of the curve in parallele planes)

Beware of conic prism, it is biased toward the axis at the origin.


Post a reply to this message


Attachments:
Download 'cp.png' (147 KB)

Preview of image 'cp.png'
cp.png


 

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