POV-Ray : Newsgroups : povray.newusers : CSG transparent Server Time
24 Nov 2024 17:39:25 EST (-0500)
  CSG transparent (Message 1 to 3 of 3)  
From: LikeNoOther
Subject: CSG transparent
Date: 4 Oct 2007 04:50:01
Message: <web.4704a8a9ec02e84e6e4edffd0@news.povray.org>
Hi I just want to know whether it is possible to cut
a object with a transparent plane. I need the original colour of the
textured object to be seen.

Thanks


Post a reply to this message

From: M a r c
Subject: Re: CSG transparent
Date: 4 Oct 2007 05:12:26
Message: <4704ae7a$1@news.povray.org>

web.4704a8a9ec02e84e6e4edffd0@news.povray.org...
> Hi I just want to know whether it is possible to cut
> a object with a transparent plane. I need the original colour of the
> textured object to be seen.
>
> Thanks

Look at cutaway_textures in the documentation

Marc


Post a reply to this message

From: Alain
Subject: Re: CSG transparent
Date: 4 Oct 2007 09:47:21
Message: <4704eee9@news.povray.org>
LikeNoOther nous apporta ses lumieres en ce 2007/10/04 04:47:
> Hi I just want to know whether it is possible to cut
> a object with a transparent plane. I need the original colour of the
> textured object to be seen.
> 
> Thanks
> 
> 
Anytime you do any CSG operation and you don't set the texture of the particular 
object, you maintain the whole SCG's texture.
Set the texture not into the object's deffinition, but in the difference itself.
Whenever you set an object's texture, that texture will override that of the 
complex object.

If you need a single texture for a whole union, intersection or difference, it's 
always beter to atribute the texture only once to the whole compound object 
rather than to each individual component.

If you want to have a hole and see the inside of the cut object, use cliped_by.

-- 
Alain
-------------------------------------------------
   A hooker once told me she had a headache.
   	Rodney Dangerfield


Post a reply to this message

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