2331 Commits

Author SHA1 Message Date
hybrid
1fda9980df Add vertex optimization algorithm submitted by curaga
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4048 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-20 18:08:14 +00:00
hybrid
b34352deac rename texureBlend functions to textureBlend
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4047 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-20 17:54:33 +00:00
hybrid
c82925896d Add threshold for slerp calculation, switching between linear and slerp at this point.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4046 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-20 09:51:47 +00:00
bitplane
7db87025c3 Fix for bug 3401933 - vertex color interpolation with shadow volumes in the scene
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4041 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-14 16:15:26 +00:00
bitplane
c6833d9a56 Fixed bug in button sprites reported by RdR
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4040 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-12 20:44:44 +00:00
bitplane
d6fe1e6007 Fixed button state sprite animations for pressed, focused and hovered.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4039 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-12 17:35:50 +00:00
bitplane
ade2a3938c Added IGUIEnvironment::getHovered, returns the last hovered element.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4038 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-12 17:24:23 +00:00
bitplane
fe73006f45 Removed unused sprite bank from spin box
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4037 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-12 17:21:59 +00:00
bitplane
7f017fa3ef Another warning fix submitted by curaga (3472442)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4036 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-11 16:12:30 +00:00
bitplane
f4fdeb55a9 Fixed a couple of warnings, including one reported by curaga (3472442)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4035 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-11 16:09:49 +00:00
bitplane
86498e7371 Added serialization for terrain smooth factor, patch by RdR
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4034 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-11 15:36:15 +00:00
bitplane
99e84fdaba Implemented more button states for sprite banks, patch submitted by RdR
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4033 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-11 13:15:25 +00:00
hybrid
bd72b79df0 Typo fixed
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4032 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-06 14:47:10 +00:00
hybrid
19c8f77583 Some new setter methods suggested by kaos.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4031 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-06 14:46:51 +00:00
hybrid
314d53a31a Fix billboard error which used the wrong width for top and bottom width of trapezoid billboards. The reason is the use of cross-product, which flips the vertical axis used in calculations. Properly documented in the code now, API now works as expected. Bug and fix provided by pc0de.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4030 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-06 14:26:04 +00:00
hybrid
5cd23141b2 Oops, misread the switch. Alpha representation always requires 32bit, so reverted to original code with just another empty default statement.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4029 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-06 14:23:33 +00:00
hybrid
9ce25254f7 Silence missing default case warnings in release mode. Patch supplied by init512
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4028 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-04 14:01:36 +00:00
hybrid
c0586e309a Add some convenience wrappers for simplified shader generation in the default cases. Suggested and implemented by curaga.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4027 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-04 13:44:12 +00:00
hybrid
c575836343 Add new normal render method to all places where this is already supported. Thereby replacing some of the old and time consuming normal renders, as pointed out by pc0de
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4026 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-04 01:04:35 +00:00
hybrid
f1ec3dad93 Add method which draws the normals of a mesh buffer. Mainly for debug purposes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4025 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-04 00:29:21 +00:00
hybrid
ef473d9335 Fix warning about conversion. We might have to do it vice versa, though, comparing the float values and passing a converted number down to getMesh.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4024 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-04 00:27:56 +00:00
hybrid
bd60a5dcda SMaterial serialization patch by pc0de
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4023 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-02 15:35:56 +00:00
cutealien
d8a7af194d Fix bug in getAttributeAsVector2d found by greenya.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4021 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-21 19:22:41 +00:00
hybrid
03b27ab5b9 remove using statements
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4011 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-04 00:45:38 +00:00
hybrid
a5cc1f64a0 Removed merge property
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4010 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-04 00:41:20 +00:00
hybrid
7d6d371bae Add a FPS setting for animated meshes. This allows to store an overall animation speed for a mesh, which enables reading this information from the formats that support it and set the animation speed in scene nodes accordingly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4009 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-04 00:10:15 +00:00
hybrid
6fbb111507 Change normals back to previous values.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4008 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-04 00:04:25 +00:00
hybrid
ca6ec7f85b Minor code optimization, indentation fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4007 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-04 00:01:36 +00:00
hybrid
b5c7c9695c Change interpolation mesh to pointer usage and dynamic memory allocation. Necessary due to reference counting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4006 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-03 23:51:53 +00:00
hybrid
1f3bef757d Removed merge property
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4005 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-03 23:44:35 +00:00
hybrid
2227d499db Removed merge property
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4004 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-03 23:41:50 +00:00
hybrid
ad82f725be Add billboard test, which shows also why the non-uniform billboards fail at a certain point.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4003 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-03 16:49:43 +00:00
hybrid
6d9a31a037 Add functions and constructor parameter to set the distance of the maya camera from the currently used target.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4002 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-03 16:26:59 +00:00
hybrid
47d5711ece Merged from trunk revisions 3998-4000. Changes for triangle selector.
Also added a fix for proper update of animated meshes, as suggested by Reiko. This was missing from the recent update of improved selector usage and should now re-enable the proper handling of animated poses in selectors.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4001 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-02 17:25:49 +00:00
hybrid
3353705fc2 Improve use of constref which is now possible due to the API change in irrMap. Suggestion made by JVr
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3999 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-02 10:36:07 +00:00
hybrid
39ca2f61a4 Merged from branch 1.7, revisions 3944-3997. Only minor code changes, Makefile fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3998 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-01 00:26:22 +00:00
cutealien
6f1db5fc41 - Add vector2d and dimension2d attributes (both already had incomplete parts of implementations for some reason)
- Add tests for vector2d and dimension2d attributes
- Test currently failing on Win32-VS: collisionResponseAnimator, sceneCollisionManager, screenshot

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3996 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-29 22:56:28 +00:00
hybrid
ca0a9cca3e Change new billboard API to use more common names and a better usable interface. Fixed documentation. Proposal for fix made by greenya.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3995 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-15 13:34:48 +00:00
hybrid
025fd69643 Change type to more specific one
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3994 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-15 10:12:59 +00:00
cutealien
3788ea88bd Add missing include IRandomizer.h to irrlicht.h (found by greenya)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3993 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-14 10:22:10 +00:00
cutealien
a8fd29c8b9 Fix uninitialized variable in q3-loader (found by Hendu).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3992 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-09 19:39:08 +00:00
cutealien
bf5890e814 - Add support for bsp brush entities. Written by Hendu.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3991 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-09 19:28:12 +00:00
hybrid
99cfad9dd1 Normals recalculation fix by Squarefox
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3990 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-06 21:35:34 +00:00
hybrid
83444c6bf2 More keys support by Auria
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3989 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-06 11:08:16 +00:00
hybrid
a4d78dcbe9 Fix strict aliasing problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3988 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-02 23:29:31 +00:00
hybrid
5ec87d0bd5 Update pdf config to new version. Copied over from main config file and switched html off, enabled latex/pdf.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3987 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-02 17:52:16 +00:00
hybrid
cdaee45ca6 Remove standard header and css files, as we don't need any special settings in there anymore. Footer simplified.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3986 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-02 17:36:03 +00:00
hybrid
47e57b9449 Fix layout of api docs. Add new logo to docs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3985 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-02 17:27:47 +00:00
hybrid
d4e32d2a3b Triangle selector improvements suggested by rogerborg a long time ago. Now fixed and properly working.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3984 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-01 21:10:01 +00:00
hybrid
c2e1206eb8 Small part of the billboard patch from rogerborg
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3983 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-01 21:08:18 +00:00