POV-Ray : Newsgroups : povray.general : curved prism object : Re: curved prism object Server Time
29 Jul 2024 20:23:53 EDT (-0400)
  Re: curved prism object  
From: optima
Date: 18 Aug 2010 17:20:01
Message: <web.4c6c4df3e055a0286556a6ea0@news.povray.org>
Alain, I like your sample it seems like the answer I'm looking for but I am
still short of fully grasping spline_beziers.

Can you show your prism sample on this jpg picture

http://www.kitchendesigned.com/public_download/bezier_sample.jpg

I need to see which parameters correspond to which sides of cabinet, I need to
see them visually on the  bezier_sample.jpg, then I can fully understand it.
If you could just replace prism arguments with S1_x, ... etc.  And show on the
picture which side is which, I would be grateful. jes### [at] yahoocom
My project is really stuck on this bezier issue.

#declare S1_x = 0;
#declare S1_y = 0;

#declare S2_x = 0;
#declare S2_y = 0;

#declare S3_x = 0;
#declare S3_y = 0;

#declare S4_x = 0;
#declare S4_y = 0;

#declare S5_x = 0;
#declare S5_y = 0;



prism{bezier_spline 0,0.1, 20
<S1_x,S1_y>,<0,1>,<0,3>,<0,4>, // straight
<0,4><1,4><3,4><4,4> // straight
<4,4><4,3.5><4,3.5><4,3> // straight
<4,3>,<3.0,0.95>,<0.9,3.5>,<1,0>, // curve
<1,0>,<0,0>,<1,0>,<0,0>  // straight
pigment{rgb 1}
}


Post a reply to this message

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