Giter Site home page Giter Site logo

threeflow.js's Introduction

#threeflow.js : Sunflow for three.js

Overview

To come..

Major to-do.

  • ao materials & ao overrides
  • node server work & npm package.
  • export normals & uvs > texture support

Installation

Installation via npm. Will run a local socket server that projects can connect to..

# npm package to come..

Quick render examples so far

1. Perlin noise scaled THREE.CubeGeometry with THREEFLOW.AreaLight Geometry Cubes

2. Camaro Model with THREE.MeshFaceMaterial,THREEFLOW.Shiny/MirrorMaterial Camaro

4. THREE.IcosahedronGeometry with THREEFLOW.AreaLight AreaLight

3. WIP - working on THREE.MorphAnimMesh & THREE.FaceColors support Camaro


Usage

To come..

coffescript example:

# create an instance of the renderer
# along with some render output paths

renderer = new THREEFLOW.SunflowRenderer
  pngPath: "renders/myRender.png"

# connect to the socket server.
renderer.connect()

# to render a three.js scene:
renderer.render scene,camera,width,height

Examples

Example source can be found here

Materials

Material documentation found here

Lights

Lights documentation found here

References

The majority of the information on Sunflow can be found in the Sunflow Wiki. To better understand the full .sc file parser, the source code for the parser can be found in the ScParser.java file in the source.

Sunflow Site

Sunflow Wiki

Sunflow Source

Sunflow Misc


threeflow.js's People

Contributors

jamieowen avatar

Watchers

James Cloos avatar Joan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.