![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Macro to build curved polygons with torus segments
As it takes 1 hr to render with focal blur and 1 area light on my old K-6
400, no radiosity was used on this scene.
Feel free to improve it at your own risk with radiosity/fotons/whatever
features. It would be nice to see.
Source code posted at p.b.s-f.
Comments?
pd.
Requires Francois Dispot's Dof.inc include file or select your render
resolution settings inside camera's statement
... beg apologizes for my english
--
light_source{0,1}#macro C(r,p)cylinder{x*-2,x*2,.9 pigment { rgb
p} /* B Gimeno estoeslarealidad */ rotate p*90 } #end difference
{box {-1,1} C(z /* http://usuarios.lycos.es/game2413 */,x)C(x,y)
C(z,z) pigment{rgb 2} rotate 45 translate z*4} // www.povray.org
"You know you've been raytracing too long when your tag signature is 256
bytes long"
Post a reply to this message
Attachments:
Download 'polyg_curv_01.jpg' (31 KB)
Preview of image 'polyg_curv_01.jpg'
![polyg_curv_01.jpg](/povray.binaries.images/attachment/%3C43ea4f51%40news.povray.org%3E/polyg_curv_01.jpg?ttop=443866&toff=4700&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
B. Gimeno spake:
> Macro to build curved polygons with torus segments
> As it takes 1 hr to render with focal blur and 1 area light on my old K-6
> 400, no radiosity was used on this scene.
> Feel free to improve it at your own risk with radiosity/fotons/whatever
> features. It would be nice to see.
> Source code posted at p.b.s-f.
>
>
> Comments?
Looks good - will definitely go an download the source.
--
Stefan Viljoen
Software Support Technician / Programmer
Polar Design Solutions
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Very nice! Shall certainly have a try at this!
(Do I see torus joints in foreground example?)
Thomas
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Very nice! Shall certainly have a try at this!
thanks!
> (Do I see torus joints in foreground example?)
Dunno, perhaps it's an optical illussion.
--
light_source{0,1}#macro C(r,p)cylinder{x*-2,x*2,.9 pigment { rgb
p} /* B Gimeno estoeslarealidad */ rotate p*90 } #end difference
{box {-1,1} C(z /* http://usuarios.lycos.es/game2413 */,x)C(x,y)
C(z,z) pigment{rgb 2} rotate 45 translate z*4} // www.povray.org
Post a reply to this message
Attachments:
Download 'polyg_curv_BR.jpg' (27 KB)
Preview of image 'polyg_curv_BR.jpg'
![polyg_curv_BR.jpg](/povray.binaries.images/attachment/%3C43eb90f4%40news.povray.org%3E/polyg_curv_BR.jpg?ttop=443866&toff=4700&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
B. Gimeno wrote:
> Macro to build curved polygons with torus segments
...
Nice image with interesting shapes !
Here's an example of a shape that can be made if you expand your macro
to allow for tubes that follow 3D-curves:
http://home.online.no/~t-o-k/POV-Ray_Images/CSG_Tubes.jpg
--
Tor Olav
http://subcube.com
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
news:43ebe8f9$1@news.povray.org...
>
Hi,
IMHO, it would not be easier -and powerful- using sphere_sweep with
cubic_spline interpolation?
pd. damn artifacts!
--
light_source{0,1}#macro C(r,p)cylinder{x*-2,x*2,.9 pigment { rgb
p} /* B Gimeno estoeslarealidad */ rotate p*90 } #end difference
{box {-1,1} C(z /* http://usuarios.lycos.es/game2413 */,x)C(x,y)
C(z,z) pigment{rgb 2} rotate 45 translate z*4} // www.povray.org
Post a reply to this message
Attachments:
Download 'sphere_sweep.jpg' (32 KB)
Preview of image 'sphere_sweep.jpg'
![sphere_sweep.jpg](/povray.binaries.images/attachment/%3C43ece96b%40news.povray.org%3E/sphere_sweep.jpg?ttop=443866&toff=4700&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |