Commit Graph

772 Commits (b44c2bdadf45e22193350f6387cd296336d9c917)

Author SHA1 Message Date
hybrid f25d01b31b 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1456 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 11:59:42 +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 2275b5fab8 Forgot one method call change.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1454 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 11:34:09 +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 89b96c6609 Increased and synced the default parameter for polys per octree node.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1452 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 10:21:09 +00:00
hybrid a5654c661f Added default parameter for setParticlesAreGlobal. Code cleaning in other files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1451 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 10:16:12 +00:00
hybrid 8099c45b64 Missed a constification.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1450 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 22:46:48 +00:00
hybrid 1886b79274 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1449 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 19:10:54 +00:00
hybrid a3d72206f8 Camera interface changed such that projection matrix and isOrthogonal flag are changed together, if necessary. Patch provided by rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1448 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 15:25:05 +00:00
hybrid d3ccf6335e Fixed reference counting problems due to statically allocated meshbuffers. Bug found by rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1447 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 14:45:22 +00:00
hybrid bcdb49774e Fixed whitespace and line endings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1446 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 11:25:56 +00:00
lukeph bea9e087fd 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1444 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-05 01:57:45 +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 c270bd9955 Missed the focus change enabling. Now the events are properly processed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1442 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-01 18:27:14 +00:00
hybrid 4cca69a37b 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1441 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 17:29:23 +00:00
hybrid 65cfbeb218 Cleanup and some speed improvements.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1440 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 17:24:27 +00:00
hybrid 7b4d76de26 Fixed some things in .obj texture handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1439 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 11:31:19 +00:00
hybrid c493b739d8 Fixed keyframe data parsing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1438 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 09:47:54 +00:00
hybrid d296e17fdb Fixed normal generation for obj files without normals.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1437 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 09:47:37 +00:00
hybrid c1b36e96a5 Bug fix to avoid core dump due to access to empty meshbuffers by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1436 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 23:24:15 +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 b083e20be4 Fixed OnCreateNode call to be made only after the attributes and all children were loaded.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1434 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 22:48:51 +00:00
hybrid 641b1a3d56 Another merge that didn't work properly...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1433 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 22:45:02 +00:00
hybrid e6e34950af Added some enhancements for scene graph traversal and an example for collision checking with .irr scenes from rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1432 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 21:24:19 +00:00
hybrid ad669fc78d Added fix by drewbacca which avoids spinning camera if the event receiver is disabled while mouse was moved.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1430 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 20:35:36 +00:00
hybrid 9cbeca1cca Added node creation callback patch from fullmetalcoder. This allows a callback per created scene node for .irr scene loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1429 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 20:18:17 +00:00
hybrid 846ea61467 Removed WIP code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1428 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 16:14:03 +00:00
hybrid a2822317a7 Fixed memory leak in b3d loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1426 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 14:13:25 +00:00
bitplane b0ccc2f5c3 Typo in tangent mesh loading code, thanks pc0de
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1425 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-29 20:02:34 +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 17d5f8a3f6 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1423 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-28 17:34:05 +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 fd06e88d09 Code cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1421 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-25 16:51:08 +00:00
hybrid 7e732e9056 Fixed MSVC warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1420 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-18 14:45:17 +00:00
hybrid 0f278fa5ed Added a meshbuffer transform method and renamed the transformMesh method to transform.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1419 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:09:30 +00:00
hybrid f66d930804 Properly initialize vertex copies.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1418 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:08:33 +00:00
hybrid b9c1b18f10 Small code cleaning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1417 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:07:21 +00:00
hybrid b9d47be01d Added rogerborg's rotationToDirection method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1416 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:02:40 +00:00
hybrid 3f664b5391 Small code cleaning. Additional check for proper values in substring method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1415 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:01:06 +00:00
hybrid c8cd14a495 Fixed forgotten class qualifier.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1414 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 08:29:04 +00:00
hybrid 5f3580a5a7 Added missing member functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1413 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-16 11:08:13 +00:00
bitplane 3d51b275d4 Checking for IsEnabled is now consistent across all GUI elements (bug 2003234 by CuteAlien)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1412 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 19:47:51 +00:00
hybrid f717384735 Project file for SCons build tool.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1411 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 16:09:42 +00:00
hybrid 0ebbe96031 Moved the arrow mesh parts into separate mesh constructor methods for cylinder and cone. Not yet exposed in the API.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1410 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 15:04:34 +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
hybrid a0709c155f Fixed a bug in the terrain mesh generation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1408 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 11:26:39 +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
hybrid 2aeafd70e5 Allow external input processing, currently supported for X11 only.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1406 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 14:33:23 +00:00
hybrid e80e76c763 Fixed line endings and a little bug in the if check.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1404 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 09:41:58 +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