Vue.js components rendering 3D WebGL graphics reactively with three.js
names
prop type accepts space-separated string as a group of names. Then name
prop type is restricted not to have any spaces.
Therefore, VglMesh component can accept space-separated names as material names.
VglExtrudeGeometry component now accepts names of the VglShape component as shapes
prop.
VglNamespace
component now provides Namespace
class instances those have event listening system. Please check the document and code for VglNamespace
if you touch namespaces directly.
In previous versions, beforeRender
hook was called to set geometries, materials, and other objects specified by name. From this version, beforeRender
hook is removed and objects are set synchronously in watchers.
This version requires three.js v0.110.0 or above.
New features
VglExtrudeGeometry
componentFixes
fog
and backgroundTexture
for VglScene
name
property of the THREE's Object3D by propmaterials
prop of Objects now accept array of materials.