Add bio type light.

This commit is contained in:
jmsgrogan 2017-10-24 12:58:25 +01:00
parent 29f788385d
commit b74feeb77c
11 changed files with 72 additions and 56 deletions

Binary file not shown.

Binary file not shown.

View file

@ -1 +1 @@
{"color": [0.1, 0.1, 0.1], "shape": "mesh", "radius": 0.8, "height": 1.5}
{"height": 1.5, "radius": 1.5, "color": [0.1, 0.1, 0.1], "shape": "bio"}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

After

Width:  |  Height:  |  Size: 304 KiB

Before After
Before After

View file

@ -7,14 +7,14 @@ from argparse import ArgumentParser
if __name__ == "__main__":
shape = "mesh"
shape = "bio"
output = "test"
if not os.path.exists(os.getcwd() + "/" + output):
os.makedirs(os.getcwd() + "/" + output)
height = 1.5
radius = 0.8
radius = 1.5
color = [0.1, 0.1, 0.1]
product_gen.generate_product.generate(shape, height, radius, color, output)