POV-Ray : Newsgroups : povray.text.scene-files : Dragonfly revisited error Server Time
23 Dec 2024 14:47:04 EST (-0500)
  Dragonfly revisited error (Message 1 to 4 of 4)  
From: Alf Peake
Subject: Dragonfly revisited error
Date: 30 Aug 2000 19:42:13
Message: <39ad9bd5@news.povray.org>
/*  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

From: ryan constantine
Subject: Re: Dragonfly revisited error
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

From: Alf Peake
Subject: Re: Dragonfly revisited error
Date: 31 Aug 2000 18:25:59
Message: <39aedb77@news.povray.org>
Oops - someone nicked the closing brace _}_ at the file end

Alf


Post a reply to this message

From: Alf Peake
Subject: Re: Dragonfly revisited error
Date: 1 Sep 2000 18:27:25
Message: <39b02d4d@news.povray.org>
(Sorry, I cannot reply directly to responses to my posts - OE5 problem
I think)

Thanks Ryan.
I'm not looking for a cure as it does not always show, but I'll try
it.

Alf

<quote>
From: ryan constantine <rco### [at] yahoocom>
Subject: Re: Dragonfly revisited error
Date: 31 August 2000 03:23

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?
</quote>


Post a reply to this message

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