maine-imre / handwaver

A gesture-based mathematical making environment from the University of Maine
http://www.imrelab.org
8 stars 2 forks source link

Rendering Pipeline Overhaul #82

Open camden-bock opened 5 years ago

camden-bock commented 5 years ago

Prepare for a new ECS/GGB rendering pipeline. Describe each object as a procedural mesh.

GeoGebra's object structure will be the basis for object types.

These will be grouped into paths, surfaces and regions and non-geometericObjects.

The class structure should be diagrammed with UML. Everything above will fall into the tree below.

GeoElement -- Point -- Path -- Surface -- Region -- NonGeometeric

camden-bock commented 5 years ago

Please note, none of these should inherit from MonoBehaviour

camden-bock commented 5 years ago

@rene

Nathan will add a reference to the scripts here

Start with line segment

nsgnn commented 5 years ago

https://github.com/maine-imre/handwaver/blob/feature/rendering-pipeline/Assets/Scripts/Kernel/Render/GeoElementRenderLib.cs

nsgnn commented 5 years ago

ready for testing.

reneyost123 commented 5 years ago

https://github.com/nickgravelyn/Triangulator/tree/master/Triangulator

Potential method for rendering polygons

camden-bock commented 5 years ago

@nsgnn should this be redesigned in terms of user stories or left as is?

camden-bock commented 5 years ago

@reneyost123

dumb thing that I hadn't considered. We should investigate if others' have open source c# libraries for this.