POV-Ray : Newsgroups : povray.general : intersection Server Time
18 Nov 2024 17:19:48 EST (-0500)
  intersection (Message 1 to 2 of 2)  
From: Rafal 'Raf256' Maj
Subject: intersection
Date: 18 Jul 2002 08:04:08
Message: <Xns924F8E8547578raf256com@204.213.191.226>
Hi,I have :

#declare objKey = intersection {
  object { objKey }
  box { <-100,-100,-_AllThCut> <+100,+100,+_AllThCut> }
}

objKey has it own's texture, but after this intersection some part of new 
objKey have black texture (because it is the texture of box {} )

I can prevent this ofcourse by adding texture to end of intersectino { } 
block, but is there some better way of doing this ?

btw. will construcions like i.e.
texture { objKey.texture } 
be allowed someday ?

-- 

> A jedyne co czytam, ze to terrorysci internetowi z echelonu planuja
> kolejny atak na centrale TPSA
- Expert vel Jacek (obecnie gol### [at] pocztaonetpl)


Post a reply to this message

From: Philippe Debar
Subject: Re: intersection
Date: 18 Jul 2002 08:42:41
Message: <3d36b7c1$1@news.povray.org>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> Hi,I have :
>
> #declare objKey = intersection {
>   object { objKey }
>   box { <-100,-100,-_AllThCut> <+100,+100,+_AllThCut> }
> }
>
> objKey has it own's texture, but after this intersection some part of new
> objKey have black texture (because it is the texture of box {} )
>
> I can prevent this ofcourse by adding texture to end of intersectino { }
> block, but is there some better way of doing this ?

See "6.7.10  Cutaway Textures"


Povingly,


Philippe


Post a reply to this message

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