POV-Ray : Newsgroups : povray.newusers : Texture disappears after intersection. : Re: Texture disappears after intersection. Server Time
2 Nov 2024 05:22:51 EDT (-0400)
  Re: Texture disappears after intersection.  
From: Warp
Date: 18 Aug 2004 10:52:04
Message: <41236d13@news.povray.org>
D. H. Berlin <wee### [at] povstefaniede> wrote:
> Is it the right behavior, that after an intersection the resulting object
> has on cutted areas no texture anymore? While areas remaining uncutted stay
> textured with the original texture.

  The cutting object has no texture and thus POV-Ray does not use any
texture for it.

> Though even stranger for my feeling is that adding a texture at the end of
> the intersection statement (See the outcommented line) does not texture the
> _whole_ resulting object, but only the cutted areas.

  If the first object in the intersection already has a texture, it has
higher priority than a texture global to the whole intersection.

  Btw, you will find searching 'cutaway_textures' in the documentation
interesting reading.

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

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