Skip to content

Files

Latest commit

2488dac · Apr 30, 2017

History

History

cookbook

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 23, 2014
Dec 26, 2014
Dec 29, 2014
Nov 10, 2015
Nov 10, 2015
Aug 14, 2014
Aug 12, 2014
Aug 24, 2014
Aug 27, 2014
Aug 13, 2014
Apr 30, 2017
Aug 13, 2014
Aug 23, 2014
Nov 15, 2014
Dec 29, 2014
Nov 24, 2014
Nov 15, 2014
Jun 27, 2014
Oct 26, 2014
Apr 30, 2017
Dec 29, 2014

vA3C Cookbook Read Me

Web page version Source code version

Concept

2014-07-24 ~ WebGL detection added throughout

The files here are to help you get started with, for example, building apps that work with Open Studio or with WordPress.

All the files here may be downloaded and run locally without any cross-origin security issues.

The goal is to help you develop apps that can help you export data from a heavy-duty design app and make that data readily available on the web or locally for easy viewing and collaboration in your browser - all using the Three.js library.

Folders include:

Mesh Editor

Mesh Editor
Source code

  • Create, edit and export Three.js Plane Geometry Meshes
  • Added 2014-12-26

Spline Editor

Spline Editor
Source code

  • Create, edit and export and import 3D Catmull Rom Splines
  • Updates 2014-12-27 / Added 2014-12-21

JSON Reader

JSON Reader
Source code

  • Basic introduction to reading in JSON data into an HTML web page

Export Data JSON

Export Data JSON
Source code

  • Basic introduction to exporting data from a Three.js file

Load Collada Load

Web page version - Source code version

  • Loads Collada .dae file using:
    • colladLoader.js
    • loader.load
  • Geometry, materials and textures all load as expected
  • Currently the best way to load Collada files

Load Collada Parse

Web page version - Source code version

  • Loads Collada .dae file using:
    • colladLoader.js
    • loader.parse
  • Geometry, materials load as expected. Textures are a fail/
  • There seems to be no current work-around

##Load JSON Object - Load

Web page version - Source code version

  • Loads a JSON file using ObjectLoader and loader.load
  • Only load Three.js JSON 4.0+ files

Load JSON Load Read Me

Web page version - Source code version

  • Loads a JSON file using JSONLoader and loader.load
  • Only loads Three.js JSON 3.0+ files and lower

Load JSON Parse Read Me

Web page version - Source code version

  • Loads Three.js JSON files using following technique:
    • Open file and read contents
    • Run tests to determine version
    • Use loader.parse file using JSONLoader or ObjectLoader as appropriate
  • Loads geometry, materials and textures correctly
  • This suggests: loader.parse is best current solution

Drag and Drop Demo

Live Demo - Source code version

2014-11-23 ~ Versions here to be deprecated. See vA3C Hacker for latest efforts.

  • JSON only for the moment
  • Added 2014-09-29

Vertex Colors

Live Demo - Source code version

  • Exports data JSON files.
  • Creates Three.js Models where every every vertex of every face in a mesh has its own colors
  • Demo includes colors generated randomly and by algorithm
  • Added 2014-11-14

Update Tracker

Client-side Demo - Source code version

2014-11-23 ~ Versions here to be deprecated. See vA3C Hacker for latest efforts.

  • Track changes in 3D to JSON files being edited locally on a computer
  • Added 2014-11-17

Project Links

vA3C is a GitHub organization account and has multiple owners and admins. All vA3EC scripts are FOSS. Scripts are hosted on GitHub and are viewable as web pages, as described in the 'Read Me' files and as source code.

System Requirements

In order to run the script you will need a device and browser that provides good support for WebGL WebGL is the JavaScript API for rendering interactive 3D graphics and 2D graphics within any compatible web browser without the use of plug-ins.

Generally this means a computer with an Intel Core i5 processor or better with an external GPU such as one made by Nvidia. Successful use of the script on a phone or tablet is highly unlikely. A mouse or other pointing device with a scroll wheel is also highly recommended so that you can zoom, pant and rotate in 3D.

The script is currently being built and tested with the Google Chrome browser. Bugs on browsers other than Chrome need not be reported until such time as the work settles down and an effort to support more browsers is initiated.

Copyright and License

copyright © 2014 vA3C authors ~ All work herein is under the MIT License

This repository contains files that are at an early and volatile stage. Not all licensing requirements may have been fully met let alone identified. It is the intension of the authors to play fair and all such requirements will either be met or the feature in question will turned off.

Change Log

2014-11-14 ~ Theo

  • Added vertex-colors
  • Update readme

2014-08-09 ~ Added Revit JSON Import via XMLHttpRequest

2014-08-07 ~ Revit JSON Import added

2014-07-24 ~ Theo

  • Added R2 json import
  • added webgl detection throughout

2014-06-28 ~ Theo

  • Add more demos

2014-06-26 ~ Theo

  • Add folders and files