Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 19 years ago

Closed 19 years ago

#15 closed defect (fixed)

Implementing GrpahicsEngine class

Reported by: patrick Owned by: bensch
Priority: major Milestone: 0.2.3-pre-alpha orx-v0
Component: GraphicsEngine Version:
Keywords: Cc:
Referenced By: References:

Description

this class should become a little primitive GraphicsEngine that manages things like:

  • concrete use:
    • setting up all SDL attributes
    • setting up all lights, materials
    • able to reinig SDL if the graphics mode/resolution should ever change during game
    • determines wether the drawable objects should be drawed or not (depends also from mode, like debug mode draws everything)
    • manages to display images, films, menu, console etc.
    • should be able to calculate the computer/graphics speed to set the optimal resolution settings (future)
  • requirements:
    • see concrete use
  • implementation:
    • class that is loaded at startup in the init section of orxonox.cc
    • class is a singleton
    • class works in different modes: menu-mode, film-mode, image-mode, game-mode (more?)
    • manages light sources, shadows, effects.
    • state of the graphics engine must be displayable (debug function)

Change History (4)

comment:1 Changed 19 years ago by bensch

Implemented the Gui-Functionality to do this in [3379] in branche updater.

comment:2 Changed 19 years ago by patrick

  • Owner changed from patrick to bensch

comment:3 Changed 19 years ago by bensch

  • Milestone changed from 0.2.2-pre-alpha to 0.2.3-pre-alpha

comment:4 Changed 19 years ago by bensch

  • Resolution set to fixed
  • Status changed from new to closed

done implementing a structure

now it only has to be updated.

Note: See TracTickets for help on using tickets.