Procedural Textures package new version

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

Procedural Textures package new version

David Faught
From the package comments:
----
Name: Tweak-OpenGL-daf.11
Author: daf
Time: 11 August 2007, 10:13:08 am

Improved noise using Lumina GLSL noise from
http://lumina.sourceforge.net/ with the authors permission.  Added a
2nd shader stack to simply combine procedurals.

Requires the OpenGL-OpenGL package from the PublicContribs repository
to be installed first.  It is necessary to manually do "OGLExtManager
initialize" after loading the OpenGL-OpenGL package.

The newest OpenGL package from the Hedgehog repository should also be
merged.  Thanks to Andreas Raab for a big performance boost.

This package also depends on a fix for Mantis #6553, which can
temporarily be a trivial do-it-yourself thing. Just change
VectorColor#asVector4 so that it returns a Vector4 instance instead of
a Vector3.

Install the 3 packages, do the 2 manual items above, then in Squeak
open a Tweak Project Window, get a Workspace from the Tools menu,
enter "GPUInfo new chkGLSLSupport" and doIt.  If this says that you
have GLSL support, then enter "Wrinkle2 open" and doIt.
----
It would be really nice if someone could verify that this works on
other platforms and let me know.  I have Windows XP and NVidia 5200
FX.  It was necessary to include code to change the GLSL source line
endings in order to get the preprocessor statements to work.  I am
hoping that I did this properly for all platforms.  Thanks!