logo       

Howto - Loading OpenGL in Squeak 3.9: msg#00131

lang.smalltalk.squeak.beginners

Subject: Howto - Loading OpenGL in Squeak 3.9

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

Attachment: OpenGLUpdate.1.cs
Description: Binary data

_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise