monstrobishi
24265b1527
- Fixed the OpenGL normal mapping some more (Works properly now).
...
- Fixed the OpenGL parallax mapping offset.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2776 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-31 06:32:36 +00:00
monstrobishi
d21b144624
- Fixed active camera scene node registering itself twice (This causes anything parented to the camera to get drawn twice, potentially a major performance issue). Scene manager now calls "render()" to update the active camera's matrices prior to doing culling, rather than OnRegisterSceneNode.
...
- Fixed the object-space lighting normal mapping/parallax mapping bug in OpenGL. Parallax offset still looks a bit weird in OpenGL compared to D3D IMO.
- Fixed a compile warning in D3D9 driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2775 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-31 06:00:53 +00:00
hybrid
ae0240d602
Avoid multiple calls to makeNormalMapTexture for the same texture.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2774 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-30 16:42:59 +00:00
hybrid
ddc0a95cd4
Fog serialization patch by pc0de.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2773 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-30 16:21:19 +00:00
cutealien
387f910cf9
New contextmenue features:
...
- automatic checking for checked flag.
- close handling now customizable
- serialization can handle incomplete xml's
- setEventParent now in public interface
- New function findItemWithCommandId.
- New function insertItem
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2771 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-29 17:04:14 +00:00
cutealien
d12a0027ec
Let maya-cam animator react on a setTarget call to the camera which happened outside it's own control
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2770 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-29 15:39:12 +00:00
hybrid
8292b7feed
Fix bounding boxes for skinned meshes. Moved LocalMatrix computation out of the loop. This works for the meshes I tested, but might break with others. Further testing required.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2768 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 15:41:44 +00:00
hybrid
d9e92b0783
Add FPS getter for Animated Mesh SN, add some values in serialization.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2767 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 13:42:47 +00:00
hybrid
c8c8028003
Add clone method for camera.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2766 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 13:30:11 +00:00
hybrid
752384e1ca
Add transparency support for the 2d vertex list render method for directx drivers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2764 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 12:56:46 +00:00
hybrid
2bc50a25bd
Add transparency support for the 2d vertex list render method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2763 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 12:29:33 +00:00
hybrid
b920e1bfbc
Simplify window generation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2760 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 12:55:59 +00:00
hybrid
3a29e0bbc1
Merge fullscreen resolution reset into new method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2759 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 10:28:24 +00:00
hybrid
83e2ed8554
Separate fullscreen resolution method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2758 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 10:18:51 +00:00
hybrid
f7f96520ef
Add fixes to handle screen changes in fullscreen mode. This allows proper resolution changes with Alt-Tab etc.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2755 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-26 22:47:07 +00:00
hybrid
e36af0b5d1
Some more unicode fixes for Windows systems.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2749 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-24 00:28:30 +00:00
hybrid
275874afb1
Merged from 1.6 branch, revisions 2684:2747. Windows serialization fix. Memleak in STL and LWO loader fixed. CursorControl under Windows fixed. CE compilation fixed. Example 21 for Linux fixed. IFileSystem and IFileList additions. Toolbar::addButton fixed. Device::run fixed. Anti-Aliasing on debug rendering disabled. Documenation updated.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2748 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 18:06:57 +00:00
hybrid
2917a98867
Add possibility to add cameras without immediately making them active. Feature request by kkrizka.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2745 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 16:39:55 +00:00
hybrid
07280fa080
Simplify camera methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2744 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 16:33:19 +00:00
hybrid
9178ca932a
Add new videodriver method getMaxTextureSize(). Patch submitted by LoneBoco.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2742 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 15:44:31 +00:00
hybrid
b410b526b7
PAK archive reader patch and test, submitted by Carmen Wick.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2741 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 12:38:30 +00:00
cutealien
d3eff725be
- Material type EMT_TRANSPARENT_ALPHA_CHANNEL_REF no longer ignores light in OpenGL.
...
- Material type EMT_LIGHTMAP_ADD does now use GL_ADD in OpenGL which makes it look identical do the D3D version.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2740 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 04:02:05 +00:00
hybrid
911ca53804
Use io::path for DX library handling, in order to allow for Unicode compilation mode. Found by MadHyde
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2736 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-21 15:52:30 +00:00
hybrid
eba56658c0
Add tar reader
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2733 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-20 16:19:36 +00:00
hybrid
23b9b10865
Fix MSVC warning
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2726 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-18 10:39:04 +00:00
hybrid
ed29e8ad15
Make some convenience functions non-virtual
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2725 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-17 21:10:54 +00:00
hybrid
dbe744d14a
Fix draw3dTriangle to render proper 3d objects, not just lines. In order to recover the previous behavior, set the 3d material to wireframe.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2723 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-17 20:34:33 +00:00
cutealien
53c48a78df
Avoid div by 0 for colorselect element
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2711 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-15 17:03:59 +00:00
cutealien
1818454023
MessageBox supports now automatic resizing and images.
...
Deprecated EGDS_MESSAGE_BOX_WIDTH and EGDS_MESSAGE_BOX_HEIGHT.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2710 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-14 13:28:20 +00:00
hybrid
64ad07a38e
Merged from 1.6 branch, revisions 2665:2683. External creation of CSkinnedMesh. Texture matrix bug fixed. obj loader fixed. Divide by zero checks. Some API methods renamed. Strict aliasing fixes. Collada loader fixed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2684 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-09-09 14:30:44 +00:00
cutealien
34d47c1cff
Fix cursor problems found by buffer and by rvl2 as described in http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=34823&highlight=
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2669 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-29 23:33:59 +00:00
hybrid
5f1f6b1b18
Add support for CMYK JPGs.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2666 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-25 15:46:14 +00:00
hybrid
157cd67caf
Merged revisions 2622:2663 from branch 1.6. SMaterial bug, MS3D patch, LWO fix. Better Shift recognition under 2in32. D3D depth buffer MSAA problems fixed. string<c16> changed to io::path. Fix 2dimagebatch, add better mtl file finder. Fix some OpenGL extension checks. Fixed x86-64 warnings. Export symbols in gcc4. Scolling in GUITab fixed. Fixed PixelBlend16 and SW driver. FPS cam stuttering fixed. OSX project additions. New scene parameter to ignore obj's mtl files.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2664 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-24 09:12:27 +00:00
cutealien
2f9c3864e7
Add setTabMaxWidth to tabcontrol (backport from 1.6)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2651 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-20 08:03:10 +00:00
cutealien
6361391247
Fix scrolling controls in CGUITabControl (backport from 1.6 branch)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2637 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-19 07:25:58 +00:00
hybrid
be8a1ff7b6
Disable anti-aliasing of sky
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2620 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 20:56:41 +00:00
hybrid
4ab18181fd
Disable anti-aliasing for the GUI. Fixed lod bias and quality multi-sampling under OpenGL.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2619 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 20:43:07 +00:00
hybrid
7bcfbd166b
Add some more inits for the vertex cache. Most types still don't work, and some still crash due to wrong memory access. But it's a beginning, Thomas will have to look into this.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2618 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 19:21:59 +00:00
hybrid
3cc32d1ab1
Add check for support in extension string.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2617 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 19:20:07 +00:00
bitplane
d9a73b8736
Fix a bug when getting optimal texture size in D3D drivers, by Jetro Lauha (tonic)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2616 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 13:35:43 +00:00
bitplane
cd7ad09b88
Burning's Video now compiles again in fast mode. Reported by puh
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2615 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 07:42:38 +00:00
bitplane
62442a5240
Added EGDS_TITLEBARTEXT_DISTANCE_X and EGDS_TITLEBARTEXT_DISTANCE_Y to GUI, submitted by FuzzYspo0N
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2613 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 00:28:43 +00:00
hybrid
ed373887aa
Add value clipping to cope with precision.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2612 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-15 16:47:18 +00:00
bitplane
7d31e86931
ReadOnlyMaterials in animated mesh node now works (reported by buffer)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2611 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-14 14:08:22 +00:00
bitplane
59100938c9
use locale.h instead of locale, wouldn't compile on VC otherwise
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2610 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-14 13:45:00 +00:00
bitplane
3cc7534abb
Bugfix for UTF8 filenames in file dialog, thanks to MadHyde for the patch [bug 2450094]
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2608 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-14 10:52:54 +00:00
bitplane
bb5627cf96
Fix for getFileBasename, submitted by Reaper
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2607 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-14 07:27:37 +00:00
hybrid
33a1819226
Ensure proper texture dimensions in the D3D drivers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2606 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 23:42:16 +00:00
hybrid
0a8836ac24
Remove unnecessary include.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2605 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 23:40:10 +00:00
hybrid
217c8a316f
Merged revisions 2577:2601 from 1.5 branch: fast_atof bugfix. Updated libpng to 1.2.39
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2603 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 23:18:04 +00:00