POV-Ray : Newsgroups : povray.general : Interior for bicubic_patches ? : Re: Interior for bicubic_patches ? Server Time
2 Aug 2024 02:25:40 EDT (-0400)
  Re: Interior for bicubic_patches ?  
From: Marc Jacquier
Date: 30 Jan 2005 16:44:41
Message: <41fd5549@news.povray.org>

news:41fd3e34@news.povray.org...
> Manuel Kasten <kas### [at] gmxde> wrote:
> > is there a way to add an interior to bicubic patches (or use them in CSG
> > or fill them with media)? Something like inside_vector for meshes?
>
>   No.
>
May be.... but!

camera {
  location  <    -11.835,     -43.012,      14.627>
  sky       z   //sorry Moray export :)
  up        z
  right     <    0.66,         0.0,         0.0>
  angle         12
  look_at   0

}

#declare flamme =
   material
   {
      texture
      {
         pigment
         {
            color rgbt 1
         }

      }
      interior
      {
         media
         {
            emission rgb <1,1,1.5>
         }

      }
   }



union{
  object {
    bicubic_patch { type 1 flatness 0 u_steps 4 v_steps 4,
      <0,0,2>,<0, 0, 2>, <0, 0, 2>, <0, 0, 2>,
      <-1, 0, 2>, <-1, -1, 2>, <1, -1, 2>, <1, 0, 2>,
      <-0.6, 0, 4>, <-0.6, -0.6, 4>, <0.6, -0.6, 4>, <0.6, 0, 4>,
      <0.6, 0, 6>, <0.6,0, 6>, <0.6, 0, 6>, <0.6, 0, 6>
    }
  }
  object {
    bicubic_patch { type 1 flatness 0 u_steps 4 v_steps 4,
      <0, 0, 2>, <0, 0, 2>, <0, 0, 2>, <0, 0, 2>,
      <1, 0, 2>, <1, 1, 2>, <-1, 1, 2>, <-1, 0, 2>,
      <0.6, 0, 4>, <0.6, 0.6, 4>, <-0.6, 0.6, 4>, <-0.6, 0, 4>,
      <0.6, 0, 6>, <0.6, 0, 6>, <0.6, 0, 6>, <0.6, 0, 6>
    }
  }
  material {
    flamme
  }

 hollow
}


Post a reply to this message

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