Open jared-hughes opened 3 years ago
Sample use case: making a barbell with two spheres and a cylinder. The user would want to make a list with these three objects, then use all three in a Mesh call to share the material.
Mesh
Suggested syntax: geoms = [SphereGeometry(2), CylinderGeometry(1, 5), SphereGeometry(2)]
geoms = [SphereGeometry(2), CylinderGeometry(1, 5), SphereGeometry(2)]
(Unfortunately, position can only be specified right now on Meshes)
Also a use case: colors = [RGB(0,0,0), RGB(100,100,100), RGB(250,250,250)] instead of colors = RGB([0,100,250], [0,100,250], [0,100,250])
colors = [RGB(0,0,0), RGB(100,100,100), RGB(250,250,250)]
colors = RGB([0,100,250], [0,100,250], [0,100,250])
This would also be a prerequisite before creating a Group function.
Group
Sample use case: making a barbell with two spheres and a cylinder. The user would want to make a list with these three objects, then use all three in a
Mesh
call to share the material.Suggested syntax:
geoms = [SphereGeometry(2), CylinderGeometry(1, 5), SphereGeometry(2)]
(Unfortunately, position can only be specified right now on
Mesh
es)Also a use case:
colors = [RGB(0,0,0), RGB(100,100,100), RGB(250,250,250)]
instead ofcolors = RGB([0,100,250], [0,100,250], [0,100,250])
This would also be a prerequisite before creating a
Group
function.