POV-Ray : Newsgroups : povray.advanced-users : Hair simulation Server Time
29 Jul 2024 12:24:41 EDT (-0400)
  Hair simulation (Message 1 to 9 of 9)  
From: Fidel viegas
Subject: Hair simulation
Date: 2 Aug 2002 10:03:31
Message: <B9704F2C.1850%fidel.viegas@artrecognition.co.uk>
Hello guys,

Does anyone know if there is a hair simulation include file or macros file
for povray? I have tried chris colefax's one, but I'm looking for something
else, perhaps something that does the same Shave and Haircut.

Thanks in advance

Fidel.


Post a reply to this message

From: Warp
Subject: Re: Hair simulation
Date: 2 Aug 2002 10:47:52
Message: <3d4a9b97@news.povray.org>
Fidel viegas <fid### [at] artrecognitioncouk> wrote:
> Does anyone know if there is a hair simulation include file or macros file
> for povray? I have tried chris colefax's one, but I'm looking for something
> else, perhaps something that does the same Shave and Haircut.

  I think that some people have developed some grass-creation macros (which
are probably more limited in functionality), but AFAIK there's no other
hair-creation utilities for POV-Ray other than Colefax's one.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Fidel viegas
Subject: Re: Hair simulation
Date: 3 Aug 2002 06:01:45
Message: <B9716800.1863%fidel.viegas@artrecognition.co.uk>
in article 3d4a9b97@news.povray.org, Warp at war### [at] tagpovrayorg wrote on
2/8/02 3:47 pm:

> Fidel viegas <fid### [at] artrecognitioncouk> wrote:
>> Does anyone know if there is a hair simulation include file or macros file
>> for povray? I have tried chris colefax's one, but I'm looking for something
>> else, perhaps something that does the same Shave and Haircut.
> 
> I think that some people have developed some grass-creation macros (which
> are probably more limited in functionality), but AFAIK there's no other
> hair-creation utilities for POV-Ray other than Colefax's one.


Well, I think that I'll stick to Colefax's utility.
Thanks for the tip.

Fidel.


Post a reply to this message

From: Christian Parpart
Subject: Re: Hair simulation
Date: 3 Aug 2002 07:31:32
Message: <3d4bbf13@news.povray.org>
Warp inspired the electrons to say:

> Fidel viegas <fid### [at] artrecognitioncouk> wrote:
>> Does anyone know if there is a hair simulation include file or macros
>> file for povray? I have tried chris colefax's one, but I'm looking for
>> something else, perhaps something that does the same Shave and Haircut.
> 
>   I think that some people have developed some grass-creation macros
>   (which
> are probably more limited in functionality), but AFAIK there's no other
> hair-creation utilities for POV-Ray other than Colefax's one.
> 

Hey,

where can I find these grass-creation macros/functions?

Many thanks,
Christian.


Post a reply to this message

From: Mike
Subject: Re: Hair simulation
Date: 3 Aug 2002 07:40:02
Message: <web.3d4bc0c7145d090ae9d3dc080@news.povray.org>
Christian Parpart wrote:
>Warp inspired the electrons to say:
>
>> Fidel viegas <fid### [at] artrecognitioncouk> wrote:
>>> Does anyone know if there is a hair simulation include file or macros
>>> file for povray? I have tried chris colefax's one, but I'm looking for
>>> something else, perhaps something that does the same Shave and Haircut.
>>
>>   I think that some people have developed some grass-creation macros
>>   (which
>> are probably more limited in functionality), but AFAIK there's no other
>> hair-creation utilities for POV-Ray other than Colefax's one.
>>
>
>Hey,
>
>where can I find these grass-creation macros/functions?
>
>Many thanks,
>Christian.
>

Chris Colefax's Home page is
http://www.geocities.com/SiliconValley/Lakes/1434/

Should find what you need there.

Mike


Post a reply to this message

From: Warp
Subject: Re: Hair simulation
Date: 3 Aug 2002 07:43:51
Message: <3d4bc1f7@news.povray.org>
Christian Parpart <cpa### [at] surakwarenet> wrote:
> where can I find these grass-creation macros/functions?

  Here are some links:

http://www.oyonale.com/ressources/english/sources01.htm
http://runevision.com/3d/include/include.asp
http://www.spiritone.com/~english/cyclopedia/grass.html

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Tim Nikias
Subject: Re: Hair simulation
Date: 3 Aug 2002 16:42:53
Message: <3d4c404d$1@news.povray.org>
I've written a small macro which generates a CSG-Hair
made of spheres and cylinders some time ago. What you
need to do is use the vector-function trace() and grab the
position and surface normal from there, then use those
to place a hair. With some loops you could easily grow
some beard or fur (you'll find an image on my homepage in
the Standard Gallery).

I think Chris' include is suited for meshes only.

Regards,

Tim

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Warp
Subject: Re: Hair simulation
Date: 3 Aug 2002 21:50:22
Message: <3d4c885e@news.povray.org>
Tim Nikias <tim### [at] gmxde> wrote:
> I've written a small macro which generates a CSG-Hair
> made of spheres and cylinders some time ago. What you
> need to do is use the vector-function trace() and grab the
> position and surface normal from there, then use those
> to place a hair.

  That does not necessarily cover the entire surface of the object.

> I think Chris' include is suited for meshes only.

  And bicubic patches.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Tim Nikias
Subject: Re: Hair simulation
Date: 4 Aug 2002 05:40:16
Message: <3d4cf680$1@news.povray.org>
Warp ingeniously wrote:
>   That does not necessarily cover the entire surface of the object.

Not necessarily, you're right, but with some good algorithms
you could (probably not very easily though) sample positions
on the surface, using the bounding box, creating positions inside
the object, shooting traces around...
Would make an interesting project, I assume.

Regards,

Tim
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

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