|
|
I think in the following scene Texture 1 and Texture 2 should
always look the same - and they do in 3.6.
But when using the *granite* or the *bumps* pattern they
do not. Adding a specific waveform makes things even
worse.
-Ive
// ------------------------------
global_settings {
assumed_gamma 1.0
// noise_generator 1
}
camera {
orthographic
location <0,0,-1.5>
look_at <0,0,0>
}
// ------------------------------
// texture 1
#declare T1 = texture {
pigment {
// *** NOT working ***
// granite
granite triangle_wave
// bumps // ramp_wave
// *** working ***
// gradient y
// agate
// wood
// marble
pigment_map {
[0.0 rgb 0]
[1.0 rgb 1]
}
}
finish {ambient 1 diffuse 0}
}
// ------------------------------
// texture 2
#declare T2a = texture {
pigment {rgb 0}
finish {ambient 1 diffuse 0}
}
#declare T2b = texture {
pigment {rgb 1}
finish {ambient 1 diffuse 0}
}
#declare T2 = texture {
// *** NOT working ***
// granite
granite triangle_wave
// bumps // ramp_wave
// *** working ***
// gradient y
// agate
// wood
// marble
texture_map {
[0.0 T2a]
[1.0 T2b]
}
}
// -----------------------------
box {-0.5, 0.5
texture {T1}
translate -x*0.5
}
box {-0.5, 0.5
texture {T2}
translate x*0.5
}
// -----------------------------
Post a reply to this message
|
|