POV-Ray : Newsgroups : povray.binaries.animations : Muscles (702KB MPEG-1) : Re: Muscles (702KB MPEG-1) Server Time
8 Jul 2024 11:31:18 EDT (-0400)
  Re: Muscles (702KB MPEG-1)  
From: David El Tom
Date: 4 Jan 2006 06:59:21
Message: <43bbb899@news.povray.org>
Zeger Knaepen wrote:
> I'm not really sure I understand it completely :-/
> 
> cu!

I thought about something like this (never tried, so maybe doesn't work 
at all):


1. declare your blobs defining the single muscles

#declare blob_object_1 = blob{....}
#declare blob_object_2 = blob{....}
  .
  .
  .
#declare blob_object_n = blob{....}

2. declare functions based on object-patterns using the formerly 
declared blobs like this:

#declare bf_1 = function{pigment{object{blob_object_1 color rgb 0, color 
rgb 1}}};

#declare bf_2 = function{pigment{object{blob_object_2 color rgb 0, color 
rgb 1}}};

  .
  .
  .
#declare bf_n = function{pigment{object{blob_object_n color rgb 0, color 
rgb 1}}};

3. now skin them using somthing to "blob" functions together like in the 
docs:

#declare blob_threshold = 0.001;

#declare skin = function {
(1+Blob_threshold)
  -pow(Blob_threshold, bf_1(x,y,z).gray)
  -pow(Blob_threshold, bf_1(x,y,z).gray)
   .
   .
   .
  -pow(Blob_threshold, bf_1(x,y,z).gray)
}

and use this function inside an isosurface-container large enough


... dave


Post a reply to this message

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