jagenjo / rendeer.js Goto Github PK
View Code? Open in Web Editor NEWLight-weight 3D Scene graph library with renderer in WebGL
License: MIT License
Light-weight 3D Scene graph library with renderer in WebGL
License: MIT License
You can't stop orbiting once it starts - ESC doesn't help
In rendeer.js source code, I found multiple ways to set uniforms for SceneNode
, all used in the renderNode
function in RD.Renderer
. These are node._uniforms
, node.onShaderUniforms
and renderer.onNodeShaderUniforms
. But these are not used/called when any material is set on the node.
Is this intentional and is there any other way to set SceneNode
specific uniforms?
Have you thought about publishing rendeer.js to NPM registry? Looks like you'd only need package.json, plus perhaps a tag or two. LiteGL is there already (https://www.npmjs.com/package/litegl/v/0.0.2) though not sure which version - I don't see the corresponding tag in Github). It would make it much easier to consumer rendeer.js for downstream projects.
Hello Javi,
If we have a node (SceneNode), and it has many descendants (a sub tree), what should happen when we apply opacity with a value less than 1
to it?
The reason I want your opinion is because the new specs for CSS 3D (css-transforms) state here that the answer is (3).
To see what I mean, view these two examples in Chrome 53 or higher:
The second example has opacity applied to the node that contains all the sub-nodes which compose the car. The opacity, according to spec, flattens the car into a plane (turns it into paper!).
I'm asking various 3D engine authors for opinions of what the correct or most expected behavior should be.
All the best,
~ Joe
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.