POV-Ray : Newsgroups : povray.binaries.images : macro wip Server Time
15 Nov 2024 23:21:30 EST (-0500)
  macro wip (Message 1 to 6 of 6)  
From: B  Gimeno
Subject: macro wip
Date: 8 Feb 2006 15:06:41
Message: <43ea4f51@news.povray.org>
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


 

From: Stefan Viljoen
Subject: Re: macro wip
Date: 9 Feb 2006 00:48:55
Message: <43ead7c7@news.povray.org>
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

From: Thomas de Groot
Subject: Re: macro wip
Date: 9 Feb 2006 03:16:30
Message: <43eafa5e$1@news.povray.org>
Very nice! Shall certainly have a try at this!
(Do I see torus joints in foreground example?)

Thomas


Post a reply to this message

From: B  Gimeno
Subject: Re: macro wip
Date: 9 Feb 2006 13:59:00
Message: <43eb90f4@news.povray.org>

> 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


 

From: Tor Olav Kristensen
Subject: Re: macro wip
Date: 9 Feb 2006 20:14:33
Message: <43ebe8f9$1@news.povray.org>
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

From: B  Gimeno
Subject: Re: macro wip
Date: 10 Feb 2006 14:28:43
Message: <43ece96b@news.povray.org>

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


 

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