POV-Ray : Newsgroups : povray.binaries.images : PIP: deformation of tesselation [about 50Kbu] : Re: PIP: deformation of tesselation [about 50Kbu] Server Time
16 Aug 2024 10:28:47 EDT (-0400)
  Re: PIP: deformation of tesselation [about 50Kbu]  
From:
Date: 22 Feb 2002 03:49:38
Message: <i21c7uk4jone88b4k59to7bq03emrf7mbi@4ax.com>

> On my slow 180MHz Pentium-MMX Linux, with X-display while rendering.

Looks very interesting and promising.
Only things I want'to mention

> toto is the box;
> #declare Objiii = box { <-0.9,0.1,0.1>,<0.9,.9,.9> rotate <0,90,0> }
> warp { cristal{ Objiii ,  50 },  { turbulence 0.4*<1,0.3,0.5> octaves 2 } }

> titi is the sphere;
> #declare Objiii =  sphere { 0,0.9 }
> warp {bourke{ Objiii  accuracy 70 precision 20},{ turbulence 0.4*<1,0.3,0.5> octaves
2 }}

personaly I prefer another 'tesselate' keyword since
you can't use cristal or bourke in pigment{warp{}}
I mean

tesselate{
  OBJECT_ID | OBJECT
  METHOD {  METHOD_PARAMS }
  WARP { WARP_STATEMENT } | DISPLACEMENT{ PIGMENT | f_x(x,y,z),f_y(x,y,z),f_z(x,y,z) }
  OBJECT_MODS
}

in your example

tesselate{
  Objiii
  bourke{ accuracy 70 precision 20}
  warp{ turbulence 0.4*<1,0.3,0.5> octaves 2 }
  OBJECT
}

ABX


Post a reply to this message

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