mortennobel / kickjs Goto Github PK
View Code? Open in Web Editor NEWA WebGL game engine for modern web-browsers.
Home Page: http://www.kickjs.org/
License: Other
A WebGL game engine for modern web-browsers.
Home Page: http://www.kickjs.org/
License: Other
Improve default behavior when WebGL context cannot be created
The function calls inside mat4.setTRS should be inlined
Hi,
looks like the duck model in model viewer example is not displayed correctly: screenshot.
Firefox 10, Chromium 17.
Move picking functionality out of Camera class
Support for point light
no mipmaps, no Repeat wrap mode
http://www.khronos.org/webgl/wiki/WebGL_and_OpenGL_Differences
Shader class could contain default values for uniforms
Inline function call in mat4.rotateEuler
Improve loading a model using http request
Store all scene assets in a single file. This will simplify scene loading.
Unable to pick items in chess game
Currently serialized data is assumed to use the same endianess. This may not always be the case.
This should be solved when loading/saving binary data.
Hi.
I want to render many simple objects. I have many vertex and indices for it on server. I load data from server by tiles and then try to create meshes and add to scene:
// create material
var material = new KICK.material.Material(DG.scene);
for(i in geom) {
var obj = geom[i];
var meshData = new KICK.mesh.MeshData({
'vertex' : geom.vertices,
'indices' : geom.indices,
});
var mesh = new KICK.mesh.Mesh(DG.scene, {'meshData' : meshData});
var gameObject = DG.scene.activeScene.createGameObject();
var meshRenderer = new KICK.scene.MeshRenderer();
meshRenderer.mesh = mesh;
meshRenderer.material = material;
gameObject.addComponent(meshRenderer);
}
But objects doesn't render because material need the shader and for shader need uv1. How I can use material without shader?
Support for native resolution (and wrapper for mouse input)
How to init scene with transparent background? I can't find property in scene object for it.
Materials has serialized using 0.3.x protocol
Add some mesh compression - possible WebGL-Loader
MeshData should be serialized into binary data (this will allow loading mesh data efficiently)
Improve handling of lost context (the user of the API should not bother to think about it)
Add default material (shared) and let MeshRenderer use it as default if no material specified when activated
Add simple particle engine (Shader based - ping pong textures)
Function calls in mat4.setTRSInverse should be inlined
An issue with replacement shader, which breaks shadows
Possible using require.js
Add event system (allowing to run code in next frame or in future)
Implement angle weigted normals to get better normal approximations
Currently material uniforms have the syntax
{
mainColor:{
value:[i/5,0.0,0.9,0.5],
type:KICK.core.Constants.GL_FLOAT_VEC4
},
mainTexture:{
value:engine.project.load(engine.project.ENGINE_TEXTURE_WHITE),
type:KICK.core.Constants.GL_SAMPLER_2D
}
}
That should be simplified to:
{
mainColor: [i/5,0.0,0.9,0.5],
mainTexture: engine.project.load(engine.project.ENGINE_TEXTURE_WHITE)
}
since there is really no need for type information.
When loading a scene there should be a visual progress bar indicating how much is loaded
Write assertion about mipmaps and minification
Add missing parts
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --trace-bailout
Shows that
.Mesh.bind": ForInStatement is not fast case
Allow only a subset of shader uniform to improve performance.
(But introduce some backward compatibility mode)
Currently the assert and debug values are changed during the build (this removes unused code). This part works fine.
However if game code checks the value, it should be false in release builds and true if debug builds.
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.