Opengl is independent of gl2 or gl2 emulation, in that it can 
run without gl2 in J7.  However gl2 (more accurately jglcanvas) class can
provide a convenient container for opengl.

Чтв, 17 Мар 2011, Ian Clark писал(а):
> In J602
> 
>    load jpath '~system\examples\graphics\opengl\lab\ogl_cube.ijs'
>    gl3lab_run''
> 
> ...draws a rotatable cube, with some of the faces coloured.
> 
> Has anyone successfully extended this demo to draw a rotatable tesseract?
> 
> My son would like to see such a demo. He is intrigued by the theory
> that there's nothing 3D in the human visual cortex, apart from long
> exposure to a (tactile) 3D world, and one can soon learn to manipulate
> 4D objects almost as well. He'd like to test it out with his class.
> (An experiment first performed by neuroscientist D M MacKay in the
> 1950s, if I recall?)
> 
> ----
> 
> BTW I note these relevant threads and am about to study them in
> greater depth than hitherto...
> [Jprogramming] cubes (started by Raul Miller, 4/1/10)
> [Jgeneral] gtkide graph package using gl2 emulation (started by Bill
> Lam Feb 28).
> 
> From these I dimly gather OpenGL is now available in JGTK on most
> platforms, but not Mac yet (which stymies me). So in theory
> ogl_cube.ijs will work (--or can be made to, by replacing isigraph)?
> 
> It also occurs to me it may turn out a lot easier to work with 3D
> projections using a 2D package (gl2 emulation?) and then extend this
> to 4D rather than start with a 3D package (OpenGL) and work with
> tesseract projections into 3-space.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to