|
|
[Running Windows 10]
This might be old news, although I could not find a reference to it in a
newsgroup search.
An interior_texture cannot be pre-#declared in the usual way. The following
constructs do not parse in either 'official' v3.7.0 or 3.8 beta 1, fatal errors:
#declare INT_TEX_1A =
interior_texture{pigment{rgb <.2,.2,1>} finish{ambient .1 emission 0 diffuse
..8}}
or...
#declare TEX_2 =
texture{pigment{rgb <.2,.2,1>} finish{ambient .1 emission 0 diffuse .8}}
#declare INT_TEX_2 = interior_texture{TEX_2}
or as a #default...
#default{interior_texture{pigment{rgb <1,.4,.1>} finish{ambient .1 emission 0
diffuse .8}}}
However, it *can* be pre-#declared by using a 'material' wrapper, which is
undocumented:
#declare TEX_4 =
material{
interior_texture{
pigment{rgb <.2,.2,1>}finish{ambient .1 emission 0 diffuse .8}
}
}
I assumed that an interior_texture and a 'regular' texture were similar entities
under-the-hood, but apparently not(?)
Post a reply to this message
|
|