691 Commits

Author SHA1 Message Date
hybrid
42f2529290 Bugfix by Vitek to allow zip files inside zip files.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1491 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-14 07:57:16 +00:00
hybrid
add466a67f Merged 1486-1488 from 1.4 branch, IImage methods exposed and MeshManipulator moved.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1489 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-13 23:48:33 +00:00
hybrid
92015ad0bc This time a proper sw renderer fix.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1485 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-11 16:12:15 +00:00
hybrid
89440def7a Added hint on proper IMeshBuffer usage.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1484 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-10 21:26:35 +00:00
hybrid
822361cd80 Make isBetweenPoints-check include the begin and end points.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1483 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-10 16:14:03 +00:00
hybrid
e6298c7038 Fix XML reader creation for non-existing files and invalid callbacks to return 0.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1482 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-10 16:08:25 +00:00
hybrid
529c409b85 Fix coredump due to forgotten 0-check.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1481 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-10 15:38:33 +00:00
hybrid
2b24667551 Prevent b3d loader to load textures from unused materials. Other mesh loader might still suffer from this.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1480 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-10 15:26:45 +00:00
hybrid
65995225e9 Added new mMeshManipulator method scaleTCoords to scale texture coords of a mesh. Added two new access methods to texture coords of vertices of a meshbuffer. This allowed to replace the template for planar mapping as well.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1479 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-09 12:04:56 +00:00
hybrid
98e7b49aed Renamed scaleMesh to scale, added support for meshbuffer scaling.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1478 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-09 10:34:58 +00:00
hybrid
e0168a9a89 Added support for proxy meshes as source of the shadow volume. This enables the use of a simplified version of a mesh for the generation of the shadow volume, which can significantly improve the render performance with shadow volumes. Patch provided by tonic.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1477 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 19:39:24 +00:00
hybrid
ceea796f8f Merge with 1..4 branch revisions 1444:1475, namely the irrMap bug and changes.txt updates.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1476 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 15:25:43 +00:00
hybrid
22aff9090c Removed signedned of colors, fixing the color flicker in software rendering.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1475 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 15:15:44 +00:00
hybrid
d8e932236a Added copy constructor and assignment operator to cope with const member.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1474 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 12:53:27 +00:00
hybrid
fb666c5b59 New glext.h.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1473 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 12:00:59 +00:00
hybrid
37e252b146 Update of changes.txt with all trunk changes since the 1.4 branch.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1472 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 11:25:26 +00:00
hybrid
a804e594de Oops, some variable name mismatches on big endian systems...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1459 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 19:15:18 +00:00
hybrid
87443393ca Minor cleanup and constification of camera node.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1458 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 12:45:53 +00:00
hybrid
3a1273357a Fixed event handling under win32.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1457 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 12:08:08 +00:00
hybrid
5bba98e6f4 Allow read-only locking of textures, which may improve the performance due to optimized access to the data and skipped updates when unlocking.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1456 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 11:59:42 +00:00
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
65a22ebb53 Forgot one method call change.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1454 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 11:34:09 +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
0e7a2715de Increased and synced the default parameter for polys per octree node.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1452 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 10:21:09 +00:00
hybrid
91862fae84 Added default parameter for setParticlesAreGlobal. Code cleaning in other files.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1451 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 10:16:12 +00:00
hybrid
3012b376cd Missed a constification.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1450 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 22:46:48 +00:00
hybrid
d4429383c8 Implementation of UserData passing from the system event receiver to the Irrlicht IEventReceiver. Currently only available for Windows (thanks to rogerborg) and Linux.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1449 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 19:10:54 +00:00
hybrid
614d27599a Camera interface changed such that projection matrix and isOrthogonal flag are changed together, if necessary. Patch provided by rogerborg.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1448 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 15:25:05 +00:00
hybrid
1f228cdbfd Fixed reference counting problems due to statically allocated meshbuffers. Bug found by rogerborg.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1447 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 14:45:22 +00:00
hybrid
dc4bb13c67 Fixed whitespace and line endings.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1446 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 11:25:56 +00:00
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