hybrid
05b83230d9
Added Spot lights for hardware drivers. Added per pixel fog support for OpenGL.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@838 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-15 03:39:44 +00:00
hybrid
bcb7b5594d
Added driver support for user clip planes.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@829 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-10 13:06:52 +00:00
bitplane
734934cdb1
bug in draw2DImage
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@823 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-04 23:49:18 +00:00
hybrid
57977cd8c9
Added Win32 fullscreen enhancement, now trying to get a better refresh rate. Some minor changes, mainly to comments and indentation.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@819 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 14:39:14 +00:00
hybrid
a6e2f42437
Use c++ casts instead of plain C ones.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@818 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 09:50:59 +00:00
hybrid
6d3327ccb0
Mem leak fixed in d3d RTT code identified by vitek. Some redundant code removed and OpenGL shader materials fixed for changing number of textures.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@807 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-25 12:51:43 +00:00
hybrid
223837474a
Added a new texture creation flag for specifying the desired texture format. The new flag chooses a non-alpha channel texture format. This will save some texture memory (one fourth for 32bit textures).
...
Fixed another COpenGL render state bug.
Fixed several color conversion methods.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@801 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-19 23:31:18 +00:00
bitplane
c7266dc278
fixed a bug where opengl scissor tests were not disabled after drawing 2d images with an invalid clipping rectangle.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@796 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 20:52:13 +00:00
bitplane
986ef627f7
missed conditions for flipping projection when drawing 2d images in opengl render targets
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@792 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 20:03:17 +00:00
bitplane
e27415f6da
opengl render targets were flipped again after drawing 2d stuff
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@791 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 19:22:44 +00:00
bitplane
ac95fd750b
OpenGL render targets are now the same way up as in the other drivers. When setting the projection matrix of a render target, the Y axis is flipped and polygon winding is switched to counter-clockwise.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@787 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 15:58:55 +00:00
hybrid
e014b8444a
Changed OpenGL default Renderstate to ALPHA_TEST being disabled. Some indentation changes in other files.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@786 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 23:33:17 +00:00
hybrid
3d3fb14f90
Added some more compile time checks for OpenGL support.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@785 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 18:28:58 +00:00
hybrid
fabcbfe8b2
Added a name parameter to render target textures just as for usual textures.
...
Exposed findTexture in IVideoDriver to check if a texture was already loaded.
Reordered some more OpenGL render state settings in the materials.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@783 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:53:34 +00:00
hybrid
8b38919a41
Fixed an OpenGL render state bug and added GLSL version number to check in extension handler.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@772 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-09 22:59:35 +00:00
hybrid
1d02f20ab8
Some minor changes.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@767 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 20:12:48 +00:00
hybrid
4622603a40
Add compile checks for supported extensions.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@753 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 23:36:10 +00:00
hybrid
7934bf4a7d
Added two currently disabled OpenGL improvements for shadow volumes. Due to incompatible shadow volumes the extensions are not yet working.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@752 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 17:33:01 +00:00
hybrid
f56f0dd32f
Oops, missed a reordering.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@741 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:57:15 +00:00
hybrid
026050076d
Avoid the wrongly oriented triangles by use of quads.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@740 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:49:59 +00:00
hybrid
3f5c46d952
Changed API to per texture-layer filtering.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@731 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 21:26:16 +00:00
hybrid
e9cfa6976a
Added adjustable attenuation to dynamic lights.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@726 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-21 21:06:21 +00:00
hybrid
64e740728c
Fixed the missing reset of texture matrices. Fixed a reorder warning.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@721 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-19 08:44:19 +00:00
hybrid
84d1a83799
Added better support for OpenGL clamp modes.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@693 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 00:26:20 +00:00
hybrid
9c1f4cb46e
Inlined the OpenGL access methods, also renamed some of them to make the names more durable in case the official methods are promoted.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@691 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-05 17:56:10 +00:00
hybrid
d18bd7c5d4
Split OpenGL extension stuff into new file which is inherited by the driver in order to keep backward compatibility. The handler is not automatically created and thus has to be manually updated sometimes. Many functions and pointers are still missing...
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@689 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 23:31:17 +00:00
bitplane
30b56d2ec5
Moved everything to /trunk
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@643 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-20 18:03:49 +00:00