Add mesh style lamp.

This commit is contained in:
jmsgrogan 2017-10-24 12:10:00 +01:00
parent 11d306f362
commit 29f788385d
7 changed files with 70 additions and 27 deletions

Binary file not shown.

Binary file not shown.

View file

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 KiB

After

Width:  |  Height:  |  Size: 312 KiB

Before After
Before After

View file

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