POV-Ray : Newsgroups : povray.general : New feature suggestion (assuming it doesn't already exsist) Server Time
27 Dec 2024 05:21:56 EST (-0500)
  New feature suggestion (assuming it doesn't already exsist) (Message 1 to 8 of 8)  
From: Qleemish
Subject: New feature suggestion (assuming it doesn't already exsist)
Date: 9 Mar 2003 15:05:10
Message: <web.3e6b9d11cf4de2b1a36b219e0@news.povray.org>
a thickness modifier for lathe/sor objects, allowing u to change the
thickness of the walls. please let me know if this already exsists. also,
the option to makes lathes/sors, solid. think of the infinite intersections
we could do... ahhhhhhh, oh, yes, YES!!!!!

u know u've been raytracing too long when: u press Alt-G instead of enter.


Post a reply to this message

From: Warp
Subject: Re: New feature suggestion (assuming it doesn't already exsist)
Date: 9 Mar 2003 15:52:26
Message: <3e6ba989@news.povray.org>
Qleemish <nomail@nomail> wrote:
> the option to makes lathes/sors, solid.

  There are no solid objects in POV-Ray (or any renderer, for that matter).
There can't be.

  There can be *closed* surfaces, but that's a different thing than
a solid object.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: John VanSickle
Subject: Re: New feature suggestion (assuming it doesn't already exsist)
Date: 9 Mar 2003 16:16:05
Message: <3E6BAF21.FC793C41@hotmail.com>
Qleemish wrote:
> 
> a thickness modifier for lathe/sor objects, allowing u to change the
> thickness of the walls. please let me know if this already exsists.
> also, the option to makes lathes/sors, solid. think of the infinite
> intersections we could do... ahhhhhhh, oh, yes, YES!!!!!

The walls of the lathe/sor/all objects are zero thickness.

To get a lathe or sor with thickness to its walls, you have to use CSG,
like so:

difference {
  object { MyVaseExterior }
  object { MyVaseInterior }
}

Make MyVaseInterior such that it has a gap between it and the
exterior version, but sticks out through the top.

Hope this helps,
John


Post a reply to this message

From: Jellby
Subject: Re: New feature suggestion (assuming it doesn't already exsist)
Date: 9 Mar 2003 17:21:38
Message: <3e6bbe71@news.povray.org>
Among other things, Qleemish wrote:

> a thickness modifier for lathe/sor objects, allowing u to change the
> thickness of the walls. please let me know if this already exsists. also,
> the option to makes lathes/sors, solid. think of the infinite
> intersections we could do... ahhhhhhh, oh, yes, YES!!!!!

Hmm... if I'm not mistaken, lathes and sors are already solid in that sense, 
you can use them in CSG "out of the box".

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

From:
Subject: Re: New feature suggestion (assuming it doesn't already exsist)
Date: 9 Mar 2003 18:55:03
Message: <web.3e6bb57ad3f5712aa36b219e0@news.povray.org>
sorry warp, hopefully u know what i mean, thx to john for the advise, but it
doesnt  allow u to create differences. for example, if u do a difference
between a  box and a text object, u can create 'carvings.' whereas if u
just made an inner and outer wall, u would simply have one wall with a hole
in it and one with no hole. defeats the purpose really.


Post a reply to this message

From: Qleemish
Subject: Re: New feature suggestion (assuming it doesn't already exsist)
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

From: Jellby
Subject: Re: New feature suggestion (assuming it doesn't already exsist)
Date: 10 Mar 2003 09:20:46
Message: <3e6c9f3d@news.povray.org>
Entre otras cosas, Qleemish tuvo a bien escribir:

> 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.

Objects in povray have no thickness, you have to "create" it by subtracting 
a smaller copy of the object from the original one, like this:

------------
#include "colors.inc"

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>
    pigment {Blue}
  }
  lathe {
    cubic_spline
    8,
    <0,-.5>, <0,-.5>, <.9,-.5>, <.3,-.25>, <.1,0>, <.9,1>, <.9,2>, <.6,2.3>
    pigment {Yellow}
  }
  box{ <0,0,0>, <4,1,-4> pigment {Green} }
}

plane { <0,1,0>, -.5 pigment {Red} }
------------

This is not specific to lathe objects, this happens to any object, they're 
just an infinitely thin surface that divides the world in an "inside" and 
an "outside", no thickness.

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

From: Christopher James Huff
Subject: Re: New feature suggestion (assuming it doesn't already exsist)
Date: 10 Mar 2003 15:49:44
Message: <cjameshuff-C45058.15495310032003@netplex.aussie.org>
In article <web.3e6bb57ad3f5712aa36b219e0@news.povray.org>,  wrote:

> sorry warp, hopefully u know what i mean, thx to john for the advise, but it
> doesnt  allow u to create differences. for example, if u do a difference
> between a  box and a text object, u can create 'carvings.' whereas if u
> just made an inner and outer wall, u would simply have one wall with a hole
> in it and one with no hole. defeats the purpose really.

Your message is not very coherent...jumping from text object carvings to 
walls of something else, I assume of sors and lathes. And "it doesnt 
allow u to create differences"? That's not even wrong, it just doesn't 
make sense. You can use a difference to get the result you described in 
your original message, a sor or lathe with thickness to the sides.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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