|
![](/i/fill.gif) |
Eureka!
Francois Labreque wrote:
>
> Wlodzimierz ABX Skiba wrote:
>
> > #declare Model=R175(HighLOD,0.875,0.5)
> > #declare Model=object{Model rotate -x*90 texture{SzaryStalowy}}
> ^^^^^^^^^^^^^^^^^^^^^
>
> Comment this out and it clears your problem. I have no explanantion as
> to why it would override your handle's texture but not my sphere's, but
> you are re-associating a texture to an object that already has one.
It happens because R175 is a macro and macros are expanded before
parsing, so the line becomes
#declare Model=object{ union{obj1 obj2 obj3 ...} tex1 trans1
texture(SzaryStalowy)}
Which is just an object with a layered textures. Since SzaryStalowy is
not transparent, the whole box becomes gray.
Quod Erat Demonstrandum.
>
> --
> Francois Labreque | The surest sign of the existence of extra-
> flabreque | terrestrial intelligence is that they never
> @ | bothered to come down here and visit us!
> videotron.ca | - Calvin
>
> ------------------------------------------------------------------------
> [Image]
--
Francois Labreque | The surest sign of the existence of extra-
flabreque | terrestrial intelligence is that they never
@ | bothered to come down here and visit us!
videotron.ca | - Calvin
Post a reply to this message
|
![](/i/fill.gif) |