va3c / GHvA3C

Grasshopper plugin to export three.json files that can be loaded by the vA3C viewer
http://va3c.github.io/viewer/grasshopper2.html
20 stars 27 forks source link

Export views and layers #16

Closed anagpuyol closed 9 years ago

anagpuyol commented 9 years ago

This branch includes the creation of Element and Material classes.

The material components for lines and meshes are now Material objects.

The Line, Mesh and MeshColoredFaces components now take an optional input parameter for the name of the layer the objects should be in. They all return a scene Element.

Views are also Elements that the scene compiler takes. The view component takes the eye and target position and the name of the view.

image

bhowes-tt commented 9 years ago

AWESOME @anagpuyol !!! FYI all this is working with the viewer we are working on here. Look for a pull request into the vA3C viewer repo soon!