|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Can I add a temporary texture to 'clipped_by' so that I can see a little
more clearly what I'm doing? It's driving me nuts!! ;)
ATM, I'm just trying to cut a round hole in a box, but instead of a hole
in the box, I'm getting a circle of the box' texture.
Where am I going wrong with this?
object{
box {
<-1.3, -1.3, -1.3>
< 1.3, 1.3, 1.3>
translate <0, 1, 5>}
texture {T_Stone20}
clipped_by {sphere { <0, 1, 3> .8 }}}
~Steve~
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
25ct wrote:
>
> clipped_by {sphere { <0, 1, 3> .8 }}}
clipped_by {sphere { <0, 1, 3> .8 inverse}}}
_____________
Kari Kivisalo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Remember, clipped_by works like intersection, not like difference.
--
#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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3c4208aa@news.povray.org...
> Remember, clipped_by works like intersection, not like difference.
Thanks Warp, I'm just practising with this at the moment. I want to
put a hole in a door and add one of those 'spy-holes'. The lens may be
difficult though.
~Steve~
>
> --
> #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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Kari Kivisalo" <ray### [at] engineercom> wrote in message
news:3C4204B6.CEC7F316@engineer.com...
> 25ct wrote:
> >
> > clipped_by {sphere { <0, 1, 3> .8 }}}
>
> clipped_by {sphere { <0, 1, 3> .8 inverse}}}
Thanks Kari, worked a treat. :)
~Steve~
>
> _____________
> Kari Kivisalo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3c420bd3$1@news.povray.org>, "25ct" <25c### [at] lineonenet>
wrote:
> Thanks Warp, I'm just practising with this at the moment. I want to
> put a hole in a door and add one of those 'spy-holes'. The lens may be
> difficult though.
This sounds like difference would be a better choice anyway...what was
your reason for using clipped_by?
--
--
Christopher James Huff <chr### [at] maccom>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Christopher James Huff" <chr### [at] maccom> wrote in message
news:chr### [at] netplexaussieorg...
> In article <3c420bd3$1@news.povray.org>, "25ct" <25c### [at] lineonenet>
> wrote:
>
> > Thanks Warp, I'm just practising with this at the moment. I want
to
> > put a hole in a door and add one of those 'spy-holes'. The lens may be
> > difficult though.
>
> This sounds like difference would be a better choice anyway...what was
> your reason for using clipped_by?
Just to put a hole in a door so that I can add the spy-hole, eg, a lens
and surrounding fittings.
Is there another way Chris? What would difference do?
~Steve~
>
> --
> --
> Christopher James Huff <chr### [at] maccom>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3c421706@news.povray.org>, "25ct" <25c### [at] lineonenet> wrote:
> Just to put a hole in a door so that I can add the spy-hole, eg, a lens
> and surrounding fittings.
> Is there another way Chris? What would difference do?
The "difference" operation "cuts out" one object from another, leaving a
closed surface behind as though it were cutting a solid block of
material (though the cut surface has the texture of the cutting object).
The "clipped_by" feature is an object attribute that removes parts of
the surface outside a clipping shape, leaving gaps in the surface.
--
--
Christopher James Huff <chr### [at] maccom>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Christopher James Huff" <chr### [at] maccom> wrote in message
news:chr### [at] netplexaussieorg...
>
> The "difference" operation "cuts out" one object from another, leaving a
> closed surface behind as though it were cutting a solid block of
> material (though the cut surface has the texture of the cutting object).
> The "clipped_by" feature is an object attribute that removes parts of
> the surface outside a clipping shape, leaving gaps in the surface.
Thanks for that, I understand it now.
~Steve~
>
> --
> --
> Christopher James Huff <chr### [at] maccom>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christopher James Huff <chr### [at] maccom> wrote:
: The "difference" operation "cuts out" one object from another, leaving a
: closed surface behind as though it were cutting a solid block of
: material (though the cut surface has the texture of the cutting object).
: The "clipped_by" feature is an object attribute that removes parts of
: the surface outside a clipping shape, leaving gaps in the surface.
Note that in some cases clipping might be faster than differencing.
If the differenced surface is not seen, it's better to use clipping.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |