Howto - Loading OpenGL in Squeak 3.9

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Howto - Loading OpenGL in Squeak 3.9

Jakub Kozisek
There is a project on SqueakSource by Chao-Kuo Lin that contains
OpenGL part of Croquet *without* positional arguments.

To get OpenGL running in 3.9:

1) install FFI and Balloon3D from SqueakMap Package Loader

2) open Monticello HTTP repository:

MCHttpRepository
    location: 'http://www.squeaksource.com/OpenGL'
    user: ''
    password: ''

3) select OpenGL-ckl.4.mcz and load it

4) apply attached change-set

5) make sure, that Squeak.ini contains

B3DXUsesOpenGL = 1

6) and play :)

OpenGLMorph new openInWorld.

Resources:
Project page - http://www.squeaksource.com/@kmjIlYFvZsBIaHaX/MYfuMDNe.
Positional aguments - http://www.lazarevic.de/PositionalArgs.html
(Example 4 to see the difference)

Jakub



OpenGLUpdate.1.cs (1K) Download Attachment