Well Three.js is amazing:
Just adapted the black and white shape image to this Particle Shape Tween. Which basically replaces the shape with particles.
Well Three.js is amazing:
Just adapted the black and white shape image to this Particle Shape Tween. Which basically replaces the shape with particles.
At university my computer graphic professor Hartmut Schirmacher gave us an excercise to implement various effects on a sphere in webgl with shaders based on his given webgl framework. His framework made it fairly easy though. Well here it is:
The features are:
All textures are taken from NASA’s Blue Marble collection.
This is my solution to cg2 exercersise a03.
Another lovely javascript excerise. Just uncheck the animation to control it better.
This is my solution to cg2 exercersise a02.5-2.6.
One interesting part is the z-fighting, which doesn’t happen with polygon offset fill.
1 2 3 4 | gl.polygonOffset(0.1, 0.1); gl.enable(gl.POLYGON_OFFSET_FILL); gl.drawElements(gl.TRIANGLES, this.indexBuffer.numIndices(), gl.UNSIGNED_SHORT, 0); gl.disable(gl.POLYGON_OFFSET_FILL); |
This is my solution to cg2 exercersise a02.1-2.4.
Well there is not much to say about this excerise, really. You can create lines and circles, drag them, and change their attributes.
This is my solution to cg2 exercersise a01.1.
© 2024 "Where to now?" – M.M.
Theme by Anders Norén — Up ↑