1. 01 Oct, 2008 1 commit
  2. 04 Sep, 2008 1 commit
  3. 02 Sep, 2008 1 commit
  4. 22 Aug, 2008 1 commit
  5. 06 Aug, 2008 1 commit
  6. 23 Jul, 2008 1 commit
  7. 20 Jun, 2008 1 commit
  8. 12 Jun, 2008 1 commit
    • Oliver Bock's avatar
      Fixed BOINC include dir · e90cb950
      Oliver Bock authored
      * BOINC seems to have changes its include dir from upper to lower case
      * Also: fixed install dir variable in makefiles
      * Also: removed commented/unused code
      e90cb950
  9. 23 May, 2008 1 commit
    • Oliver Bock's avatar
      Implemented build target for Mac OS · 1907bf36
      Oliver Bock authored
      * Added dedicated starsphere Makefile (symbol stripping doesn't work with g++ 4.0 on OSX, linker flags static/dynamic not supported)
      * Added necessary patch for OGLFT (OpenGL header location, GLU callback convention)
      * Tested on i386, using OpenGL framework (not X11)
      * Also: fixed a bug in OGLFT build (link freetype library!)
      1907bf36
  10. 20 May, 2008 1 commit
  11. 19 May, 2008 2 commits
    • Oliver Bock's avatar
      Minor updates · f4519e97
      Oliver Bock authored
      * Fixed wrong env var in Makefile
      * Added tools to prerequisites
      f4519e97
    • Oliver Bock's avatar
      Added automated build of the starsphere application · 80a3151d
      Oliver Bock authored
      * Amended and added Makefiles where necessary
      ** Fixed/optimized Makefiles with regard to static linking
      ** Added install targets
      * Implemented build_starsphere() in build script
      * The framework part is built as a static library
      
      Notes:
      * ORC might eventually be an API (library) rather than an executable
      * There are minor dependencies between the framework and the graphics implementations due to GraphicsEngineFactory
      ** This currently prevents the framework to become truely independent (BOINC integration)
      ** Plugins could be a solution to this...
      80a3151d
  12. 15 May, 2008 1 commit
  13. 14 May, 2008 2 commits
  14. 13 May, 2008 1 commit
  15. 09 May, 2008 1 commit
    • Oliver Bock's avatar
      Trying to remove strange artefact on windows · 0fe7c278
      Oliver Bock authored
      * Should again be related to OpenGL context reset
      * Explicitly deleting and regenerating the GL lists might solve it
      * Minor reindentation and line break improvements
      * Makefile improvement (just clean known object files)
      0fe7c278
  16. 13 Apr, 2008 1 commit
    • Oliver Bock's avatar
      Substituted FTGL with OGLFT · ebf78c0e
      Oliver Bock authored
      * Using single font instances per text group (adds flexibility, avoid font change during render)
      * initialize() and resize() are now virtual, and overridden in subclass
      * HUD dimensions now follow actual size (no more scaling needed)
      * No more FSAA needed
      * Removed unnecessary Open GL calls during render
      
      Pro:
      - Crystal clear HUD text
      - Constant HUD text size
      Con:
      - Slightly higher CPU usage (5% -> 7.5%, also for full screen?)
      ebf78c0e
  17. 11 Apr, 2008 1 commit
    • Oliver Bock's avatar
      Updated Makefile · c88e95cd
      Oliver Bock authored
      * To include new classes
      * To use a "normally" installed OGLFT
      c88e95cd
  18. 09 Apr, 2008 1 commit
  19. 07 Apr, 2008 1 commit
  20. 03 Apr, 2008 2 commits
    • Oliver Bock's avatar
      Assert that there's at least one observer (changing vom DEBUG to NDEBUG due to... · 519b3671
      Oliver Bock authored
      Assert that there's at least one observer (changing vom DEBUG to NDEBUG due to use of assert() which is scrapped by the precompiler ifdef NDEBUG)
      519b3671
    • Oliver Bock's avatar
      Introducting new abstract class AbstractGraphicsEngine · dc229447
      Oliver Bock authored
      * Defines the interface common to all graphics engines/applications
      * Starsphere implements that interface (is derived from this abstract class)
      * WindowManager know uses the Observer pattern for event propagation
      * Event handling is now done privately in Starsphere (as promised)
      * View and feature control doesn't need to be exposed to the public anymore
      
      Fix:
      * WindowManager: don't exit() just break the event loop to do proper clean-up!
      dc229447
  21. 02 Apr, 2008 2 commits
    • Oliver Bock's avatar
      New class Starsphere (first crude refactoring of the old starsphere code into proper C++) · 3331633d
      Oliver Bock authored
      * Starsphere also does font handling on its own (however, based on given resource)
      * Rest of Open GL settings moved to Starsphere's initialization()
      * Still needing much cleansing
      * Main.C looks much better now :-)
      * Deleted search_info and user_text as they're (or will be) part of Starsphere of course
      
      * WindowManager still uses Starsphere directly. Needs to be changed soon to much more loose coupling!
      ** Event observer
      ** Interface or abtract class as generic "RenderEngine"
      3331633d
    • Oliver Bock's avatar
      New class WindowManager (first crude refactoring of SDL code) · 2d05ae98
      Oliver Bock authored
      * Handles all SDL related things
      * Currently contains direct calls to starsphere (should be changed using event observers!)
      2d05ae98
  22. 29 Mar, 2008 2 commits
  23. 26 Mar, 2008 2 commits
  24. 25 Mar, 2008 2 commits
    • Oliver Bock's avatar
      Added valgrind support · d78d2d25
      Oliver Bock authored
      * Specific make targets "memcheck" and "callgrind"
      * Target automatically execute valgrind (over ten render iterations)
      d78d2d25
    • Oliver Bock's avatar
      Code cleanup · eaa1d9d5
      Oliver Bock authored
      * don't clean when building debug version
      * don't enable FSAA by default :-)
      * enable globe by default
      * GL_POINT_SMOOTH is already set in init
      eaa1d9d5
  25. 24 Mar, 2008 1 commit
    • Oliver Bock's avatar
      Introducting FTGL for font rendering · 2907536e
      Oliver Bock authored
      * There seems to be now real alternative to FTGL
      * OpenGL doesn't provide for integrated font handling
      * SDL_TTF also uses libfreetype (as FTGL). Maybe SDL 1.3 will do better?
      * Other libs are not as versatile
      
      Note: the current commit tries to use nice 3D vector fonts (polygon, extruded, outlines, textured) for efficient rendering.
      Therefore any viewport transformation (gluLookAt) has to be reversed in case one wants text to be stationary (logo, BOINC data).
      Although the initial translation back to the origin and the final translation to the desired, stationary position work fine, the
      combined rotations in between do *not*. Single reverse rotations around (x and z) or (y and z) work fine, however all three axes
      combined still don't work due to some matrix multiplication issue - is the order of rotations really important when one rotates
      around the origin? If so, which is correct (how does gluLookAt work?)? Is there any other way to reverse gluLookAt's transformations
      (matrix inversion?) Help needed...
      
      Thus, this is just an premlimary commit just to store the idea...
      2907536e
  26. 22 Mar, 2008 2 commits