summaryrefslogtreecommitdiffstats
path: root/src/graphics/opengl
Commit message (Collapse)AuthorAgeFilesLines
* Engine optimization - rewritten model managementPiotr Dziwinski2012-12-262-14/+98
| | | | | | | | - new class CModelManager - rewritten engine object structure in CEngine - created shared model data instead of separate objects per each model instance - minor refactoring
* Static objects using OpenGL VBOs and display listsPiotr Dziwinski2012-12-142-2/+256
|
* ComputeSphereVisibility and fixes in CEngine TODOsPiotr Dziwinski2012-10-203-37/+71
| | | | | | | - view frustum culling with ComputeSphereVisibility - game should run faster now - resolved/removed most TODOs from CEngine - fixed OpenGL tests
* Merge branch 'dev' of https://github.com/colobot/colobot into devZaba9992012-10-111-1/+1
|\
| * Spot light angle fixPiotr Dziwinski2012-10-031-1/+1
| |
* | Added saving user scripts on game save. Fixed bug in writing script to file.Zaba9992012-10-112-1/+5
|/
* Font coloring; fix for resize hackPiotr Dziwinski2012-09-302-31/+29
| | | | | | - added font coloring and changed default color to black - fixed resize hack incorrectly changing video config, but font resizing will not work for now
* Dirty hack to allow window resizing or even full screen.adiblol2012-09-302-0/+8
| | | | | Currently makes text buggy! (full screen must be initiated by window manager, for example Alt+F11 in Fluxbox)
* Fix for transparent objects and fadeoutsPiotr Dziwinski2012-09-292-24/+2
|
* Fixed texture regressionPiotr Dziwinski2012-09-292-57/+12
| | | | | There was a bug in texture modesetting but only visible after certain mode changes.
* Some fixes and optimizationsPiotr Dziwinski2012-09-292-62/+112
| | | | | | | | - fixed 2nd texture setting - added padding to some structs for faster access - changed rendering primitives to glDrawArrays() - optimized texture modesetting calls - fixed some valgrind errors
* Completely fixed light issuesPiotr Dziwinski2012-09-271-12/+22
| | | | Directional and spot lights are now set properly
* Updated docs and some Doxygen fixesPiotr Dziwinski2012-09-271-2/+2
|
* Lighting fix (experimental)Piotr Dziwinski2012-09-261-10/+6
| | | | | - changed fixed light allocation to prioritized per-use basis - minor refactoring in CPlanet and CWater
* Fog color fix; refactoringPiotr Dziwinski2012-09-261-3/+5
| | | | | | - fixed fog color setting - removed unused glSecondaryColor and altered struct VertexCol - minor refactoring in CText
* Alpha operation fixPiotr Dziwinski2012-09-211-1/+1
|
* Namespace and styling fixPiotr Dziwinski2012-09-192-280/+288
|
* Input bindings rewritePiotr Dziwinski2012-09-191-1/+0
| | | | | | - moved input bindings to CRobotMain - added virtual keymod and joystick button key presses - fixed putenv error; other minor fixes
* Change of background image handlingPiotr Dziwinski2012-09-171-14/+44
| | | | | | - removed old 4 quarter backgrounds - fixes in texture loading - other minor fixes
* Fix max lights errorPiotr Dziwinski2012-09-161-2/+4
|
* Texture format detection; minor fixesPiotr Dziwinski2012-09-091-0/+50
| | | | | | - detection of texture format - fixed depth mask bug - minor refactoring
* Improved error messagesPiotr Dziwinski2012-08-132-12/+8
| | | | Added some logging and improved error messages displayed to user
* Test fixPiotr Dziwinski2012-08-135-16/+17
|
* Object handling in CEnginePiotr Dziwinski2012-08-121-4/+3
| | | | | | - finished rewriting CEngine object, shadow, etc. handling - refactored texture code - added new log levels
* Fixes & testing in CEnginePiotr Dziwinski2012-08-122-5/+16
| | | | | - fixed bugs in settings modes, etc. - some additions and minor refactoring
* Documentation updatePiotr Dziwinski2012-08-112-7/+11
| | | | | | - updated Doxyfile - added/changed file, dir and namespace descriptions - fixed some errors in doxygen tags
* Render mode setting, refactoringPiotr Dziwinski2012-08-111-3/+3
| | | | | | - finished SetState in CEngine - refactored Size and IntSize back to Point and IntPoint - other minor changes in CEngine
* Basic font renderingPiotr Dziwinski2012-08-032-16/+28
| | | | | - added basic font rendering - minor refactoring & fixes
* Switched to new style castsPiotr Dziwinski2012-07-301-40/+40
| | | | | | - rewrote old C-style casts to new ..._cast<> - corrected some dangerous casts - added -Wold-style-cast to compile flags
* Lines and line strip primitivesPiotr Dziwinski2012-07-301-18/+18
| | | | Will probably be useful
* Video mode changingPiotr Dziwinski2012-07-292-13/+37
| | | | | | - added video mode querying & changing - added joystick querying & changing - cleaned up CApplication interface
* GLEWPiotr Dziwinski2012-07-281-5/+31
| | | | Added GLEW for loading OpenGL extensions
* Change of paths in src/graphicsPiotr Dziwinski2012-07-264-6/+6
| | | | | - moved abstract core to src/graphics/core - moved proper graphics engine to src/graphics/engine
* Dynamic light managerPiotr Dziwinski2012-07-261-0/+1
| | | | - rewrote old CLight as CLightManager
* LightingPiotr Dziwinski2012-07-264-23/+537
| | | | | - fixed problems with lighting - added light_test
* Fixed bug in texturingPiotr Dziwinski2012-07-253-13/+20
|
* Refactoring of texture codePiotr Dziwinski2012-07-254-170/+160
| | | | | | | - refactored texture structs & functions - added note about OpenGL extensions - removed device.cpp as unnecessary - minor changes in CEngine
* Cursor drawingPiotr Dziwinski2012-07-233-20/+20
| | | | | - fixed cursor drawing in CEngine - changed event loop to generate more events
* Texture & mouse functions; refactoring & fixesPiotr Dziwinski2012-07-227-168/+106
| | | | | | | | | | | - cleaned up and added documentation to engine.h - refactored CEngine interface and associated structs - added mouse handling functions in CApplication & CEngine - fixed bugs in projection matrix setting - changed texture loading & handling - added const-values in CDevice & CGLDevice - changed event management in CApplication - other minor changes & bugfixes
* ComputeSphereVisibility functionPiotr Dziwinski2012-07-182-0/+83
| | | | | - borrowed implementation of ComputeSphereVisibility from libwine - added -lrt to Linux libs
* Fixed OpenGL transformationsPiotr Dziwinski2012-07-184-5/+358
| | | | | - fixed wrong order of transformations - added transform_test
* Fixes in texture loadingPiotr Dziwinski2012-07-164-7/+18
| | | | | | - added other texture formats: BGR and BGRA - fixed texture loading in model viewer - moved code from texture.cpp module to texture.h
* Fix in model loading; simple model viewerPiotr Dziwinski2012-07-155-41/+470
| | | | | | | | | - fixed model loading code - added simple model viewer (model_test) in src/graphics/opengl/test - added system time stamp code - split the code in app/system modules to separate headers - added debug messages in model loading - minor fixes in OpenGL engine
* Refactoring in math & texture modulesPiotr Dziwinski2012-07-062-186/+2
| | | | | | - moved texture-related structs to texture.h & code to texture.cpp - cleaned up texture test code - added Math:: namespace qualifiers to math modules for clarity
* Fixed bug with texturingPiotr Dziwinski2012-07-056-99/+494
| | | | | | - moved creation-time tex params to Gfx::TextureCreateParams - fixed bug with texture creation - added simple test for multitexturing
* Multitexturing supportPiotr Dziwinski2012-07-042-57/+425
| | | | | | | | - added CImage class for loading/saving images and a simple test for it - added libpng library to build - added Gfx::Texture struct - updated the Gfx::CDevice interface to include new features - implemented the new features in Gfx::CGLDevice
* CGLDevice implementationPiotr Dziwinski2012-07-012-59/+573
| | | | | | | | - extended Gfx::CDevice interface - written OpenGL implementation in Gfx::CGLDevice - rewrote color and light module - added Gfx::VertexCol - added array casts to Math::Vector, Math::Matrix and Gfx::Color
* CDevice interface and stub of implementationPiotr Dziwinski2012-07-012-2/+284
| | | | | | | | - added CDevice abstract interface - began implementation of CGLDevice - added stub for Texture struct - created CGLDeviceConfig - changed particule -> particle & other minor changes
* CApplication and Gfx::CEngine interfaces & otherPiotr Dziwinski2012-06-243-0/+73
| | | | | | | | - added CApplication and Gfx::CEngine interfaces - added Gfx::Material struct - added Math::IntPoint struct - added template for Gfx::CDevice class - added templates for Gfx::CGLDevice and Gfx::CGLEngine classes
* Templates for new implementationPiotr Dziwinski2012-06-222-0/+38
- added template of classes/structs for new implementation - changed #include paths - updated README files