|
|
"marabou" <not### [at] availableyet> wrote in message
news:3bd5d52c@news.povray.org...
> hello all!
>
> i searched most of the postings but found no answer to that question:
> if i make a difference on an object then the area under the differenced
> object is black and has no reflection.
> what or where do i have to look for?
>
> thanks.
>
if your code looks like this (this is pseudocode, it won't run) :
difference {
object { // could be any object : box, sphere, csg, even "object"
texture { pigment{color Gray50} finish{reflection .25}}
}
object { // could be any object : box, sphere, ....
}
}
then only the object you substract from is textured and object you substract
with is the default black texture (with no reflection). Move the texture
towards the end of the difference, outside the objects, like this :
difference {
object { // could be any object : box, sphere, ....
}
object { // could be any object : box, sphere, ....
}
texture { pigment{color Gray50} finish{reflection .25}}
}
Of course, without seeing your code, it might be anything else.
Povingly,
Philippe
Post a reply to this message
|
|