Rain and more
This commit is contained in:
@@ -431,10 +431,12 @@ def make_bridge(name, seed):
|
||||
# Arch soffit, seen in the water reflection.
|
||||
quad_face(mb, [V(x0, yo, u0), V(x1, yo, u1), V(x1, -yo, u1), V(x0, -yo, u0)], V(0, 0, -1), STONE, (0, 1), 2.0,
|
||||
ao=lambda z: 0.45)
|
||||
for s in (-1, 1): # end faces
|
||||
for s in (-1, 1): # end faces: below the deck, plus the parapet ends (the entrance stays open)
|
||||
x = s * L / 2
|
||||
pts = [V(x, -yo, -0.6), V(x, yo, -0.6), V(x, yo, deck_z(x) + WALL_H), V(x, -yo, deck_z(x) + WALL_H)]
|
||||
quad_face(mb, pts if s > 0 else pts[::-1], V(s, 0, 0), STONE, (1, 2), 2.0)
|
||||
d = deck_z(x)
|
||||
for y0, y1, z0, z1 in ((-yo, yo, -0.6, d), (-yo, -yi, d, d + WALL_H), (yi, yo, d, d + WALL_H)):
|
||||
pts = [V(x, y0, z0), V(x, y1, z0), V(x, y1, z1), V(x, y0, z1)]
|
||||
quad_face(mb, pts if s > 0 else pts[::-1], V(s, 0, 0), STONE, (1, 2), 2.0)
|
||||
|
||||
# Cutwaters on the piers, posts along the parapets.
|
||||
for p in piers:
|
||||
|
||||
Reference in New Issue
Block a user