911 Commits

Author SHA1 Message Date
lukeph
7d6db82893 Some header files for a new meshbuffer, not being used yet, till I commit the changes to irrlicht.
new meshbuffer has split vertex and index buffers and supports switching between different vertex and index(16/32bit) types at runtime.

some parts like CSpecific(Vertex/Index)List may need to be optimized. may change to use plain switches, having options (like 32bit) able to be undefined.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1444 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-05 01:57:45 +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
4db0648bff Missed the focus change enabling. Now the events are properly processed.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1442 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-01 18:27:14 +00:00
hybrid
e910ef99be Some Q3 example changes. OctTree has been reenabled with larger vertex numbers. Example 16 now accepts pk3 files and bsp levels on the command line, and it can display the bounding boxes of octrees.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1441 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 17:29:23 +00:00
hybrid
986a233dbf Cleanup and some speed improvements.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1440 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 17:24:27 +00:00
hybrid
5078125dcc Fixed some things in .obj texture handling.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1439 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 11:31:19 +00:00
hybrid
723c9003ef Fixed keyframe data parsing.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1438 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 09:47:54 +00:00
hybrid
8d5f732079 Fixed normal generation for obj files without normals.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1437 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 09:47:37 +00:00
hybrid
94c555fc27 Bug fix to avoid core dump due to access to empty meshbuffers by CuteAlien.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1436 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 23:24:15 +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
bafe1d2914 Fixed OnCreateNode call to be made only after the attributes and all children were loaded.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1434 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 22:48:51 +00:00
hybrid
8c53c17d43 Another merge that didn't work properly...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1433 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 22:45:02 +00:00
hybrid
e96f38e8f4 Added some enhancements for scene graph traversal and an example for collision checking with .irr scenes from rogerborg.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1432 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 21:24:19 +00:00
hybrid
bbcfccaf62 Added fix by drewbacca which avoids spinning camera if the event receiver is disabled while mouse was moved.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1430 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 20:35:36 +00:00
hybrid
9bdbb00ba0 Added node creation callback patch from fullmetalcoder. This allows a callback per created scene node for .irr scene loading.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1429 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 20:18:17 +00:00
hybrid
397280305c Removed WIP code.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1428 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 16:14:03 +00:00
hybrid
feb545870c Fixed memory leak in b3d loader.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1426 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 14:13:25 +00:00
bitplane
d55671a82c Typo in tangent mesh loading code, thanks pc0de
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1425 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-29 20:02:34 +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
ba1513e7e1 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: http://svn.code.sf.net/p/irrlicht/code/trunk@1423 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-28 17:34:05 +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
3a89fe6179 Code cleanup.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1421 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-25 16:51:08 +00:00
hybrid
c7a91d779f Fixed MSVC warnings
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1420 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-18 14:45:17 +00:00
hybrid
f1ae46d9c9 Added a meshbuffer transform method and renamed the transformMesh method to transform.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1419 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:09:30 +00:00
hybrid
27f48fb146 Properly initialize vertex copies.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1418 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:08:33 +00:00
hybrid
f00ea27356 Small code cleaning.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1417 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:07:21 +00:00
hybrid
4999cf7c44 Added rogerborg's rotationToDirection method.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1416 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:02:40 +00:00
hybrid
ef06f6ef9b Small code cleaning. Additional check for proper values in substring method.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1415 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:01:06 +00:00
hybrid
3ecc64ead9 Fixed forgotten class qualifier.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1414 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 08:29:04 +00:00
hybrid
855f1353e6 Added missing member functions.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1413 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-16 11:08:13 +00:00
bitplane
edd66da82e Checking for IsEnabled is now consistent across all GUI elements (bug 2003234 by CuteAlien)
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1412 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 19:47:51 +00:00
hybrid
bb87b8685d Project file for SCons build tool.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1411 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 16:09:42 +00:00
hybrid
dfaa6b062f Moved the arrow mesh parts into separate mesh constructor methods for cylinder and cone. Not yet exposed in the API.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1410 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 15:04:34 +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
hybrid
197fd43b70 Fixed a bug in the terrain mesh generation.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1408 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 11:26:39 +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
hybrid
2dc886ca74 Allow external input processing, currently supported for X11 only.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1406 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 14:33:23 +00:00
hybrid
676091b2c1 Fixed line endings and a little bug in the if check.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1404 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 09:41:58 +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
1e2ef215aa floating point rounding problem fix by rogerborg/cutealien.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1401 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-27 09:22:40 +00:00
hybrid
8f512c0861 Merge the new libpng version. Seems to take care of the WIN_CE problems on its own, so no need for the 'if 0' check anymore. Also fixes the const static warnings.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1400 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-27 08:41:15 +00:00
hybrid
0a8f10bc26 Add fpic for shared libraries.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1399 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-27 08:39:20 +00:00
hybrid
6b52de1f48 Fix warnings if no X extension is available.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1397 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-26 09:12:11 +00:00
hybrid
030213c71e PerfHUD enabler by Rene Rivera
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1396 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-24 15:32:20 +00:00
hybrid
6da17e04b6 Added generation of tangent space which can keep the original normals, by ryanclark. Note that inaccuracies of the tangent space may arise if you keep the original tangents. Angle weighted smoothing seems to be bogus, maybe indices are wrong.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1392 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 12:45:05 +00:00
hybrid
029707298c Added angleweighted and smoothed generation of tangent space, by ryanclark.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1391 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 12:20:15 +00:00
hybrid
846abebc1c Some material fixes pointed out in the deled forum.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1390 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 08:36:07 +00:00
hybrid
051ded6b4e Added angleweighted smoothing of normals, by ryanclark.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1389 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 08:34:39 +00:00
hybrid
1fe33d239c Fixed warning in software driver.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1388 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-19 13:09:57 +00:00