Coder Social home page Coder Social logo

linkwe / osgjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cedricpinson/osgjs

0.0 1.0 0.0 227.42 MB

Javascript Implementation of OpenSceneGraph

Home Page: http://osgjs.org

License: MIT License

JavaScript 96.11% HTML 1.21% GLSL 2.47% Shell 0.07% CSS 0.14%

osgjs's Introduction

Status

Join the chat at https://gitter.im/cedricpinson/osgjs Build Status

OSG.JS WebGL framework

(http://osgjs.org/)

OSGJS is a WebGL framework based on OpenSceneGraph concepts. It allows an individual to use an “OpenSceneGraph-like” toolbox to interact with WebGL via JavaScript, and provides facilities for exporting various assets to the osgjs format. The API is kept as similar to OpenSceneGraph as possible, providing a familiar environment to veterans of the library and introducing newcomers to a popular and heavily-scrutinzed set of interfaces

The mailing list is available here: http://groups.google.com/group/osgjs

If you are interested in contributing, contact us on the osgjs gitter channel ( https://gitter.im/cedricpinson/osgjs ) or on the IRC channel #osgjs on Freenode. Also by e-mail at [email protected]. Follow @trigrou on twitter to get news and updates.

How to build your own osgjs

First, clone a copy of the main git repo by running:

git clone git://github.com/cedricpinson/osgjs.git
cd osgjs

Install required node dependencies:

npm install # before you may need to execute npm install -g grunt-cli ( using sudo if you are running linux )

Compile:

grunt build
Alternatively you can use webpack -d

Compile whenever watched files change:

grunt watch
Alternatively use webpack -w  // faster than grunt watch because it uses webpack's incremental builds

The built version of osgjs will be put in the build/ subdirectory.

Running the examples

Simply type in the command-line:

grunt serve

It should open a browser pointing to the root source directory, then navigate to examples or tutorials folder.

Executing unitary tests

Launch:

grunt test

OpenSceneGraph osgjs plugin

There is a plugin on my openscengraph branch https://github.com/cedricpinson/osg. This plugin will help you to export data from osg to osgjs. More instructions are available on the wiki

osgjs's People

Contributors

kuranes avatar stephomi avatar cedricpinson avatar teybeo avatar zqsd avatar jtorresfabra avatar gfaucill avatar pierreant-p avatar sylvinus avatar hishamabdelrahman avatar arthurjamain avatar aurl avatar arcanis avatar sbouafif avatar gitter-badger avatar

Watchers

wuming 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.