SceneJS is an open source 3D engine for JavaScript which provides a JSON-based API for defining and manipulating 3D scenes on WebGL.
Questions tagged [scenejs]
16 questions
9
votes
1 answer
Convert 3D model to SceneJS JSON, including texture
Motive
I'm trying to create a small demo application using WebGL. I chose to use SceneJS, because it seemed an easy framework and would more than suffice for this purpose.
I have downloaded a couple of .blend models (Amy Rose, amongst others) and…

GolezTrol
- 114,394
- 18
- 182
- 210
4
votes
1 answer
WebGL animation flickering, object too big?
I created a webgl animation using scenejs library (start it by clicking the button at the bottom left, note it plays music as well which you can't currently disable).
The problem I am encountering is that the floor/plane in the middle starts…

Niklas
- 29,752
- 5
- 50
- 71
3
votes
1 answer
Zoom invariant objects in webgl
WebGl doesn't support line thickness. So when I need to highlight some line, I just draw rectangle around it. But when I zoom scene it looks pretty scary.
There are two ways I see now:
1) Recalculate rectangle width according to canvas.width into…

Alex
- 131
- 8
3
votes
1 answer
Collecting webGL app framerate histogram data
I'm thinking to stick for a particular framework to work for my academic course but only based on results I should prove. I want to plot the graph for all the three frameworks where No.of Vertices is one axis and FPS (threshold is 60) is on other…

three.jsaddict
- 295
- 2
- 9
- 21
2
votes
1 answer
Adding materials/textures to an existing THREE.Mesh (three.js)
I'm looking for the ability to pull images (from a database or wherever) and overlay these onto a THREE.Mesh (three.js) based on some user input. What I think I need to do is the following:
1) Create a new material with texture from an image and add…

Jeff R.
- 371
- 1
- 3
- 9
1
vote
2 answers
SceneJS graphing examples
Are there any good open source SceneJS examples that can graph functions similar to those demonstrated in http://www.graphycalc.com/?

Joris
- 363
- 5
- 13
1
vote
2 answers
Three.js - possible to use JSON to declare objects?
I'm trying to decide on the best Javascript 3D library for my project.
I like Three.js a bit more than Scene.js, but the coding style of Scene.js seems more efficient, because I need to create about 100 objects on the fly, and this would mean…

Dylan
- 9,129
- 20
- 96
- 153
1
vote
1 answer
Scene.JS Resources
I am trying to learn WebGL using the popular Scene.JS library which apparently suits my application more than three.js(scientific visualization).
However there seems to be a dearth of tutorials and learning resources for it.
Can someone point me to…

Hobby_Web_programmer
- 775
- 2
- 10
- 18
1
vote
0 answers
How to do Picking via IdMapping in Scenejs?
We have ONE huge Json Mesh like this which we render with scenejs:
{"vertices":[
0.0, 0.0, 0.0,
0.0, 0.0, 2.0,
1.0, 0.0, 2.0,
0.0, 2.0, 2.0, //... next object
],
"normals":[
0.0, 0.0, 1.0,
0.0, 0.0, 1.0,
0.0, 0.0, 1.0,
0.0, 0.0, 1.0, //... next…

Stefan Ramson
- 531
- 1
- 6
- 18
0
votes
0 answers
Scenejs/Render - How to make use of its Render Module?
I created an animation and wanted to export into video. For which there is Render module that i installed via npm.
https://www.npmjs.com/package/@scenejs/render
Installation
$ npm install @scenejs/render
Usage
basic
$ render -i index.html
It…

Wolfie
- 101
0
votes
1 answer
Reusing JSON object nodes with SceneJS
I've created a webgl animation using the scenejs framework. As it'll contain a lot of identical elements, I want to minimize the amount of code used and re-use the elements as much as possible.
Firstly, I've got diskJSON defined as following:
var…

Niklas
- 29,752
- 5
- 50
- 71
0
votes
1 answer
SceneJS import models does not workiwth IE
I am exploring webGL frameworks. I like SceneJS, but there seems to be some compatibility issues with IE. For example, in IE 11, importing the OBJ files freezes up in the online examples:
Here is the link
Any ideas? Or is this good evidence that…

adamM
- 1,116
- 10
- 29
0
votes
1 answer
Scenejs Rectangular Prism texture preserving aspect ratio
I am a newbie to Scenejs with the following problem.
I get 30 to 50 thumbnail images from a query. The images have width around 200 px and height 100px to 300px. I want to present each thumbnail images as texture on separate rectangular…

user1881214
- 73
- 1
- 8
0
votes
1 answer
What is wrong in my SceneJS Code?
My Html Code:
0
votes
1 answer
How to Distribute Random cubes in a Scene using SceneJS?

three.jsaddict
- 295
- 2
- 9
- 21