POV-Ray : Newsgroups : povray.binaries.images : preview of deform patch (53 kbu) Server Time
20 Jul 2024 19:21:52 EDT (-0400)
  preview of deform patch (53 kbu) (Message 1 to 4 of 4)  
From: Wlodzimierz ABX Skiba
Subject: preview of deform patch (53 kbu)
Date: 11 Dec 2000 07:50:23
Message: <3a34cd8f@news.povray.org>
this image is working sample what I'm working on
this is achived from such code:

#declare L=<2.0, 2.0, -5.0>;
camera { location L direction 1.5*z right 4/3*x look_at 0 }
light_source { <2,-2,-1.1> }
light_source { L color rgb 0.7 }
#declare Map=color_map{[0 color rgb 1][0.5 color rgb 0.5][1 color rgb
1]}
#declare Pigment=pigment{gradient y color_map{Map}}
#declare Texture=texture{pigment{Pigment} scale y/40}

deform
 {
  /* define type of deformation and base object */
  turn box{-1 1 texture{Texture}}

  /* define container */
  contained_by { cylinder{ <0,-1,0> <0,1,0> 3 }}

  /* optional parameters for all deformations */
  accuracy 0.05
  normal_accuracy 3, 0.01
  normal_weighted

  /* parameters proper for type of deformation */
  full_after 8
 }

ABX


Post a reply to this message


Attachments:
Download 'twist.jpg' (53 KB)

Preview of image 'twist.jpg'
twist.jpg


 

From: Tony[B]
Subject: Re: preview of deform patch (53 kbu)
Date: 11 Dec 2000 09:07:19
Message: <3a34df97@news.povray.org>
That is so cool. Is this some sort of shortcut to isosurface {}?


Post a reply to this message

From: Christoph Hormann
Subject: Re: preview of deform patch (53 kbu)
Date: 11 Dec 2000 09:50:48
Message: <3A34E9C5.48E56C4A@gmx.de>
Wlodzimierz ABX Skiba wrote:
> 
> this image is working sample what I'm working on
> this is achived from such code:
> [...]

I must admit that i don't understand much of the code.  I thought it would
be something like a displace warp for objects but it does look different. 
Could you explain it a bit more detailed?

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: preview of deform patch (53 kbu)
Date: 11 Dec 2000 10:29:37
Message: <3a34f2e1@news.povray.org>
Tony[B] wrote in message <3a34df97@news.povray.org>...
> That is so cool. Is this some sort of shortcut to isosurface {}?


this is inspired by some isosurfaces (inspiration described
in message "next step" in p.u-p) but has completly different
engine

ABX


Post a reply to this message

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