add computed image_map

This commit is contained in:
tTh 2022-12-14 15:32:59 +01:00
parent bc7de7e7eb
commit 963cd5a752
1 changed files with 12 additions and 3 deletions

View File

@ -21,7 +21,11 @@ global_settings {
#declare HFDIR = "WS/nanim/";
#declare HFCK = mod(clock, 2000);
#declare HFNAME = concat(HFDIR, str(HFCK , -5, 0), ".pgm");
#debug concat("- - - - - - - ", HFNAME, "\n")
#declare CMDIR = "WS/colmap/";
#declare CMNAME = concat(CMDIR, str(HFCK , -5, 0), ".pgm");
#debug concat("- - - - - - - ", HFNAME, " ", CMNAME, "\n")
#declare GravityField = object
{
@ -31,8 +35,13 @@ height_field {
translate <-0.5, 0, -0.5>
}
texture {
pigment { color Gray70 }
finish { phong 0.55 }
pigment {
image_map { pgm CMNAME }
// image_map { png "WS/mire1024.png" }
rotate x*90
translate <-0.5, 0, -0.5>
}
finish { phong 0.45 }
}
}