52 Commits

Author SHA1 Message Date
bitplane
92b7b77d72 fixed a bug in CGUIEnvironment::clear() reported by Jacky_J
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@718 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 04:15:12 +00:00
bitplane
7bedb9080d fixed 2nd light vectors in opengl normal and parallax renderers
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@717 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 04:00:30 +00:00
lukeph
fd6d8fe065 no changes made:
Box = Mesh->getBoundingBox(); //can we remove this, the box is set on 'setMesh', and without it the user can set their own boundingbox (if the normal one is too small) without it being overwritten

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@716 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 12:39:10 +00:00
irrlicht
93627eced8 updated documentation and made Irrliht.NET compile again
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@715 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 08:25:58 +00:00
irrlicht
a0c3d8e496 made irrlicht compile with vs 6.0 again
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@711 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-16 05:55:44 +00:00
irrlicht
2214350f75 removed a bug which caused irrlicht to crash when using animated .x files as static meshes
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@706 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-13 08:49:22 +00:00
bitplane
301f0405d4 couldn't work out why oct-trees were culled against the bounding box of the frustum rather than the frustum itself. works better than the bounding box method in my test meshes (box method culls too much) so I changed it back to use frustum method.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@705 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-10 20:02:11 +00:00
bitplane
bde859437f changed CAnimatedMeshSceneNode to use the bounding box of its IAnimatedMesh instead of calling getMesh() and re-skinning. Tested with a few different mesh formats and couldn't see any obvious problems. IAnimatedMesh implementations are now responsible for keeping a maximum bounding box.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@704 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-10 01:29:10 +00:00
bitplane
595fac44bf renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation, it was causing problems for users accessing ISceneNode::getAbsoluteTransformation
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@701 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 03:14:17 +00:00
bitplane
e57a8891fb added reference rect to linux and osx devices (untested)
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@700 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 03:01:58 +00:00
bitplane
7aefb8811a x meshes now don't re-skin if the last known frame is requested by getMesh. doesn't fix the double skinning bug if there's more than one mesh on screen though.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@698 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 02:15:33 +00:00
bitplane
d87d100166 added more default fonts to skins, made elements use them by default. updated gui example to show use.
modalscreens now resize to fit parent.
updated meshviewer example to lock the image to the bottom left corner.
tooltips:
added EGDC_TOOLTIP_BACKGROUND to skins. 
changed the position of tooltips and their time between creation to 500ms. 
made sure that they do not leave the area of the gui environment.
new method: rect::constrainTo to forcing one rectangle to stay inside another.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@697 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 01:07:21 +00:00
irrlicht
b506236b67 The SkyBox scene node clamps its textures by default now
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@696 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 14:45:05 +00:00
irrlicht
609e046c97 removed some warnings when doing double/float conversions
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@695 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 13:21:19 +00:00
bitplane
a905d60ea2 added drawing debug mesh bounding boxes to CMeshSceneNode
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@694 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 01:32:36 +00:00
hybrid
84d1a83799 Added better support for OpenGL clamp modes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@693 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 00:26:20 +00:00
hybrid
f307d6026a Fixed include of os.h
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@692 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-06 13:29:27 +00:00
hybrid
9c1f4cb46e Inlined the OpenGL access methods, also renamed some of them to make the names more durable in case the official methods are promoted.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@691 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-05 17:56:10 +00:00
hybrid
13b20116e9 Missed a parameter while extending the init functions.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@690 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-05 09:06:08 +00:00
hybrid
d18bd7c5d4 Split OpenGL extension stuff into new file which is inherited by the driver in order to keep backward compatibility. The handler is not automatically created and thus has to be manually updated sometimes. Many functions and pointers are still missing...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@689 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 23:31:17 +00:00
hybrid
237b9a3c23 Fix a 64bit problem with libpng.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@688 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 23:19:40 +00:00
hybrid
bb298b64e8 New header files from opengl.org
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@687 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 22:56:50 +00:00
bitplane
8762be2425 Fixed some combobox/listbox annoyances raised by greenya
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@685 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 14:22:04 +00:00
bitplane
4087ff5084 Removed array::erase from loops in Octtree.h and COctTreeTriangleSelector.cpp, they now generate a lot faster.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@684 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 02:50:30 +00:00
hybrid
f57367cc81 Fixed warnings.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@681 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 15:07:57 +00:00
hybrid
1e0ea7012b Fixed two things from a previous commit that were not working. Some minor comment changes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@680 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 13:07:10 +00:00
hybrid
002dd4523d Fixed Ogre file format check to support new version. Fixed some missing inits. Changed some tests to switch statements.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@679 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 12:10:39 +00:00
hybrid
82b706a874 Cleaned the MeshCache interface, added filename methods from CMeshCache to the interface. Also changed the Scenemanager interface to accept IMeshCache instead of CMeshCache.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@678 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 12:07:47 +00:00
hybrid
28dc3fc55d Reduced object size of D3D drivers when compiling without d3d support.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@677 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 11:11:35 +00:00
hybrid
3d0bbb3827 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: http://svn.code.sf.net/p/irrlicht/code/trunk@676 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 11:09:32 +00:00
hybrid
2ea6965729 Fixed initialization, reported by CuteAlien.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@674 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 00:26:27 +00:00
hybrid
2c76d7e88d Also missed an early out now.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@673 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-30 00:19:34 +00:00
hybrid
f1f765a4d0 Typo.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@672 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-30 00:17:29 +00:00
hybrid
d264b4c4ea Reverted the frstum culling test to the old one which was fine, except for the wrong usage of isFrontFacing...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@671 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-30 00:14:29 +00:00
hybrid
b0db6c19bc Fixed the fix for frustum culling. Thansk to vitek for pointing me on this.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@670 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-29 22:24:58 +00:00
hybrid
97bb84c8a5 Fixed the texture mapping of the sphere scene node. It is now wrapped by one texture without artifacts. Also made x and y subdivison separately adjustable when calling the constructor manually.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@669 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-28 22:57:59 +00:00
hybrid
c4aec3a721 Enhanced documentation for isFrontFacing to make it safer to use. Fixed frustum culling to correctly handle all possible cases of box intersections. Replaced isFrontFacing by classifyPointRelation as suggested by vitek. Minor cleanups in some classes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@667 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-28 11:14:47 +00:00
bitplane
aa35f63924 oops missed some required code from the sourceforge patch
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@664 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-28 00:00:32 +00:00
bitplane
312b168d92 fixed a messagebox bug when no okay button was present
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@663 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 23:06:22 +00:00
lukeph
a0016d7bb2 the matrix used to draw the debugging normals was being calculated incorrectly
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@659 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 04:56:56 +00:00
bitplane
994549a037 missed a couple of IGUIButton getters: isPushButton and isDrawingBorder
renamed getUseAlphaChannel to isAlphaChannelUsed to fit with other "bool is*" getters

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@657 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 02:55:33 +00:00
hybrid
7bcf00dd43 Some documentation fixes.
Replaced some f64 by T in container classes, where computations were only f32 correct anyway.
Made triangle3d.isOnSameSide private as it is completely unrelated to triangles.
Renamed plane.existsInterSection to plane.existsIntersection since all other functions concerning intersections use the small s.
Fixed plane3d.classifyPointRelation to return the correct relation. Spotted by vitek.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@655 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 00:04:58 +00:00
bitplane
9900aae837 added IFileSystem::getFileDir and made XML bitmap font use relative path for texture.
gui editor now compiles again

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@654 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-26 22:19:21 +00:00
bitplane
b0ce50b18d completion of most getters/setters for GUI
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@653 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-26 20:44:25 +00:00
bitplane
d523ee09dd fixed a gui bug I introduced - resizing the device didn't pass to the environment or menus
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@652 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-25 20:23:12 +00:00
lukeph
112b893dfb Just trying the SVN out, fixed a bug in big endian conversion, that I’m been meaning to get someone to fix
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@651 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-25 01:06:20 +00:00
hybrid
d0808c30bc More fixing of Sphere texture coords. Now we have proper spherical mapping, but a weird seam at the date line - when using the earth.bmp.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@650 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-22 14:19:01 +00:00
hybrid
3e487b3b4d Another change for the hasMipMaps fix which was not committed last time. Fix for CsphereNode texture coords which now range from 0 to 1 on both axes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@649 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-22 08:16:29 +00:00
hybrid
71990c7e72 Fixed correct overloading of hasMipMaps, found by Jiang. Also changed it to const.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@648 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-22 07:20:16 +00:00
hybrid
c71218ff6e Fix a wrongly placed grab.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@647 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-21 13:37:55 +00:00