POV-Ray : Newsgroups : povray.newusers : How do I... Server Time
29 Jul 2024 02:27:42 EDT (-0400)
  How do I... (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Alain
Subject: Re: How do I...
Date: 26 Jun 2007 20:27:11
Message: <4681aedf@news.povray.org>
sumdumguy nous apporta ses lumieres en ce 2007/06/25 14:12:
> I am looking to create an effect where I have a tube and there is algae
> growing
> off of it. The rough shape is similar to this image:
> http://www.fortunecity.com/greenfield/hawks/191/ChekJawa/chek3.jpg
> That seems to be a real thing so no pov model is available :).
> I am wondering whether there is a tool which generates such things. It is
> not
> quite landscape or tree generator (needs to be semitransparent and no
> branching
> and does not grow on a plane but on a tube, also needs to "wiggle").
> 
> 
How about using sphere_sweeps with a reasonable number of points. Use the 
v_turbulence and v_rotate macros, with a magnitude that start at almost zero and 
slowly increase as you reach the tips, to place each succesive points. Place a 
copy of those points in some arrays that you can read back to check for 
intersections.
By using v_turbulence and restricting the range, you will minimize the 
probability of neiboring tentacles to intersect each other, and elliminate the 
risk of self-intersections.
I realise that this is somewhat advanced, and may be beter placed in the general 
or advanced-users groups.

-- 
Alain
-------------------------------------------------
Black holes suck!


Post a reply to this message

From: Leroy
Subject: Re: How do I...
Date: 26 Jun 2007 23:08:26
Message: <4681D3BC.5020401@joplin.com>
sumdumguy wrote:
> I just did a rough calculation and I need about 200 of these "tentacles".
> So it's not as bad as I thought but still very painful. Any automation tool
> would be good to know about.
> 
> 
I'm sorry I should have said let pov make and move the "tentacles" for 
you using "sphere_sweep". (Like Alain's thoughts below)
"By Hand" has come to mean to me ,I know it's wrong :( , using POV to 
make something. I'll try to do better. :)

You set up an array or arrays for a default "sphere_sweep" to get the 
length and shape you want then deform that array for each tentacle and 
place it on your tube.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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