kenperlin / chalktalk

MIT License
2.12k stars 137 forks source link

reorganizing ITP template, adding grunt build with require #1

Closed therewasaguy closed 9 years ago

michaelwahrman commented 9 years ago

Wow this is great. This seems wildly productive on your part and even documented ! Did Ken explain the problem I ran into which I would badly describe as " mesh or geometry", "one or many"?

MW

On Fri, Nov 21, 2014 at 12:54 PM, Jason Sigal notifications@github.com wrote:


You can merge this Pull Request by running

git pull https://github.com/therewasaguy/chalktalk ITP

Or view, comment on, or merge it at:

https://github.com/kenperlin/chalktalk/pull/1 Commit Summary

  • Added plane geometry to four.js.
  • Moved over to new 3D rendering approach, in which the rendered object is part of the original sketch.
  • Added ambient, diffuse and specular to defaultFragmentShader.
  • Added method setUniform to Material in four.js.
  • Added multiple lights to defaultFragmentShader.
  • Got copySketch to work with sketch.createMesh, via small change in g.js.
  • Got line-drawing fade-out working properly for sketches with a createMesh method.
  • Proper checking for .js extension when loading files from sketches/*.js.
  • Corrected ratio between panning on canvas and translation of 3D render.
  • Allow editing of sketch scripts.
  • Added capability for procedural vertex displacement.
  • Added sketches/torus.js.
  • Fixed an error in file naming of sketches/{c2s,torus}.js.
  • In sketches.js, made it easier to define good meshBounds.
  • Cleaned up format of sketches/ngon.js.
  • Fixed implementation of sketch.setRenderMatrix() so z rotation goes the correct way.
  • Fixed a bug whereby sketch.onClick did not override opening up fragment shader.
  • Call sketch.update inside sketch.updateMesh().
  • Renamed sketch.updateMesh() to sketch._updateMesh().
  • Added sketch.setMaterialRGB(rgb[]) for setting the color of a mesh material.
  • Allow application programmer to specify sketch/{ambient,diffuse,specular}.
  • Correct scale factor for perspective operation in sketch.setRenderMatrix().
  • add draw rect functions
  • add gal sketch for tactonic (name to be changed)
  • Took out perspective for now, in setRenderMatrix, until we can get it working properly with shading.
  • Merge branch 'master' of github.com:kenperlin/chalktalk
  • Removed bad sketch treeSlice.js
  • Figured out how to do syntax checking for a vertex shader.
  • Merge branch 'master' of github.com:kenperlin/chalktalk
  • Merge remote-tracking branch 'upstream/ITP' into ITP
  • Merge remote-tracking branch 'upstream/ITP' into ITP
  • ITP template: grunt build and reorganizing
  • putting utility.js back to normal
  • removing unused grunt module

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/kenperlin/chalktalk/pull/1.

michael.wahrman@gmail.com (blog) globalwahrman.blogspot.com (cel) 323 833 9087