POV-Ray : Newsgroups : povray.binaries.programming : Difference : Re: Difference Server Time
19 Jun 2025 11:35:33 EDT (-0400)
  Re: Difference  
From: Roman Reiner
Date: 7 Dec 2005 12:20:00
Message: <web.439718b03616f208af771770@news.povray.org>
First of all this is the wrong newsgroup. such questions should be posted in
newusers http://news.povray.org/povray.newusers/

To answer your question. When i understand you right you want the resulting
object to have one overall texture. in this case it is the easiest way not
to use pigments (or textures) in the single object declarations but apply
it once to the resulting cutobject. for example

difference {
  object { this }
  difference {
    object { that }
    merge {
      object { whatever }
      ...
    }
  }
  ...
  texture { myTexture }
}

Hope that helped
Regards Roman

Alvaro Blanco <abl### [at] icmmcsices> wrote:
> Hello all,
> This is my first post and maybe I ask a silly (beginner) question: When
> you use difference you get the color of the object you substract. When
> you substract something easy, let's say, a box A minus a box B, then it
> is easy to get the right color in your cut surface. You just use the
> same color for B. But, when A is something composed of many different
> objects with many different colors... Is there any way or "trick" to get
> this colors in the cut edge instead of the same color of B?
> Thanks


Post a reply to this message

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