feat: the Ljoskjarne floats 0.8 m above the ground
This commit is contained in:
parent
036596b80d
commit
38bb8f1813
2 changed files with 3 additions and 3 deletions
|
|
@ -129,7 +129,7 @@ shade = np.clip(nm @ np.array([-0.5,0.5,0.7])/np.linalg.norm([-0.5,0.5,0.7]), 0,
|
|||
Image.fromarray((np.clip(face*shade[...,None]*1.6,0,1)*255).astype(np.uint8)).save(os.path.join(d,"prev_nexus_bump.png"))
|
||||
|
||||
# --- preview: the pyramid as AlfarNexus builds it
|
||||
HGT, B, LIFT = 2.0, 1.0, 0.5 # AlfarNexusLook: 2 m tall, 2 m base, floating 0.5 m up
|
||||
HGT, B, LIFT = 2.0, 1.0, 0.8 # AlfarNexusLook: 2 m tall, 2 m base, floating 0.8 m up
|
||||
apex = np.array([0, LIFT+HGT, 0]); c = [np.array(p) for p in [(-B,LIFT,-B),(B,LIFT,-B),(B,LIFT,B),(-B,LIFT,B)]]
|
||||
lit = np.asarray(out, dtype=np.float32)/255
|
||||
lit = lit*(1-glow[...,None]) + np.array([0.35,0.75,1.0])*glow[...,None]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue