You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The engine has some basic functionality to create a Mesh via the Geometry class. There are some subclasses of Geometry to create specific shape types (box, sphere, etc). However, we could augment geometries to be far more powerful.
Let's say we start out with some kind of API to define a 2D path. This could be use to define polygons (and holes in polygons). Then you could apply 'modifiers' (as they are known in 3DS Max) to manipulate the polygons somehow. Examples could be:
Triangulate
Extrude
Bevel
Subdivide
UV Unwrap
...and so on.
Using this system, in just a few lines of JS, I could define a very simple path (let's say a five-pointed star), extrude it, bevel it, apply a nice material and procedurally generate a very nice looking geometric shape. I could also build a powerful 3D text system which starts out creating a path using outlines defined in a TTF font. I could also load an SVG say (of a logo perhaps) and trivially turn it into a 3D shape.
What would be good is to design a general-purpose framework for adding these modular modifiers/ops over time.
The text was updated successfully, but these errors were encountered:
The engine has some basic functionality to create a
Mesh
via theGeometry
class. There are some subclasses ofGeometry
to create specific shape types (box, sphere, etc). However, we could augment geometries to be far more powerful.Let's say we start out with some kind of API to define a 2D path. This could be use to define polygons (and holes in polygons). Then you could apply 'modifiers' (as they are known in 3DS Max) to manipulate the polygons somehow. Examples could be:
Using this system, in just a few lines of JS, I could define a very simple path (let's say a five-pointed star), extrude it, bevel it, apply a nice material and procedurally generate a very nice looking geometric shape. I could also build a powerful 3D text system which starts out creating a path using outlines defined in a TTF font. I could also load an SVG say (of a logo perhaps) and trivially turn it into a 3D shape.
What would be good is to design a general-purpose framework for adding these modular modifiers/ops over time.
The text was updated successfully, but these errors were encountered: