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
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
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
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
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
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
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
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
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
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