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):
|
def set_color(model, color):
|
||||||
for obj in base_collection.children[model].collection.all_objects.values():
|
for obj in base_collection.children[model].collection.all_objects.values():
|
||||||
if len(obj.material_slots) != 3:
|
if len(obj.material_slots) < 3:
|
||||||
continue
|
continue
|
||||||
obj.material_slots[1].material = bpy.data.materials[f"Liquid Surface {color}"]
|
obj.material_slots[1].material = bpy.data.materials[f"Liquid Surface {color}"]
|
||||||
obj.material_slots[2].material = bpy.data.materials[f"Liquid Glass {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)
|
set_exclude(model, True)
|
||||||
|
|
||||||
models = [
|
models = [
|
||||||
"Cube",
|
|
||||||
"Sphere",
|
|
||||||
"Spiked",
|
|
||||||
"Cone",
|
"Cone",
|
||||||
|
"Cone Slim",
|
||||||
|
"Cone Inverted",
|
||||||
"Cylinder",
|
"Cylinder",
|
||||||
# "Tubes Duo",
|
"Tube",
|
||||||
|
"Tubes Duo",
|
||||||
"Tubes Trio",
|
"Tubes Trio",
|
||||||
|
"Sphere",
|
||||||
|
"Sphere Tiny",
|
||||||
|
"Sphere Double",
|
||||||
|
"Sphere Tubed",
|
||||||
|
"Cube",
|
||||||
|
"Spiked",
|
||||||
|
"Pyramid",
|
||||||
|
"Triangle",
|
||||||
|
"Triangle Alt",
|
||||||
"Pentagon",
|
"Pentagon",
|
||||||
"Hexagon",
|
"Hexagon",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
bottles = [
|
bottles = [
|
||||||
["Red", "Cone", "//src/graphics/red.png"],
|
["Red", "Cone", "//src/graphics/red.png"],
|
||||||
["Green", "Cube", "//src/graphics/green.png"],
|
["Green", "Cube", "//src/graphics/green.png"],
|
||||||
["Black", "Spiked", "//src/graphics/black.png"],
|
["Black", "Spiked", "//src/graphics/black.png"],
|
||||||
["Cyan", "Sphere", "//src/graphics/cyan.png"],
|
["Cyan", "Sphere", "//src/graphics/cyan.png"],
|
||||||
["Purple", "Pentagon", "//src/graphics/purple.png"],
|
["Purple", "Sphere Double", "//src/graphics/purple.png"],
|
||||||
["Yellow", "Cylinder", "//src/graphics/yellow.png"],
|
["Yellow", "Triangle Alt", "//src/graphics/yellow.png"],
|
||||||
["White", "Tubes Trio", "//src/graphics/white.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
|
# Set active scene so the highlights/shadows isn't accidentally rendered
|
||||||
bpy.context.window.scene = bpy.data.scenes["Base"]
|
bpy.context.window.scene = bpy.data.scenes["Base"]
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,5 @@ Version: 0.2.0
|
||||||
Changes:
|
Changes:
|
||||||
- Renamed mod to Colour Blind Friendly Science Packs
|
- Renamed mod to Colour Blind Friendly Science Packs
|
||||||
- Scaled to better match sizes of the items.
|
- Scaled to better match sizes of the items.
|
||||||
- Added faux shading.
|
- Added faux shading made the colours more vibrant.
|
||||||
- Fixed mesh issues with green and yellow sciences.
|
- Redesigned production, utility and space science to more distinct and consistent shapes.
|
||||||
- Made purple consistent with the other sciences.
|
|
||||||
- Added base for white scinece.
|
|
||||||
- Made black science darker.
|
|
||||||
|
|
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 |