POV-Ray : Newsgroups : povray.general : New feature suggestion (assuming it doesn't already exsist) : Re: New feature suggestion (assuming it doesn't already exsist) Server Time
4 Aug 2024 18:16:21 EDT (-0400)
  Re: New feature suggestion (assuming it doesn't already exsist)  
From: Qleemish
Date: 9 Mar 2003 19:20:03
Message: <web.3e6bd8d4d3f5712aa36b219e0@news.povray.org>
thx jellby, btw, nice sig. ure right, they are solid... unless u turn on
filter, in which case only the part affected by the difference is solid
(see below). still a problem, but it does let us overlay text etc then. so
now only one question left, how do u change the thickness of the walls, so
that u could, for example, cut a hole in one side of a cup and have it
appear [thickness] at the top (and therefore from <0,10,0>. any ideas other
than john's? (his still doesnt get rid of the 'solidness' (notice quotes
warp) ie, we couldnt do cutaways very well. i still think it would be great
if 3.6 had a thickness modifier built in.


  //start file 1
#include "colors.inc"
    #include "woods.inc"
   #include "glass.inc"

  #declare T_Wood9   =
    texture { pigment { P_WoodGrain9A  color_map { M_Wood9A }}}
    texture { pigment { P_WoodGrain9B  color_map { M_Wood9B }}}

  background{White}
  camera {
    angle 10
    location <1, 4, -30>
    look_at <0, 1, 0>
  }
  light_source {
    <20, 20, -40> color White
  }
  difference{ lathe {
    cubic_spline
    8,
    <0,-.5>, <0,-.5>, <1,-.5>, <.4,-.25>, <.2,0>,<1,1>, <1,2>, <.7,2.3>

texture{
                        pigment {color rgbf <.4, .4, 1, .87>}}
                        finish {
                          F_Glass8
                          phong .75
                          reflection 0
                         }

 } box{ <0,0,0>, <4,1,-4> pigment {Green}}}

 plane {<0,1,0>, -.5 texture {T_Wood9 scale<3,3,3>}  finish{ reflection 0 }
}//end file 1


Post a reply to this message

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