osgjs

Javascript Implementation of OpenSceneGraph

  • Owner: cedricpinson/osgjs
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Status - DISCONTINUED

Join the chat at https://gitter.im/cedricpinson/osgjs
Build Status
Coverity 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 contact@osgjs.org. Follow @trigrou on twitter to get news and updates.

Examples / Tutorials

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:

# if you dont have grunt-cli installed, use sudo on linux
# npm install -g grunt-cli
npm install

Compile:

grunt build

Compile whenever watched files change:

grunt watch

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

Running the examples

Download the osgjs-data submodule repository. It will be added to the examples/media folder:

grunt sync

Then simply type in the command-line:

grunt serve

You can now test some real examples http://localhost:9000/examples http://localhost:9000/tutorial

Executing unitary tests

Launch:

grunt test

Convert file to osgjs

You can easily convert 3D file with osgconv tool. To do that you can get the docker image here https://hub.docker.com/r/trigrou/osg/ and use it to convert a 3d file into osgjs file format. There is more infos on wiki

Main metrics

Overview
Name With Ownercedricpinson/osgjs
Primary LanguageJavaScript
Program languageHTML (Language Count: 5)
Platform
License:MIT License
所有者活动
Created At2011-04-28 12:36:33
Pushed At2020-04-23 11:21:38
Last Commit At2020-04-23 13:21:37
Release Count17
Last Release Name0.2.9 (Posted on 2018-02-13 11:24:55)
First Release Namecompute_near/far (Posted on )
用户参与
Stargazers Count794
Watchers Count68
Fork Count204
Commits Count2.8k
Has Issues Enabled
Issues Count118
Issue Open Count20
Pull Requests Count750
Pull Requests Open Count4
Pull Requests Close Count140
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private