Commit Graph

18 Commits (1ff81da7bd112f525107caf922c2a69cc754a88d)

Author SHA1 Message Date
hybrid 7e5822ec2c Fix eol-style for all code files to native.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2521 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 11:45:59 +00:00
hybrid 7472bcd83c Merged from 1.5 branch to trunk, all changes from 2042 to 2071. cursor setVisible fix, OSX FPS cam fix, ALPHA_CHANNEL_REF fix, new method draw2dRectOutline, setOverrideFont fixes, getCollisisonPoint distance bug fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2072 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-14 12:37:51 +00:00
hybrid a9b64e9e5c Removed some consts from POD type return values. Added missing imlementations in SSkinMeshBuffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1517 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 14:20:05 +00:00
hybrid fd61d6dd19 Removed some consts from POD type return values.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1516 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 14:08:12 +00:00
lukeph 341dc16566 -added support for 32bit buffers in the opengl and directx9 drivers :) hopefully not buggy...
(may need to add support for directx8 and software?)

-made terrainNode use DynamicMeshBuffer, so it can use 32bit buffers. (no more size limits now on terrains!!! )
if the terrainNode loads an image over 256x256, it is set to 32bit, smaller sizes will use 16bit for better speed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1515 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 04:00:22 +00:00
hybrid 57485235b9 Added some vector operations which take just one scalar as argument.
Optimized isBetweenPoints for vector2d
Added some virtual qualifiers for better readability
Added some terrain interface methods which are not properly working, yet


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1513 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-26 11:46:07 +00:00
hybrid b5d6000f8d 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1479 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-09 12:04:56 +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
hybrid cdffc4a5d6 Merge from branch 1.4, revisions 1344:1352, which are the doc updates from the 1.4.1 release.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1353 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 11:51:37 +00:00
lukeph 580c3f5365 terrains can now use VBOs, but index and vertex data will need to be updated independently for any speed gain
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1269 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-27 14:07:27 +00:00
hybrid 99aa627e76 Merged from 1.4 branch revisions 1174:1188
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1189 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-01-21 00:24:28 +00:00
lukeph 2ca8282e00 -- 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1095 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 14:10:28 +00:00
hybrid 81ff2ebb72 Provide meshbuffer level access to vertex elements which always exist.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1085 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:42:58 +00:00
hybrid 61a5af828e Some fixes for method signature unification and some other C++ fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@977 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 14:01:28 +00:00
irrlicht 7b734957d8 removed getVertexPitch() method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@923 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 05:06:47 +00:00
hybrid 74f1e2e9e3 Enhanced the meshbuffer interface. moved the recalculateBoundingBox from MeshManipulator to IMeshBuffer by exposing the already existing methods. Some initial append methods added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@833 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:53:12 +00:00
hybrid 60e4d62143 Made the MeshBuffers be based on a template class. The original headers do still exist for compatibility reasons. The SMeshBuffer... structs are now typedefs of the template.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@676 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 11:09:32 +00:00