home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
togl15.zip
/
README
< prev
next >
Wrap
Text File
|
2000-04-16
|
5KB
|
121 lines
Togl 1.5 for OS/2
Togl 1.5
[1]Togl is a [2]Tk widget for OpenGL rendering.
I have ported part of Togl to OS/2 using the PGL API in order to
develop my [3]CS 488 assignments at home. I have only ported the RGB
parts of Togl, and not the colour index modes, and not other features
of Togl.
In Togl, versions for Windows and X exist simultaneously in the source
file. In my port I added an EMX version, so all three versions exists
simultaneously in the source file. I have not tested this version
under Windows, so it is possible I accidently broke that part of it. I
have done marginal testing of the X code in Togl.
How to get Togl 1.5 for OS/2
Source for Togl 1.5 for OS/2 is available to [4]download in zip file
format.
[5]Example code that uses Togl is available from the [6]CS 488/688
website.
How do I use Togl 1.5 for OS/2
System Requirements
Tcl/Tk
First you will need [7]Tcl/Tk for OS/2. My port for Togl has only been
tested on the 8.0.5 beta version of Tcl/Tk, and probably will not work
with the 7.6/4.2 release.
As part of the source code, I need tkOS2Int.h from the source files
for Tcl/Tk. If you use a newer version of Tcl/Tk, this file may need
to be replaced.
Warning: Togl 1.5 for OS/2 uses internal code from Tcl/Tk 8.0.5
(tkOS2Int.h), and therefore it is subject to change. So be careful out
there.
OpenGL
OpenGL for OS/2 Warp is available by [8]FTP from IBM. I suggest
downloading [9]oglgold.zip.
Compiler
Togl is used to develop programs. So you will of course need a
compiler. Togl compiles under [10]emx and gcc.
Interface
The [11]C interface and [12]Tcl/Tk interface for Togl are described at
the [13]Togl homepage.
Bugs
Many features of Togl probably do not work. But my assignments for my
[14]CS 488 run fine, and that is all I wanted. If you want to port
more features of Togl, go right ahead.
Legal Stuff
Parts of this software are copyrighted by [15]Russell O'Connor.
This software is copyrighted by Brian Paul (brianp@elastic.avid.com)
and Benjamin Bederson (bederson@cs.umd.edu). The following terms apply
to all files associated with the software unless explicitly disclaimed
in individual files.
The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose,
provided that existing copyright notices are retained in all copies
and that this notice is included verbatim in any distributions. No
written agreement, license, or royalty fee is required for any of the
authorized uses. Modifications to this software may be copyrighted by
their authors and need not follow the licensing terms described here,
provided that the new terms are clearly indicated on the first page of
each file where they apply.
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND
THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
_________________________________________________________________
[16]Russell O'Connor: [17]roconnor@uwaterloo.ca
References
1. http://Togl.sourceforge.net/
2. http://dev.scriptics.com/software/tcltk/
3. http://www.undergrad.math.uwaterloo.ca/~cs488/
4. file://localhost/u7/roconnor/public_html/togl/toglOS2.zip
5. http://www.undergrad.math.uwaterloo.ca/~cs488/a1.zip
6. http://www.undergrad.math.uwaterloo.ca/~cs488/OS2index.html
7. http://www.vaeshiep.demon.nl/
8. ftp://ftp.austin.ibm.com/pub/developer/os2/OpenGL/
9. ftp://ftp.austin.ibm.com/pub/developer/os2/OpenGL/oglgold.zip
10. http://hobbes.nmsu.edu/pub/os2/dev/emx/v0.9d/
11. http://togl.sourceforge.net/#Cfuncs
12. http://togl.sourceforge.net/#TclFuncs
13. http://togl.sourceforge.net/
14. http://www.undergrad.math.uwaterloo.ca/~cs488/
15. mailto:roconnor@uwaterloo.ca
16. http://www.undergrad.math.uwaterloo.ca/~roconnor/
17. mailto:roconnor@uwaterloo.ca