91 Commits

Author SHA1 Message Date
hybrid
9bcbf4603d Added RTT locking for OpenGL driver.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1455 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 11:36:56 +00:00
hybrid
fafa15a6a8 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: http://svn.code.sf.net/p/irrlicht/code/trunk@1453 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 10:25:44 +00:00
hybrid
168f4b91df Some driver cleanup. Fixed the issues with external window usage under OpenGL and Linux. Added error checking for VBO usage.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1443 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-03 12:28:21 +00:00
hybrid
80be965644 Fix to make the OIS interfacing work under Linux.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1435 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 23:16:08 +00:00
hybrid
706c7b4b03 Fixed the clamping problems in OpenGL, thanks to ikam. Also cleaned up the 2d render state init.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1424 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-29 13:04:01 +00:00
hybrid
ad0d44fd61 Minor tweaks in cleanup.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1422 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-25 16:52:43 +00:00
hybrid
b38f65d682 Fix line endings.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1409 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 15:02:31 +00:00
lukeph
1231470e42 Fixed a bug with the Frontface culling render state in opengl.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1407 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 05:19:36 +00:00
lukeph
7b442ffc0e -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: http://svn.code.sf.net/p/irrlicht/code/trunk@1403 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 05:20:39 +00:00
hybrid
98b63fcb60 FBO patch from Nadro for better ATI support.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1402 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-27 15:38:48 +00:00
hybrid
c3b1616721 Added the getColorFormat for some drivers. Added the GLX context in exposed video data under OpenGL/X11.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1387 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-19 12:45:40 +00:00
hybrid
2d4823a6d4 Changed ReadBuffer to be always the front buffer. Hence, screenshots under OpenGL will now also reflect the currently visible image, whatever render calls have been made in between.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1380 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 15:59:50 +00:00
hybrid
3863193027 Push the params also for OSX.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1379 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 15:52:54 +00:00
hybrid
c5a6f77c5c Push creation parameters to video drivers.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1378 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 14:59:28 +00:00
hybrid
f8c90617b4 Fixed draw2DImage methods for RTT usage under OpenGL.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1368 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-12 12:00:41 +00:00
bitplane
17b7ba3c1b Fixed bug with Maya cam animator absorbing all wheel events (1983850)
OpenGL render target flip now works with texture clamping (assuming tcoords are 0.0 to 1.0)
Quick fix for crash when removing old hardware buffers.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1366 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-12 03:15:59 +00:00
hybrid
d6b52bcf71 Speed up screenshot with OpenGL on Intel gfx cards.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1365 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-11 07:59:28 +00:00
hybrid
5e04a990eb Merge from branch 1.4, revisions 1344:1352, which are the doc updates from the 1.4.1 release.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1353 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 11:51:37 +00:00
hybrid
af2641f5db Fixed cleanup in case of failed shader compilation such that the base material is used.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1344 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-30 17:06:08 +00:00
hybrid
fd2cce9692 Minor changes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1331 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 12:02:59 +00:00
hybrid
8d3077d1af Merged from 1.4 branch revisions 1316:1328.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1329 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 11:34:54 +00:00
hybrid
9137530c94 Merged revisions 1309:1314 from 1.4 branch.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1315 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-12 23:02:15 +00:00
hybrid
d637656e71 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: http://svn.code.sf.net/p/irrlicht/code/trunk@1313 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-09 09:15:12 +00:00
hybrid
23de18de7a Added another material flag to enable front face culling. Can be useful for special effects.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1308 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-04 08:48:22 +00:00
hybrid
133cd79f4a Merged from branch 1.4 revisions 1290:1305.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1306 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-30 23:19:12 +00:00
hybrid
9161ae8048 Merged from branch 1.4, revisions 1275:1289
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1290 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 09:54:51 +00:00
teella
e28b87fc1c anti alias added for OSX and GL_LINE_SMOOTH enabled if antiAlias true
How ever createDevice does not pass any AntiAlias option so default is always false


