I declared a photovoltaic unit
by having an aluminium frame
and all the other surface with
silicone behind glas
#declare GEMINI_t_PV_Unit = texture
{ material_map
{ gif "map-pv.gif"
texture { GEMINI_t_Aluminium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
} // material_map
} // texture
As mentioned in May this year,
I made an animation with this.
Some pictures had been rendered,
as all the photovoltaic is only made
from aluminium.
Now I solved the failure.
The GIF with the material map was wrong.
The picuture had only 2 colors.
Color Index 0 was the aluminium
but the silicone was at color index 246
I reduced the GIF to 16 colors and wrote
#declare GEMINI_t_PV_Unit = texture
{ material_map
{ gif "map-pv.gif"
texture { GEMINI_t_Aluminium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
texture { GEMINI_t_PV_Silizium }
} // material_map
} // texture
Now the whole animation renders correct.
So the reason for the random failures
at some pictures had been the
incorrect GIF.
best regards
Post a reply to this message
|