Skip to content

ianpaschal/three-vue-viewport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Three.js & Vue.js Viewport

A Three.js & Vue.js viewport component for 3D applications.

license label

Overview

This Vue.js component helps make it easier to use Three.js in your applications. The component creates its own camera and renderer (either perspective or orthographic), and uses a global Three.js scene in your Vuex store.

Example

Live (Coming soon!) | (Source)

alt text

Four Vue.js components rendering a single global scene. They are (clockwise from upper left): top, front, left, and perspective.

Installation

npm install --save three-vue-viewport

Usage

Make sure you have Vuex installed and have created a Three.js scene

FAQ

Can I use this without Vuex?

Maybe. In theory, just pass your scene into the component. This may have some scope issues though, we'll see. You'll notice this repository is blank and I won't have time to work on it until a week or so for now.

Did you really pass on the opportunity to call this a three-vueport?

Yes.

About

A Three.js & Vue.js viewport component for 3D applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published