#82 open
lindsay.kay (at xeolabs)

Mesh Import from Wavefront OBJ Format

Reported by lindsay.kay (at xeolabs) | May 19th, 2010 @ 11:46 AM

Description

.OBJ is a simple file format for description of geometry. SceneJS needs to import geometry, material and texture from these into a scene graph.

Proposed Solution

Create a SceneJS.LoadOBJ node that generates its subgraph when first visited by loading and parsing an OBJ file, in a similar manner to the existing SceneJS.loadCollada node:

var graph = new SceneJS.LoadOBJ({
      uri: "http://foo.com/files/myobj.obj"
})

Limitations

V0.7.5 would provide limited OBJ support, where there would be documented guidelines for what drawing programs may export to OBJ files that are desired to work with SceneJS. Initially supported features are:

  • Triangle import only
  • Groups
  • Textures

Resources

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

SceneJS provides easy access to WebGL through a simple and declarative JavaScript API. The SceneJS API is functional, which enables its scene definitions to be really compact and expressive, while hooking into other JavaScript code just that little bit more smoothly.

Shared Ticket Bins

People watching this ticket

Pages