POV-Ray : Newsgroups : povray.newusers : How do I... : Re: How do I... Server Time
29 Jul 2024 04:26:43 EDT (-0400)
  Re: How do I...  
From: Alain
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

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