Commit Graph

2226 Commits (fa754dd47b3391ceb14b4a9bc493f1b38a9f69f1)

Author SHA1 Message Date
hybrid fa754dd47b Add normals recalculation in case it is missing in the ply file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3911 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-09 13:33:35 +00:00
hybrid afa978f2a5 Merge from 1.7 branch, revisions 3877-3908. Fix for getSphericalCoordinateAngles, some warnign fixes, md2 normal fix, several GUI fixes, isPointInside fix, zip endianess fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3909 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-08 21:50:10 +00:00
hybrid 5d7b7931e6 Fix rendering with only index buffers. Basically, this is now removed, because d3d seems not to support this. Hence we can only render with hw buffers, if both vertex and index buffers are enabled.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3908 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-07 17:04:10 +00:00
hybrid 65383f9fb9 Enable VBOs for water node.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3907 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-07 15:52:05 +00:00
hybrid 4486cee370 Thanks to Auria, this fix makes octree work with mixed lightmap meshes (i.e. meshes which mix meshbuffer types). Most b3d files do this, and now work properly with octree support. The fix is right now not perfect, because of incomplete tangent vertex creation in case this vertex type is also used. But fixing also this issue would mean a huge rework of the octree, which has to wait for now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3906 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-07 07:31:53 +00:00
hybrid 5ba7ae5afd Fix rotationFromTo as suggested by AgentD, using the from vector instead of the current values from the quaternion. After all, this quaternion has nothing to do with from or to so far, so the values contained there are rather arbitrary. Moreover, I'm normalizing the quaternion before returning it, as it is a rotation quaternion, which should be a unit quat. Test cases are also extended. For now only in trunk, may be backported after further testing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3905 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-30 14:13:45 +00:00
hybrid 059af8caa6 Add ConstIterator, as suggested and implemented by oblomov
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3904 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-30 14:07:32 +00:00
cutealien 62057f1ea2 CGUISpinBox range does now also use decimal places to avoid getting endless loops in setValue/verifyValueRange.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3902 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-09 14:34:25 +00:00
hybrid 7b5f390920 Fix comment about makefile changes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3900 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-05 12:32:10 +00:00
hybrid 5d5bbe11b7 Apply changes to fix issues with dynamic libs handling as suggested by mgiuca
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3899 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-04 22:50:44 +00:00
cutealien ac15f6e1ee Change editbox colors once more.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3897 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-01 10:16:55 +00:00
cutealien b08dbc49bc Update camera documentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3896 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-30 09:31:58 +00:00
cutealien 8a7245c103 Update Makefile documentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3895 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-29 14:57:59 +00:00
cutealien 9120aebe73 Add early-out in collision for empty selectors.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3893 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-28 11:22:06 +00:00
cutealien 875abd25f3 Collada writer sets now set and input_set for TEXCOORD input and bind as some Collada tools want that (doesn't care yet about second UV-set, but also does not make it worse).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3892 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-27 10:03:11 +00:00
cutealien 471df3f0ab CSceneCollisionManager::getScreenCoordinatesFrom3DPosition uses now getCurrentRenderTargetSize instead of getScreenSize.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3891 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-26 14:29:56 +00:00
cutealien 8fb7ee723c One more svn:ignore (for tests in tests).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3890 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-25 17:31:06 +00:00
cutealien 69b0f8de6b Fix some more svn:ignore.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3889 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-25 17:25:44 +00:00
cutealien 97cd9ad421 svn:ignore for code::block .depend, .layout, objs and binary files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3888 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-25 17:15:48 +00:00
cutealien 11a1c66959 Fix some c::b project files which did not link on Linux.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3887 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-25 16:40:49 +00:00
cutealien b47d6b1f16 svn::ignore for newer examples in bin/Linux
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3886 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-25 16:07:50 +00:00
cutealien 8a6371c6ca Add serialization for CGUIComboBox::MaxSelectionRows
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3884 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-20 09:28:19 +00:00
cutealien 0d5d30acaf Add IGUIComboBox::setMaxSelectionRows and IGUIComboBox::getMaxSelectionRows
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3883 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-20 09:16:34 +00:00
cutealien 029b18658b Change editbox-colors to make them look similar to what we had in 1.7 (before background drawing had been fixed editboxes had used a mix of 5 different colors).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3882 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-13 21:35:55 +00:00
bitplane d6025d6362 Fixed a memory leak in CIrrDeviceStub, reported by Reiko
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3878 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-11 13:36:31 +00:00
cutealien 1e90e2d9b3 Merge revision 3848-3875 from 1.7 branch:
- EMIE_MOUSE_WHEEL messages now handled correctly in several gui-element when wheel isn't just 1.0 or -1.0
- Fix serialization for CBillboardSceneNode, it had missed 2 color
- Fix 'k' in bigfont.png
- Recalculate FrameRect and ScrollPos in CGUIEditBox when AbsoluteRect gets changed


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3876 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-07 21:56:31 +00:00
cutealien e373bc4cf4 Merged revision 3847 from 1.7 branch. Fix problems in textwrapping in CGUIStaticText. Did use wrong size and did ignore last word of the text. NOTE: this will need some more work now in trunk as trunk supports by now right-to-left text which probably needs similar fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3874 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-07 21:34:10 +00:00
hybrid 0e61ebeb98 Remove trailing commas in enums.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3872 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-01 22:58:38 +00:00
hybrid 8cb3aebfd0 Fix warnings, layout, and return value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3871 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-01 22:57:55 +00:00
cutealien 009a6bfc92 ColladaMeshWriter: switch y to (1-y) in UV's as Collada is right-handed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3870 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-30 11:10:08 +00:00
hybrid 1c495448f2 Getting onto a patch from an anonymous poster, I've added some else branches to avoid too large redundant code parts after unconditional returns. These might at least raise some unwanted warnings, though I don't know why an error would occur.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3869 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-27 08:37:56 +00:00
cutealien 4533956fab ColladaMeshWriter: Add light export. Meshname handling cleaned up.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3868 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-23 17:40:27 +00:00
cutealien 98b7d10ec9 Scenemanager switches from type ESNT_UNKNOWN to type ESNT_SCENE_MANAGER.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3867 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-23 12:55:31 +00:00
cutealien ffa921055e Fix compling on 64-bit. Remove warning. Add header to c::b project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3866 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-22 20:51:07 +00:00
cutealien 84291fd165 ColladMeshWriter: Unified functions in IColladaMeshWriterProperties some more. Can now export reflection and refraction and more flexible color-mapping (which means all effects can now be written). Also some fixed some schema-breaking when writing node-id's.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3865 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-22 19:49:14 +00:00
hybrid f64b0063a1 Add access and changeability to internal Randomizer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3864 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 22:02:18 +00:00
hybrid f331031395 Allow seed value in Randomizer::reset
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3863 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 21:58:59 +00:00
hybrid dde320c493 Remove destructor, it's already called by default this way.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3862 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 21:57:00 +00:00
cutealien caac1b4505 - Add getActiveFont to all elements which have setOverrideFont for cleaner code
- Add getOverrideFont to all elements which have setOverrideFont to have a consistent interface


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3861 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 21:41:10 +00:00
cutealien f5a2be6e11 Oops, I did accidentally use 'auto' in Irrlicht code. Better wait until c++0x usage is a little more common ;-)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3860 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 18:56:14 +00:00
cutealien 87f8637183 - add overloaded map::getValue which can return a reference
- simplified IColladaMeshWriterProperties interface
- ColladaMeshWriter can now write complete scenes as well as just writing single meshes.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3859 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 17:04:43 +00:00
cutealien 7d101163aa IGUIEditBox: Added setDrawBackground. Crash-fix with wordwrapping and spaces. Remove bug with spaces getting added to the end of each line. Add missing serialization for Border.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3857 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-20 20:36:07 +00:00
cutealien dd3ef0fdd7 CGUISkin::draw3DSunkenPane no longer ignores fillBackGround in non-flat mode. Also borderlines are no longer drawn overlapping to avoid ugly corners.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3856 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-19 22:52:18 +00:00
cutealien 3d930cba96 Add missing implementation for CDummyTransformationSceneNode::clone (thx @ Voxel for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3854 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-16 21:18:31 +00:00
cutealien 6d9fa7d053 Make IParticleSystemSceneNode::doParticleSystem public to allow rendering outside scenegraph.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3853 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-16 21:09:46 +00:00
hybrid 438baffc3e Fix some warnings from recent gcc versions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3852 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-16 12:06:27 +00:00
cutealien 6296a1c1ff ColladaMeshWriter - add infrastructure to export transparent textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3851 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-15 15:28:02 +00:00
cutealien ac6e07f87d Make ColladaMeshWriter more flexible by giving user more control over several settings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3850 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-15 10:47:42 +00:00
cutealien 71d1c79dc5 CFileSystem::getRelativeFilename:
- don't try to return relative filename to other partition on Windows (c:, d:)
- handle path with different upper/lowercase on Windows.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3844 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-10 11:15:45 +00:00
cutealien 35cca397b9 ColladaMeshWriter: switch to relative filenames for textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3842 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-09 20:15:03 +00:00