Results 1 to 10 of 17

Thread: A challenge porting from FreeBasic (and originally from C)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member sblank's Avatar
    Join Date
    Feb 2010
    Location
    Wayne City, Illinois
    Posts
    80
    Rep Power
    23

    A challenge porting from FreeBasic (and originally from C)

    Hi Petr, Eros, and Michael,

    I'm attaching a neat little program from FreeBasic which I translated from C. The original program was from a math professor friend of mine, George Francis (at U of I... George uses my Python OpenGL text with his REU freshmen).

    I would like to translate this program to thinBasic, but the glGetFloatv command, which fetches the aff() matrix (affine matrix) in the chaptrack() function seems problematic. Heck, there are a few other commands that are difficult for this thinBasic newbie, also!

    Anyway, if time permits, please take a look and see if anything can be recommended?

    What I like about this program is that it allows you to visualize 3D parametric surfaces and rotate them "trackball" style with the mouse (there is a python version in my text, also).

    The tro.zip file contains both the .bas file and the .exe file.

    Thanks,

    Stan
    Attached Files Attached Files

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •