by Jos van de Ven <josv@[EMAIL PROTECTED]
>
Feb 22, 2008 at 10:50 PM
Richard Owlett wrote:
> Just downloaded Win32Forth and saw that it has words to interface with
> Opengl. I wish to draw some line graphs in 3D space and the rotate them
> for visual examination. *LINES ONLY _NO_ SURFACES* Where would I find
> do***entation. Thanks.
I guess you downloaded version 6.12.
In that version there is an interface that was adapted for a chess game.
You can download the original interface from:
http://home.planet.nl/~josv
It is in the pack Scenev22.zip
That pack works with version 4.20671 of Win32Forth and
still needs to be ****ted to the new version of Win32Forth.
In the menu Scene you will find "A study"
Start it and hit the Z key. Then it will rotate.
Push some keys like PageUp and PageDown and you will zoom into
it while it is rotating. Other keys are in the menu.
There is no extensive do***entation in the pack.
But you have the source in with a number of hints.
In Cylinder.f is the source of a study to see the impact
when things are changed.
Try to change Cylinder.f by adding some extra LINE3f words.
LINE3f is described in opengl.f. Please note the stack notations.
Win32Forth is only a vehicle to OpenGL.
I used the red book "OpenGL Programming Guide, Second
Edition," and it's by Woo, Neider, and Davis; ISBN 0-201-46138-2
to understand OpenGL.
Jos