POV-Ray : Newsgroups : povray.text.scene-files : Dragonfly revisited error : Re: Dragonfly revisited error Server Time
6 Oct 2024 08:02:53 EDT (-0400)
  Re: Dragonfly revisited error  
From: ryan constantine
Date: 30 Aug 2000 22:23:19
Message: <39ADC195.7B9CAF4E@yahoo.com>
why not make to constructs, both of which are differences and then put
them in a union.  see if that works for you.  if you didn't follow,
here's what i mean:  take the wings, cut the body from it.  the body
should be the right size, right?  so make a union of the difference and
the body.  won't that end up the same as a merge?

Alf Peake wrote:
> 
> /*  Re: Dragonfly revisited in p.b.i
> For those who may wish to play with it, this is simplified extract of
> my
> source to show the problem with wing-to-body join in posted image.
> For DOS versions of Pov 3.1g and MegaPov 0.4
> 
> Alf
> 
> Alf### [at] compuservecom
> http://www.peake42.freeserve.co.uk/
> http://ourworld.compuserve.com/homepages/Alf_Peake/
> */
> 
> global_settings { assumed_gamma 1 }
> // camera{ location <0,2.5,0> look_at 0 } // Top view
> camera{ location <0,3.5,-4> angle 20 look_at <0.5,0.5,0> }
> light_source { <-10,36,0> 1 }
> plane{ y,-1 pigment{ rgb 1 } }
> #declare Filtr=1; // Sets filter value in rgbf
> #declare Wing = // Dummy wing
> box{ 0, 1 rotate -y*35 scale <0.8,0.02,2>
>      translate <0.5,0.74,0> pigment{ blue 1 } }
> 
> merge{  // union is OK
>   object{ Wing }
>   blob{ threshold 0.5
>        sphere{ 0, 2, 1}
>        sphere{ <0.50, 2,0>, 1.5, -1 }
>        sphere{ <0.2,-1.8,0>, 2.5, -1.5 }
>        pigment{ rgbf <1,0,0,Filtr> }
>        finish{ phong 1 phong_size 40 }
>        scale <1,1,0.6>
>   }
>   rotate -z*15  // Play with this


Post a reply to this message

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