|
|
EHLO
I have some computer generated .INC files with this type of object :
#declare essai = object {
union {
sphere { <0.000000, 0.000000, 0.000000> 0.300000
pigment { color <0.500000, 0.500000, 0.500000> } }
sphere { <0.361449, 0.271070, 0.291044> 0.251914
pigment { color <0.000000, 0.000000, 0.000000> } }
}
In the main scene, I try that :
object { essai finish { reflection 0.9 ambient 0 diffuse 0.1 } }
And, noway to have all my little bubbles be a mirror...
http://la.buvette.org/POV/fractal-agregat/bug_finish.gif
I can post the complete poc...
tTh
Post a reply to this message
|
|
|
|
Le 17-08-22 à 15:50, tth a écrit :
> EHLO
>
> I have some computer generated .INC files with this type of object :
>
> #declare essai = object {
> union {
> sphere { <0.000000, 0.000000, 0.000000> 0.300000
> pigment { color <0.500000, 0.500000, 0.500000> } }
> sphere { <0.361449, 0.271070, 0.291044> 0.251914
> pigment { color <0.000000, 0.000000, 0.000000> } }
> }
>
> In the main scene, I try that :
>
> object { essai finish { reflection 0.9 ambient 0 diffuse 0.1 } }
>
> And, noway to have all my little bubbles be a mirror...
> http://la.buvette.org/POV/fractal-agregat/bug_finish.gif
>
> I can post the complete poc...
>
> tTh
>
>
>
>
>
It just can't work.
Any texture that is explicitely applyed to any object are never replaced
nor layered over by any texture or finish applyed to the CSG object.
object{sphere{0 1 pigment{rgb<1,0,0>}} pigment{rgb<0,1,1>}}
Will result in a pure red sphere, without any hint of cyant.
If you where to add some untextured object, then, that object will get
reflective.
A possible workaround would be as follow:
#declare O_Default = texture{}
// Save the original default texture.
// An empty texture block always return the current default texture.
#default{finish{ reflection 0.9 ambient 0 diffuse 0.1 } }
// Set a new default texture with the reflection that you want
object { essai }
// Place your object
#default texture { O_Default }
// Restore the original default texture
Alain
Post a reply to this message
|
|