Shapes (And Materials) - VoyVivika/shapeshift GitHub Wiki
Shapes are a set of 3D Objects consisting of
- Primitives(Boxes, Spheres, Cylinders)
- Polygons (Tris and Quads)
Primitives
P3D Making use of Limited Pixel Shader Capabilities has Primatives which help with performance. Shapeshift includes the ability to Create these Primitives.
Creating
In Shapeshift 2.1 and above there is a Requirement to have a Material Created and Selected.
(Material Colors were updated to change colors around, remove colors, and include more colors.) To Create a Material you must
- Input a Name into the Material Name Input.
- Click on a Color in the Color Selector.
- Click on the Add Material (Plus) Button.
You can delete the Selected Material by Pressing the Delete Material (Trash Can) button under the color selector.
You can Update the name by inputting text into the Material Name Box and pressing the Update Name button.
You can Move a Material Up and Down the list by clicking on the corresponding direction button. (Note: Due to Limitations, colors will not follow their material)
To Select a Material, Click on it in the List of Materials. Creating a Material will automatically select it for you.
Clicking on the Color Selector with the Material Name Input empty and a Material Selected will change the color of the current Material.
After that, you can Create a Shape. Polygons Require Additional Steps.
Polygons
Polygons are flat 3D Shapes, they are the only group of Shapes in Shapeshift that require Points.
Polygons always position their Points at Point Objects. In Shapeshift 1 This was not the case, having to select a Polygon and then it's point to move that particular Polygon's point.
Types
Tri
A 3 Sided Polygon. Very Simple.
Quad
A 4 Sided Polygon. Quads must be convex at all 4 points, making them harder to work with in comparison to Tris.
Creating
Creating a Polygon requires a minimum number of Selected Points. (Tris Require 3. Quads Require 4) in addition to Requiring A Material.