Iterate on graphics design
Remove atmosphere to increase contranst and switch to standard view transform instead of filmic. Replace the models for purple, yellow and white to be more consistest and distinct from each other.
BIN
model.blend
32
render.py
|
@ -12,7 +12,7 @@ def set_exclude(model, value):
|
|||
|
||||
def set_color(model, color):
|
||||
for obj in base_collection.children[model].collection.all_objects.values():
|
||||
if len(obj.material_slots) != 3:
|
||||
if len(obj.material_slots) < 3:
|
||||
continue
|
||||
obj.material_slots[1].material = bpy.data.materials[f"Liquid Surface {color}"]
|
||||
obj.material_slots[2].material = bpy.data.materials[f"Liquid Glass {color}"]
|
||||
|
@ -25,27 +25,43 @@ def render_bottle(color, model, output):
|
|||
set_exclude(model, True)
|
||||
|
||||
models = [
|
||||
"Cube",
|
||||
"Sphere",
|
||||
"Spiked",
|
||||
"Cone",
|
||||
"Cone Slim",
|
||||
"Cone Inverted",
|
||||
"Cylinder",
|
||||
# "Tubes Duo",
|
||||
"Tube",
|
||||
"Tubes Duo",
|
||||
"Tubes Trio",
|
||||
"Sphere",
|
||||
"Sphere Tiny",
|
||||
"Sphere Double",
|
||||
"Sphere Tubed",
|
||||
"Cube",
|
||||
"Spiked",
|
||||
"Pyramid",
|
||||
"Triangle",
|
||||
"Triangle Alt",
|
||||
"Pentagon",
|
||||
"Hexagon",
|
||||
]
|
||||
|
||||
|
||||
bottles = [
|
||||
["Red", "Cone", "//src/graphics/red.png"],
|
||||
["Green", "Cube", "//src/graphics/green.png"],
|
||||
["Black", "Spiked", "//src/graphics/black.png"],
|
||||
["Cyan", "Sphere", "//src/graphics/cyan.png"],
|
||||
["Purple", "Pentagon", "//src/graphics/purple.png"],
|
||||
["Yellow", "Cylinder", "//src/graphics/yellow.png"],
|
||||
["White", "Tubes Trio", "//src/graphics/white.png"],
|
||||
["Purple", "Sphere Double", "//src/graphics/purple.png"],
|
||||
["Yellow", "Triangle Alt", "//src/graphics/yellow.png"],
|
||||
["White", "Cone Inverted", "//src/graphics/white.png"],
|
||||
]
|
||||
|
||||
# Code to render a preview of all types
|
||||
# bottles = [["Red", type, f"//types/{type}.png"] for type in models]
|
||||
|
||||
# Code for prototyping speedup
|
||||
# bpy.data.scenes["Base"].cycles.samples = 1024
|
||||
|
||||
# Set active scene so the highlights/shadows isn't accidentally rendered
|
||||
bpy.context.window.scene = bpy.data.scenes["Base"]
|
||||
|
||||
|
|
|
@ -3,8 +3,5 @@ Version: 0.2.0
|
|||
Changes:
|
||||
- Renamed mod to Colour Blind Friendly Science Packs
|
||||
- Scaled to better match sizes of the items.
|
||||
- Added faux shading.
|
||||
- Fixed mesh issues with green and yellow sciences.
|
||||
- Made purple consistent with the other sciences.
|
||||
- Added base for white scinece.
|
||||
- Made black science darker.
|
||||
- Added faux shading made the colours more vibrant.
|
||||
- Redesigned production, utility and space science to more distinct and consistent shapes.
|
||||
|
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 24 KiB |