Commit Graph

408 Commits (d9abe1d946b052d279694e57d9e6166d02672c51)

Author SHA1 Message Date
hybrid 43b6bb6589 Made the MeshBuffer an explicit member instead of a base class.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@832 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:33:29 +00:00
hybrid a26aa2c57a Removed some unused object files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@831 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:30:39 +00:00
hybrid 4c74d89e82 Some minor changes. Simplified the .obj loader, also fixed some bugs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@830 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:28:44 +00:00
hybrid 29e890bfc3 Added driver support for user clip planes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@829 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-10 13:06:52 +00:00
hybrid 981d1d61f2 Derive specialized vertices from the base one to avoid duplicated code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@828 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-09 22:57:48 +00:00
hybrid 9c9beede40 Added texture support for collada meshes. Fixed const parameters in MeshManipulator.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@827 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-08 16:30:10 +00:00
hybrid 21efe402ba Fix relative indices in obj files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@826 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-08 13:19:28 +00:00
bitplane 00cab3e6ec some doc comments about event types and event receivers. fixed a bug in the gui editor
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@825 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-07 03:12:22 +00:00
bitplane cdcf888a3e bug in draw2DImage
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@823 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-04 23:49:18 +00:00
irrlicht d64f53e4c0 removed double/float conversion warning
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@820 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-03 05:51:06 +00:00
hybrid f42fdc4a15 Added Win32 fullscreen enhancement, now trying to get a better refresh rate. Some minor changes, mainly to comments and indentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@819 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 14:39:14 +00:00
hybrid ebb6f460b4 Use c++ casts instead of plain C ones.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@818 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 09:50:59 +00:00
hybrid f67fcbc13e Named the event structs. Fixed a warning with endif comments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@817 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 08:07:54 +00:00
bitplane 001e09d013 Fixed menu checkmark bug found by mhack
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@814 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:47:53 +00:00
hybrid 9eeba07bc8 Fix extra qualification.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@813 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:15:54 +00:00
hybrid 31eff65735 Fixed HillPlane Mesh to work with arbitrary sizes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@812 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:14:55 +00:00
hybrid bc94d5a4a2 Made geometry creation use IMesh instead of IAnimatedMesh. Moved Sphere meshbuffer into geometry creator and changed sphere scene node accordingly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@811 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 11:01:04 +00:00
hybrid f41e314fcc Fixed some missing unlocks and the missing point size setting in D3D drivers/textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@810 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-29 23:48:58 +00:00
bitplane 4e4c393d41 Added IrrCompileConfig define to compile without GUI.
Fixed a couple of spelling mistakes.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@809 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-26 05:30:19 +00:00
bitplane cdd017da43 reverted change to quaternion :/
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@808 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-25 21:31:30 +00:00
hybrid b41385a3ff Mem leak fixed in d3d RTT code identified by vitek. Some redundant code removed and OpenGL shader materials fixed for changing number of textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@807 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-25 12:51:43 +00:00
bitplane 03df110fc6 disabled windows hires timer on multi-cpu systems when the process is running on more than one cpu. bug reported by _Alex`86_ and Halan.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@804 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-21 14:05:11 +00:00
hybrid 37d2363843 Temporarily disabled the non-alpha textures for d3d due to lack of mipmap support. Have to fix that first.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@802 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-19 23:57:14 +00:00
hybrid b9f96332bd Added a new texture creation flag for specifying the desired texture format. The new flag chooses a non-alpha channel texture format. This will save some texture memory (one fourth for 32bit textures).
Fixed another COpenGL render state bug.
Fixed several color conversion methods.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@801 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-19 23:31:18 +00:00
bitplane 1d6a992ee0 fixed bugs with listbox automatic visibility of scrollbars, and clicking on listbox scrollbars when in a combo box.
items in a listbox are now selected as you type their text.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@799 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-18 22:47:05 +00:00
hybrid 3f4fb37f5e Code cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@798 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 23:47:10 +00:00
hybrid 80148ed319 Fixed signedness to avoid strange error messages.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@797 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 21:57:10 +00:00
bitplane 732a14ae70 fixed a bug where opengl scissor tests were not disabled after drawing 2d images with an invalid clipping rectangle.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@796 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 20:52:13 +00:00
bitplane a22e4abf94 stole lightfeather's quaternion::toEuler function by mm765 (with permission) as it deals with singularities. added a constant for pi/2.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@795 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 15:42:32 +00:00
hybrid f1ef8d2fc5 Reindentation and small updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@793 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 23:46:43 +00:00
bitplane e29ebb3cd7 missed conditions for flipping projection when drawing 2d images in opengl render targets
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@792 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 20:03:17 +00:00
bitplane 3ffd6b73c7 opengl render targets were flipped again after drawing 2d stuff
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@791 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 19:22:44 +00:00
hybrid 71c42fb110 Make the material name string array local to SMaterial, public, and up to date.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@790 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-15 22:34:42 +00:00
hybrid 95505b00c4 Fixed a missing return for performance.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@789 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-15 21:51:04 +00:00
bitplane 9b5c411745 added listbox automatic scrolling and scrollbar automatic visibility depending on height
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@788 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 22:17:53 +00:00
bitplane b43e46727a OpenGL render targets are now the same way up as in the other drivers. When setting the projection matrix of a render target, the Y axis is flipped and polygon winding is switched to counter-clockwise.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@787 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 15:58:55 +00:00
hybrid 838ea26474 Changed OpenGL default Renderstate to ALPHA_TEST being disabled. Some indentation changes in other files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@786 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 23:33:17 +00:00
hybrid 63b756e8db Added some more compile time checks for OpenGL support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@785 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 18:28:58 +00:00
hybrid 9eabb49041 Some more parts of the matrix class templatized.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@784 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 18:23:09 +00:00
hybrid 2dc1051124 Added a name parameter to render target textures just as for usual textures.
Exposed findTexture in IVideoDriver to check if a texture was already loaded.
Reordered some more OpenGL render state settings in the materials.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@783 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:53:34 +00:00
hybrid 9fc207d110 Fixed scene node deserialization which was completely broken since several revisions due to newly added attributes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@782 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:34:05 +00:00
bitplane 6a04ec83c7 missed a semicolon in a do while loop .. oops
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@781 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-12 16:47:25 +00:00
bitplane 044cb4de8b fixed NaNs returned by toEuler, rounding errors caused acos to be passed > 1 or < -1.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@779 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-11 18:41:46 +00:00
hybrid abe0cf6e35 addColor fix by etcaptor.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@778 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-11 08:07:06 +00:00
hybrid 125e3330dd Fix shader language version check.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@777 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-10 21:49:59 +00:00
hybrid c010d00725 Fixed an OpenGL render state bug and added GLSL version number to check in extension handler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@772 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-09 22:59:35 +00:00
bitplane 569d6d8988 fixed getOriginalSize in textures in Burning's renderer. Had to add a new method to get the size of the largest mipmap (getMaxSize), as the texelarea functions needed this value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@769 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-08 14:02:45 +00:00
bitplane 9cd0eca1ce fixed a bug I caused in CGUIMenu and CGUIContextMenu. added some more window symbols to the built-in font and the skin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@768 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-08 12:19:39 +00:00
hybrid 163d098040 Some minor changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@767 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 20:12:48 +00:00
hybrid ef4443353b Changed addArrowMesh parameter order. Changed OBJ loader to use stringc instead of dynamically allocated char array.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@766 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 20:08:47 +00:00