Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: how to describe logic

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2003

    how to describe logic

    Dear Users,

    I am working on VC++ using OpenGL API.In my project i have to describe the logic
    between states.When ever an event is performed there should be a state transition
    and an action.Like this there are many states and many state transitions.

    Can anyone suggest me a good logic for implementing this.Are there any free libraries
    for doing this.

    can anyone please give links where i can get code relevant to this.

    Your comments and suggestions will be much appreciated.

    Thanks in advance


  2. #2
    Intern Contributor
    Join Date
    Sep 2003
    Jersey, Channel Islands

    Re: how to describe logic


    Are we talking about any kind of states and any kind of events, and any kind of logic that governs the behaviour?

    Can you elaborate, with an example at least?

    Are you sure this is an opengl question (kidding!)?


  3. #3

    Re: how to describe logic

    Trying searching for the State design pattern and code to implement it. Its an OO approach to program state machines with tons of code avialable.
    Let me know if that helps

Posting Permissions

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