cutealien
dbd17774d0
Fix patch for meshbuffers with different primitives.
...
Half the calculations for number of primitives had been wrong.
Also fix a compile-warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5427 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-16 21:34:58 +00:00
cutealien
de1bbfdc50
- Add support for different geometric primitivs to meshbuffers.
...
Thanks @gerdb for patch proposal (http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=45999 )
Note: Original patch got mostly lost (except the parts posted in the forum). So not sure how close my implementation is to that one. I also simply ignore some of the problems mentioned in that thread. So yeah - meshmanipulator and meshwriters can and will mess up when other primitive types are set for now. It's documented and feature is still useful - other parts can be adapted over time (or ignored, also no big problem).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5425 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-14 19:48:24 +00:00
hybrid
0a2330890a
Bump copyright to 2012
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4320 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-30 23:38:54 +00:00
hybrid
582cb75095
Merge from 1.7 branch. Fixes for SSharedMeshBuffer and matrix4
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3925 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-27 22:54:27 +00:00
hybrid
5e4d495dcc
Bump copyright dates to 2011.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3556 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:24:40 +00:00
hybrid
cf8c269ffc
Rename MoveTo_ methods in SSkinMeshBuffer for proper Irrlicht naming scheme.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2817 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 09:48:29 +00:00
hybrid
3ef1b18308
Fix eol-style for all code files to CRLF for simpler file handling.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2525 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 07:58:33 +00:00
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
065c15c00c
Make real use of bitfield
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2358 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 23:01:15 +00:00
bitplane
0ee0b06eef
Fix some initialization order warnings caused by reorganising members
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2274 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-12 00:06:59 +00:00
bitplane
0ce6ba201e
Re-ordered some member variables so that padding on 64-bit pointers don't use unnecessary space, also defined bit fields for some bools and moved them to the end of memory. Some minor formatting changes, and got rid of the annoying upper case .H in the VC projects.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2269 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-11 07:07:01 +00:00
bitplane
2a5a21fce4
Reset all line endings to Windows-style CRLF
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2268 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-10 20:46:58 +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
Rogerborg
1c0fab0d96
Update the bounding boxes of animated skinned meshes. (Attempt to) remove duplication of the recalculation of frames of animated meshes in CAnimatedMeshSceneNode::OnAnimate() and CAnimatedMeshSceneNode::render().
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1805 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 23:19:52 +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
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
hybrid
e7add51880
Merged from 1.4 branch revisions 1272:1279
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1280 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-05 00:02:00 +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
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
13b9851487
Another round of constness additions. Almost finished now.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@969 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 16:09:50 +00:00
lukeph
13d10077a3
added rigid animation support.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@967 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 11:09:07 +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
bda0b6e35f
Merged SkinnedMesh branch 658:895 into trunk.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@896 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-04 18:51:42 +00:00