POV-Ray : Newsgroups : povray.newusers : Invisible objects Server Time
23 Nov 2024 23:54:34 EST (-0500)
  Invisible objects (Message 1 to 3 of 3)  
From: gregtom6
Subject: Invisible objects
Date: 30 Apr 2011 08:25:00
Message: <web.4dbbff135ba32d6b854806660@news.povray.org>
Hy all!

My problem is that I created a dialer for my stargate, and that's partly
invisible.
I created that with Moray, but I can't see that with that renderer too.
I share the code, please help me.
cylinder { // Cylndr002
  <0,0,1>, <0,0,0>, 1
  material {
    dialtarto
  }
  scale <3.6, 3.5, 6.3>
  translate  <-6.6, -51.8, 16.9>
}


#declare CSG016 = difference {
  torus { // Torus016
    1.78, 0.22  rotate -x*90
    scale <15.3, 10.8, 9.4>
    translate  <23.4, 14.0, 75.0>
  }
  cylinder { // Cylndr004
    <0,0,1>, <0,0,0>, 1
    scale -17.299999
    translate  <-0.2, 13.3, 78.9>
  }
  material {
    fem2
  }
  scale <0.4, 0.5, 0.4>
  rotate 30.0*y
  translate  <-18.7, -41.2, 6.2>
}
difference { // CSG017
  object { CSG016 }
  cylinder { // Cylndr003
    <0,0,1>, <0,0,0>, 1
    material {
      fem2
    }
    scale <11.2, 11.2, 2.4>
    rotate <-30.0, 0.0, -90.0>
    translate  <3.8, -34.2, 24.8>
  }
  sphere { // Sphere001
    <0,0,0>,1
    material {
      gomb
    }
    scale 2.1
    translate  <6.4, -33.9, 28.9>
  }
  cylinder { // Cylndr006
    <0,0,1>, <0,0,0>, 1
    material {
      tarcsa2
    }
    scale <4.1, 4.2, 1.3>
    rotate <-30.0, 0.0, -90.0>
    translate  <6.1, -34.1, 28.6>
  }
  cylinder { // Cylndr005
    <0,0,1>, <0,0,0>, 1
    material {
      tarcsa
    }
    scale <6.5, 6.7, 2.1>
    rotate <-30.0, 0.0, -90.0>
    translate  <4.9, -34.0, 26.9>
  }
  scale 0.5
  translate  <-7.8, -34.9, 10.3>
}


Post a reply to this message

From: StephenS
Subject: Re: Invisible objects
Date: 30 Apr 2011 18:05:00
Message: <web.4dbc8672999289653a11b13e0@news.povray.org>
"gregtom6" <gre### [at] freemailhu> wrote:
> Hy all!
>
> My problem is that I created a dialer for my stargate, and that's partly
> invisible.
....
> #declare CSG016 = difference {
>   torus { // Torus016
>     1.78, 0.22  rotate -x*90
>     scale <15.3, 10.8, 9.4>
>     translate  <23.4, 14.0, 75.0>
>   }
>   cylinder { // Cylndr004
>     <0,0,1>, <0,0,0>, 1
>     scale -17.299999
>     translate  <-0.2, 13.3, 78.9>
>   }

CSG is now a torus with a piece missing.
....
> difference { // CSG017
>   object { CSG016 }
>   cylinder { // Cylndr003
>     <0,0,1>, <0,0,0>, 1
....
Your now removing more, maybe this should be a union?

Stephen S


Post a reply to this message

From: gregtom6
Subject: Re: Invisible objects
Date: 1 May 2011 10:35:00
Message: <web.4dbd6f6c99928965c0be34760@news.povray.org>
"StephenS" <nomail@nomail> wrote:
> "gregtom6" <gre### [at] freemailhu> wrote:
> > Hy all!
> >
> > My problem is that I created a dialer for my stargate, and that's partly
> > invisible.
> ....
> > #declare CSG016 = difference {
> >   torus { // Torus016
> >     1.78, 0.22  rotate -x*90
> >     scale <15.3, 10.8, 9.4>
> >     translate  <23.4, 14.0, 75.0>
> >   }
> >   cylinder { // Cylndr004
> >     <0,0,1>, <0,0,0>, 1
> >     scale -17.299999
> >     translate  <-0.2, 13.3, 78.9>
> >   }
>
> CSG is now a torus with a piece missing.
> ....
> > difference { // CSG017
> >   object { CSG016 }
> >   cylinder { // Cylndr003
> >     <0,0,1>, <0,0,0>, 1
> ....
> Your now removing more, maybe this should be a union?
>
> Stephen S

Yes, that's an union. Thanks.


Post a reply to this message

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