git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1282 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-12 04:50:29 +00:00
hybrid
257b097a81 Merged from 1.4 branch revisions 1272:1279
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1280 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-05 00:02:00 +00:00
lukeph
56cddb9625 terrains can now use VBOs, but index and vertex data will need to be updated independently for any speed gain
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1269 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-27 14:07:27 +00:00
hybrid
439e46373a Major changes to OpenGL render states. Should reduce the number of state changes and reduce some render state confusion. Also changed back the order of 2d texture setting and render state changes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1260 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-25 23:19:46 +00:00
hybrid
a03ab4a47e Merged from 1.4 branch revisions 1218:1234
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1235 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-09 14:12:28 +00:00
hybrid
17fb6ed653 Merged from 1.4 branch revisions 1198:1217
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1218 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-01-30 00:07:52 +00:00
hybrid
91a7199d02 Merged 1134:1151 from branch 1.4
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1152 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-01-04 11:10:37 +00:00
lukeph
52c9c29263 VBOs now use irrMap
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1151 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-01-03 13:52:06 +00:00
hybrid
4e9b9c7e16 Removed some WIP code which was not completely commited, and yet not working.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1117 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-21 14:28:55 +00:00
lukeph
e0d0251140 -added a linux codeblocks project file (may have some unnecessary includes right now)
-stopped wal image loader trying to load (and crashing on) every unknown image file

-fixed bug with hybrid's offsets, in the vbos. btw the offsets really needs to be changed back to my method with plain casts (I cannot see a problem there), or use the offsetOf macro.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1114 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-18 04:25:45 +00:00
lukeph
029da617db small vbo changes, added removeHardwareBuffer(const scene::IMeshBuffer* mb)
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1109 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-09 13:19:31 +00:00
lukeph
6d5735b9c1 let skinnedMesh software animate with VBOs, other small changes with VBOs, left in debug output
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1104 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-07 15:25:07 +00:00
hybrid
203fc243b6 Fixes to make VBOs actually work in OpenGL. Need more improvements, though. Minor fixes in other files.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1103 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 16:26:14 +00:00
hybrid
99aa0c91ab Fix to compile on non-VBO systems without OpenGL extension pointers.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1102 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 09:02:41 +00:00
hybrid
11aba60bfd Some reindentation, minor bugfixes, removed unused members from ExtensionHandler.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1100 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 00:00:23 +00:00
hybrid
a08dc1d84e Add return values.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1097 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 17:15:18 +00:00
lukeph
7ee29e3b71 -- added VBO support --
-so far only the openGL driver is supported, will add dx tomorrow or the next day

-right now to use, go: MeshBuffer->setHardwareMappingHint(EHM_STATIC); but this will be automatic when complete

-code needs a clean up, and the design isn't fixed, I just wanted to get stuff happening :)

-works well with hardware skinning :)

(design: http://img220.imageshack.us/img220/1931/vbo8xy8.png)

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1095 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 14:10:28 +00:00
hybrid
1f515c1ba4 Replace another redundant variable.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1078 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 22:35:42 +00:00
lukeph
64b92ff738 committed getVendorInfo() patch by BlindSide.
seems to work fine in opengl. directx untested

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1055 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-15 11:48:51 +00:00
hybrid
96bdb7ba47 Fixed OpenGL DetailMap with S3DVertex meshes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1008 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-27 20:45:18 +00:00
hybrid
e161f26fda 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: http://svn.code.sf.net/p/irrlicht/code/trunk@1004 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-26 16:18:11 +00:00
hybrid
f6440f93f7 Fix problems with VC6 and Borland. Some indentation fixes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1001 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-24 22:41:52 +00:00
hybrid
561dc5b8c9 OpenGL Performance tweaks by GnarlyHotep
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@995 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-21 16:34:56 +00:00
hybrid
c9fe29ad65 Split texture layer properties from SMaterial. Changed all texture access etc. in source code and examples. There is also a method to access textures now, which would allow to grab and drop them...
Also disabled dx8 by default.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@992 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-20 15:33:36 +00:00