74 Commits

Author SHA1 Message Date
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
hybrid
4bea5c857a Scope fix for VC6.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@989 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 19:55:04 +00:00
hybrid
e9c0c0ce30 Removed unnecessary irr namespace prefixing.
Added STL mesh file format reader and writer. This is a pretty simple format, but I wanted to try the mesh writer interface.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@983 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 14:08:28 +00:00
bitplane
ee8ce3c517 Added ITexture::isRenderTarget and moved OGL render texture flip to the texture matrix.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@982 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 12:52:35 +00:00
hybrid
a749514290 Some fixes for method signature unification and some other C++ fixes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@977 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 14:01:28 +00:00
hybrid
4dd0cbb241 Another round of constness additions. Almost finished now.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@969 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 16:09:50 +00:00
hybrid
ca4220dad0 GUI constification done, other parts still missing.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@961 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-16 00:18:13 +00:00
hybrid
8e4d20e58a Fix OpenGL user clip plane adaption to view matrix changes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@943 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-10 22:49:59 +00:00
hybrid
516e837e00 Fix the translate order in OpenGL driver once more ;-)
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@861 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 21:30:30 +00:00
bitplane
3c26a46bcc Moved OpenGL 2D transform from the modelview matrix to the projection
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@859 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 11:56:54 +00:00
hybrid
0d7c9f98bd Changed some OpenGL material renderer states. Removed the automatic mipmap generation after texture unlock for OpenGL to get the same as for d3d drivers.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@855 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 17:19:17 +00:00
hybrid
8872a3d96c Add compiler and feature check for point sprite support.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@853 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 23:44:57 +00:00
hybrid
8ca573d69a Added driver support for Point sprites.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@852 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 23:33:34 +00:00
hybrid
9730178adb Fixed two places which would create an glError and increased extension check performance.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@851 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 20:55:24 +00:00
bitplane
97e8bab9f3 Moved the driver dimension restrictions (multiple of two) from the windows device into the software drivers.
Added OpenGL 2D drawing accuracy patch by tuXXX.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@850 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 17:39:49 +00:00
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