POV-Ray : Newsgroups : povray.newusers : Extrude along a path Server Time
4 Nov 2024 21:26:06 EST (-0500)
  Extrude along a path (Message 1 to 2 of 2)  
From: Summit Group
Subject: Extrude along a path
Date: 18 Oct 2004 11:55:00
Message: <web.4173e57ca463b876a9326b250@news.povray.org>
__
 /  \
 |  |    <---------- I can draw this in 2D in povray
 \__/

I want to make a giant U out of this cross-section. I've searched the povray
documentation and I can't seem to find anything that would do this.


Thanks,

Ron.


Post a reply to this message

From: Florian Brucker
Subject: Re: Extrude along a path
Date: 18 Oct 2004 12:35:40
Message: <4173f0dc@news.povray.org>
If you're shape is formed like a prism (i.e. you can define it using a 
spline), you can use the method described in Mike's Isosurface-Tutorial 
at http://www.econym.demon.co.uk/isotut/splines.htm

If you're shape is not all too complicated, you could try to model it 
using CSG instead. This works pretty good and will render faster than 
the isosurface-method mentioned above.

HTH,
Florian
-- 
camera{look_at-y*10location<8,-3,-8>*10}#local a=0;#while(a<999)sphere{
#local _=.01*a-4.99;#local p=a*.01-5;#local c=.01*a-4.995;<sin(p*pi)*5p
*10pow(p,5)*.01>sin(c*c*c*.1)+1pigment{rgb 3}}#local a=a+1;#end
/******** http://www.torfbold.com ******** http://www.imp.org ********/


Post a reply to this message

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