hybrid
0d8210fa44
Add Mipmap LOD Bias to texture layers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2133 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-23 17:08:39 +00:00
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
hybrid
65f5034a09
Syntax problem fixed, found by Dorth.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2103 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-20 12:31:21 +00:00
hybrid
8ca89ee687
Added support for Stereo framebuffers and AUX buffers (which are currently only accessible via direct OpenGL calls or shaders).
...
Added a creation parameter for doublebuffering.
Cleaned up the framebuffer clean methods in OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2102 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-20 09:00:08 +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
0cb7f45018
Merged revisions 2072:2087 from 1.5 branch. Some missing inits fixed, OpenGL FBO fails better recognizeable, docs updated.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2088 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-18 22:39:03 +00:00
hybrid
accdcfa76d
Remove unnecessary member.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2087 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-18 22:34:39 +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
6fe8e2d89d
Merged from 1.5 branch to trunk, all changes from 2018 to 2041. OSX keyboard fix, OpenGL version fix, some tests fixed. Example 9 text position fixed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2042 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-05 15:34:22 +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
05ac2ef679
Separated specualr settings from other color settings. Made changes propagate even when shininess is 0, which introduced some renderstate bugs previously.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1948 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-13 23:06:32 +00:00
hybrid
ad43762777
Merged from 1.5 branch to trunk, all changes from 1913 to 1932. Mostly example and test fixes. Some bug fixes, camera interface changes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1933 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-08 17:06:34 +00:00
hybrid
19491a579f
Merged from 1.5 branch revisions 1837:1850. Light property changes, shader problems fixed, OSX resize fixed, meshloader debug messages disabled.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1851 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-27 23:25:20 +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
def976c109
Fixed some minor warnings
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1804 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 16:41:30 +00:00
hybrid
df3dce717d
Fix mem leaks with RTTs under OpenGL due to wrong grabs.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1778 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 13:01:24 +00:00
Rogerborg
44846b6f11
OpenGL driver: trigger a setRenderStates2DMode() recalc when the screen size changes. This fixes the OpenGL 2D scaling issue. Excelsior!
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1772 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 22:14:09 +00:00
hybrid
540c33965e
Changed createOpenGLDriver to use SIrrlichtCreationParameters.
...
Added Fullscreen AntiAliasing for Win32/OpenGL. Screenshot not working in this mode ATM.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1713 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-09 00:36:04 +00:00
hybrid
9136b843ac
Fix missing free on error. Reindentation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1712 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-08 00:51:01 +00:00
hybrid
a597253b53
Create smaller RTTs instead of none if screen size is limiting the desired size.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1702 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 21:38:06 +00:00
hybrid
fe09f2ebbc
Avoid using a plain texture as RTT if screensize is too small.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1686 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 23:25:03 +00:00
hybrid
44b37a7508
Added another texture type for OpenGL, namely the FBODepthRenderbuffer. This is only used internally for now, and also is still WIP as the current design has some bad smell :-(. However, it should allow for depthbuffer reuse for RTTs once the interface is made public.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1672 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 13:13:28 +00:00
hybrid
c232d8de36
Use two different classes for usual and FBO textures in OpenGL.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1657 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-28 16:51:22 +00:00
hybrid
5f4681adad
Some reorganization of the ogl win32 init.
...
Rename of pPixels to pixels.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1649 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 00:29:29 +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
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
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
e1ed3d4a77
Fixed the image flip for draw2DImage in OpenGL driver as suggested by omaremad.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1578 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-22 19:24:22 +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
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
05c55f7151
Hmm, general front buffer reading is bad for texture based RTTs, so fixed this change to the screenshot method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1558 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-11 08:16:28 +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
a7d24e4b8a
Fixed an issue with alpha values in 2d opengl mode.
...
Changed the interpretation of MaterialTypeParam==0 in transparent materials. Before, it was interpreted as 0.5, now it's used as 0 (perfectly smooth transparency). This is slower than the old value, but you can achieve the same effect by specifying 0.5 as MaterialTypeParam.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1512 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-25 20:25:22 +00:00
hybrid
d797e16201
Readded the texture settings, which have to be made for every texture used, not just once...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1503 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-19 12:58:36 +00:00
hybrid
f1198e2c44
Fixed RTT zbuffer usage. Also cleaned up RTT bind and unbind operations.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1501 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-18 12:36:17 +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
d3491565ed
Added RTT locking for OpenGL driver.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1455 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 11:36:56 +00:00
hybrid
6c4a691db1
Removed unused parameter from win32 OpenGL setup. Separated wrap mode handling into new method in ogl driver. Fixed pixel alignment in ogl pixel transfers to avoid problems on special systems. Fixed an info message to be printed always, not just for big endian systems.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1453 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 10:25:44 +00:00
hybrid
878c280ccb
Some driver cleanup. Fixed the issues with external window usage under OpenGL and Linux. Added error checking for VBO usage.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1443 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-03 12:28:21 +00:00
hybrid
9226383d37
Fix to make the OIS interfacing work under Linux.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1435 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 23:16:08 +00:00
hybrid
63e4360fa2
Fixed the clamping problems in OpenGL, thanks to ikam. Also cleaned up the 2d render state init.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1424 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-29 13:04:01 +00:00
hybrid
471219360d
Minor tweaks in cleanup.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1422 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-25 16:52:43 +00:00
hybrid
d0888a25a7
Fix line endings.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1409 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 15:02:31 +00:00
lukeph
3807fcf362
Fixed a bug with the Frontface culling render state in opengl.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1407 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 05:19:36 +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
c661079e7e
FBO patch from Nadro for better ATI support.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1402 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-27 15:38:48 +00:00