POV-Ray : Newsgroups : povray.binaries.programming : Difference : Re: Difference Server Time: 20 Jul 2008 11:16:49 GMT
  Re: Difference  
From: Roman Reiner
Date: 7 Dec 2005 17:20:00
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 <ablanco [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 1991-2004 POV-Team™