Nikolay Suslov wrote:
David Faught wrote:
- ... the Procedural Textures Croquet/OpenGL/GLSL** project.
...
*> The code is available at Open Cobalt source code repository (
http://croquet-src-01.oit.duke.edu:8886/Contributions.html) as Tweak-OpenGL-daf.11.mcz.
It will be good, if we could again have it running on top of recent Squeak 4.4 image. OpenGL from Croquet is working in current Squeak, but TweakCore could not be loaded any more.
Because of the Tweak used in this project, the quickest, easiest way to resurrect it would be to use a base of OpenQwaq or Cobalt. Rewriting the UI to use Morphic would not be too hard though, for a single user environment.
- Time to redo it in WebGL anyway!*>* Yes, and what is about WebGL shader's generator being running on Smalltalk *side?
I'm not sure what you mean by this. The OpenGL code to compile and run shaders was used by this Procedural Textures project and by the Avatar animation part of Cobalt (and probably in OpenQwaq too?) As far as I am concerned, this should be part of the current OpenGL package. And FBO support too!
Or are you talking about OpenGL/ES, which is what WebGL is based on? My impression is that this is a subset of the full OpenGL. Maybe Squeak support of OpenGL should be modeled on OpenGL/ES instead of the full OpenGL??
The only API I know of for WebGL is in Javascript, so maybe Amber would be an approach. (http://amber-lang.net/)
Cheers, Dave