hybrid
d51b2f8349
ColorMask support. Allows for selective disabling of color planes upon rendering.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2130 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-23 00:35:46 +00:00
hybrid
a8d090c43b
Added an enum and support for other Depth comparison functions.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2129 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 22:39:40 +00:00
hybrid
9c34c59233
Support for anti-aliasing modes per Material.
...
Initial support for Alpha To Coverage. Doesn't properly work on my laptop, so needs some more fixing and tuning before it actually works.
Fixed AntiAliasing on Win32/OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2118 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 00:50:55 +00:00
Rogerborg
dcebfbbf0d
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=183704
...
Change from dimension2d<s32> to dimension2d<u32> where practical. IImage and ITexture now have unsigned dimensions, as does screen size. This has had a significant knock-on through the code base, but it is more technically correct - the BEST KIND of correct.
GUI elements and draw2DImage methods still have and take signed dimensions, but we can look into this in future. Regression tested with the test suite and the example apps. Note that createDevice() now takes dimension2d<u32>!
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2092 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-19 13:48:22 +00:00
hybrid
7472bcd83c
Merged from 1.5 branch to trunk, all changes from 2042 to 2071. cursor setVisible fix, OSX FPS cam fix, ALPHA_CHANNEL_REF fix, new method draw2dRectOutline, setOverrideFont fixes, getCollisisonPoint distance bug fix.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2072 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-14 12:37:51 +00:00
Rogerborg
94a1346a5c
Adding an optional light manager that allows hardware lights to be turned on and off before each scene node is rendered. This can be used to produce "zoned" lighting.
...
If a light manager is not registered, the existing behaviour (activate the closest lights to the camera) will be retained unchanged. New example project added to demonstrate the usage, and regression tests and existing samples run. No regression test for the light manager yet, since I am more interested in not regressing the default behaviour.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2064 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-12 10:55:39 +00:00
hybrid
e7ced16d04
Made the Anisotropic Filter degree configurable via the SMaterialLayer member which had been a bool formerly. Using the setFlag in SMaterial should still give MaxAnisotropy level as before.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2034 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-05 00:30:11 +00:00
hybrid
a669b865f1
Added better support for AntiAliasing levels, based on the patch by Sylence.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2032 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-04 17:13:54 +00:00
hybrid
5c64512330
Change the swap effect to DISCARD for windowed applications in d3d drivers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2025 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-03 12:44:09 +00:00
hybrid
c3cfdcfa5e
Merged revisions 2006:2016 from 1.5 branch, makeColorKeyTexture changes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2017 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-02 13:02:05 +00:00
hybrid
0b03402773
Merged from 1.5 branch to trunk, all changes from 1821 to 1835. Mostly warning fixes, GL ASM shaders repaired, d3d9 RTTs less memory consuming, skinned mesh bboxes updating.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1837 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-26 10:44:30 +00:00
hybrid
f778a1eb7f
further merged from 1.5 branch to trunk, all changes from 1815 to 1819.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1821 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-24 17:34:27 +00:00
hybrid
ad62c01608
Fix device reset in combination with large RTTs. All DepthBuffers need to be released and recreated...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1799 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 14:36:57 +00:00
Rogerborg
ad497a0e85
Release() and recreate the depth-stencil surface when resetting the D3D9 driver. This surface is implicitly created with D3DPOOL_DEFAULT, so needs to be released or the reset fails.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1759 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 21:56:16 +00:00
hybrid
60ebacb4e7
D3D RTT unlimited size patch. This fix allows arbitrarily sized RTTs for D3D9. It reuses existing DepthBuffers and tries to find an optimal size. Sharing of depth buffers and forcing creation of new depth buffers cannot be requested at the moment, though, because the API is not public.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1705 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 22:04:44 +00:00
hybrid
fb19655088
Workaround avoiding wrong renderstate with culling modes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1669 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-02 21:41:45 +00:00
hybrid
8b8efafc9e
Change of the return value for getDX9Texture, necessary for other types of textures. Requested by MasterD.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1668 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-31 20:53:01 +00:00
hybrid
37950db954
Cast hr pointer for proper overload.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1666 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-31 17:52:14 +00:00
hybrid
1a8fbda3e4
Minor reorganization.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1658 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-28 16:56:01 +00:00
Rogerborg
a1e21da6b0
Adding IVideoDriver::drawPixel() and implementations, as per http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30741 . Test code is in that post.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1642 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 13:45:47 +00:00
Rogerborg
9a64087ec3
Fix release mode build of CDMFLoader.cpp. Fix D3D8 build (need Summer 2004 SDK). Force alpha in D3D8/D3D9 screenshot pixels to 255 if necessary ( http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=174233#174233 )
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1641 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 13:23:02 +00:00
hybrid
d42ce61775
Added a check method to query the device reset event for D3D drivers. Since in the case of a reset the content of all RTTs are lost, it's required to become aware of this fact.
...
The current solution is just a simply check which works with lots about the drivers. A cleaner solution would return all structures which have to be regenerated. A new enum is already created for this reason, but not yet implemented. However, the interface of the new checkDriverReset method might change in the near future...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1630 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-12 14:30:22 +00:00
hybrid
19ec5143af
Enable minimize button for win32 windows.
...
Add some more error tests in d3d9 driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1625 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 22:24:06 +00:00
hybrid
e8ef136cfe
Working version of the d3d device lost patch. It might need some more working for VBOs, but RTTs are now properly released before reset().
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1624 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 11:23:37 +00:00
hybrid
3f153d2a2c
First try for d3d9 lost device fix.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1623 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 09:39:13 +00:00
hybrid
b44c2bdadf
Added RTTs to texture cache.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1622 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 08:13:34 +00:00
hybrid
493f688fda
Added a driver feature check for non-square textures (which some d3d drivers don't seem to support...). It's not yet used in size calculations, though.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1612 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 22:27:15 +00:00
hybrid
a649829f3d
Some minor changes from the RTT patch.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1606 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 22:56:29 +00:00
hybrid
bae1cd68b3
Fixed a missing symbol in older DX SDKs
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1605 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 21:51:52 +00:00
hybrid
01a0042f91
Moved windowId and sourceRect parameters from endScene to beginScene in order to support several windows for OpenGL as well. This is not yet implemented, though, just made some preparations.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1591 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-27 13:19:29 +00:00
hybrid
bf2d25aece
Added a disableFeature method to the drivers, which can override the support of render features.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1590 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-26 20:29:45 +00:00
hybrid
038d839eb8
Merged revisions 1561:1570 from 1.4 branch. This fixes the ZWrite enable scene attribute and does some minor cosmetic changes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1571 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-16 16:33:33 +00:00
hybrid
1edc55c924
Fixed a missing function call, found by night_hawk.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1561 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-12 16:39:03 +00:00
hybrid
529b6f0f3c
Merged revisions 1543:1559 from 1.4 branch. Mainly zbuffer issues and the TextureMatrix allocator patch.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1560 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-12 15:19:19 +00:00
hybrid
fce0e252a4
Some cleanup for IdentityMatrix.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1526 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-02 22:11:19 +00:00
lukeph
341dc16566
-added support for 32bit buffers in the opengl and directx9 drivers :) hopefully not buggy...
...
(may need to add support for directx8 and software?)
-made terrainNode use DynamicMeshBuffer, so it can use 32bit buffers. (no more size limits now on terrains!!! )
if the terrainNode loads an image over 256x256, it is set to 32bit, smaller sizes will use 16bit for better speed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1515 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 04:00:22 +00:00
hybrid
37e15009b5
Const correctness for a pointer.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1499 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-15 08:46:57 +00:00
hybrid
17d5f8a3f6
Merged from 1.4 branch revisions 1368:1422.
...
This fixes wrong child handling in AnimatedMesh SceneNode, 2dimage clipping in d3d drivers, and a string handling issue in example 16.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1423 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-28 17:34:05 +00:00
lukeph
e903f2ca6b
-Made drivers update vertex and index VBOs independently. Massive speed up for terrain nodes. Interface isn’t so clean yet, but will be when vertex and index buffers are separated.
...
-fixed a rendering state bug, in openGL and directx drivers, while changing from 3d to 2d rendering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1403 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 05:20:39 +00:00
hybrid
f10937f31b
PerfHUD enabler by Rene Rivera
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1396 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-24 15:32:20 +00:00
hybrid
cdffc4a5d6
Merge from branch 1.4, revisions 1344:1352, which are the doc updates from the 1.4.1 release.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1353 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 11:51:37 +00:00
hybrid
755e117078
Merged from 1.4 branch revisions 1316:1328.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1329 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 11:34:54 +00:00
lukeph
24202d861a
committed patch:
...
[ 1942358 ] DX9 Blindside VBO Implementation plus SiO2 fix
to allow hardware buffers to be used by dx9, like openGL
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1318 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-21 15:36:14 +00:00
hybrid
6a0d4ea7b2
Changed ExposedVideoData to use void* under Windows, fixes problems on 64bit systems. Some other 64bit warnings silenced. All changes provided by Kosuha.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1313 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-09 09:15:12 +00:00
hybrid
ec8f03d70e
Added another material flag to enable front face culling. Can be useful for special effects.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1308 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-04 08:48:22 +00:00
hybrid
f9a0f21bef
Merged from 1.4 branch revisions 1218:1234
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1235 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-09 14:12:28 +00:00
hybrid
48e009de8f
Merged 1.4 branch 1075:1105.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1105 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-08 13:11:39 +00:00
lukeph
7e857cea93
committed getVendorInfo() patch by BlindSide.
...
seems to work fine in opengl. directx untested
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1055 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-15 11:48:51 +00:00
hybrid
8f8702c766
Removed umlauts.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1032 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-18 08:02:27 +00:00
hybrid
738951ff4b
Fixed some type issues with sqrt. Fixed rect.isValid to work with all types and avoid useless tests. Cleaned up some variable uses and scopes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1004 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-26 16:18:11 +00:00