Commit Graph

162 Commits (4f27057696f38351497296e4bb56f2e81d8c8ad0)

Author SHA1 Message Date
hybrid 4f27057696 Fixed texture loading for .x files. Was trying to load the directory instead of the texture in the first try.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@867 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 22:36:54 +00:00
hybrid 0204279850 export irrXML functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@866 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 21:21:05 +00:00
hybrid b5270f9da4 Changed the OpenGL header include scheme for OSX. I hope that it does not break anything as I cannot compile it under OSX. Also some indentation for the OSX stuff.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@865 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 13:39:23 +00:00
hybrid d6f8edae35 A first few fixes concerning strict-aliasing mentioned by vapier.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@864 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 13:37:43 +00:00
hybrid 53e235343b Converted to dos line-endings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@862 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-24 11:42:41 +00:00
hybrid 80c4ef0471 Fix the translate order in OpenGL driver once more ;-)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@861 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 21:30:30 +00:00
bitplane 04558e16a2 updated xcode project file, submitted by daredemo.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@860 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 12:32:00 +00:00
bitplane 05cf30845c Moved OpenGL 2D transform from the modelview matrix to the projection
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@859 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 11:56:54 +00:00
hybrid b285054559 Compile error fix for OpenGL versions without extensions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@858 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 11:37:31 +00:00
bitplane 77744cc939 added setResizeAble to osx device as it's not in the device stub
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@857 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 10:37:04 +00:00
hybrid 3ace21dc8d Remove automatic zbuffer write enable in transparent d3d materials. To be done by the user, just as the OpenGL materials already do.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@856 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 17:22:52 +00:00
hybrid 9d137cc70e Changed some OpenGL material renderer states. Removed the automatic mipmap generation after texture unlock for OpenGL to get the same as for d3d drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@855 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 17:19:17 +00:00
hybrid cbc0fcc31d Avoid warning from MSVC
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@854 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 15:19:50 +00:00
hybrid f795aa5378 Add compiler and feature check for point sprite support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@853 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 23:44:57 +00:00
hybrid b04c7e758f Added driver support for Point sprites.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@852 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 23:33:34 +00:00
hybrid d2702c7f5c Fixed two places which would create an glError and increased extension check performance.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@851 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 20:55:24 +00:00
bitplane b02c9893cf Moved the driver dimension restrictions (multiple of two) from the windows device into the software drivers.
Added OpenGL 2D drawing accuracy patch by tuXXX.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@850 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 17:39:49 +00:00
bitplane 8060c6c9e8 resizing software devices in linux. Need to keep hold of XVisualInfo until window destruction, so we can use it to make new XImages when the window is resized
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@849 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 14:11:49 +00:00
bitplane c2b3d99f6a Added OnResize and getCurrentRenderTargetSize to the software drivers. Fix for GUI XML loading by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@848 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 10:11:55 +00:00
hybrid 5cba00344b Fixed some more bugs in .obj loading, introduced in recent updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@847 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-19 20:56:27 +00:00
hybrid f46caaa21e Fix OpenGL detailmap lighting bug noticed by paooolino
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@843 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-17 10:02:41 +00:00
hybrid 8637f39900 Enhanced D3D9 normalmap shader by RyanClark.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@842 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-16 22:44:12 +00:00
hybrid b004d40f74 Fix the cursor creation under Linux to avoid illegal memory access.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@841 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-16 11:19:29 +00:00
hybrid 153c682578 Fix signedness of indices to read the correct array elements. Bug found by randomMesh.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@840 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-15 15:55:20 +00:00
hybrid 59ac643248 Added Spot lights for hardware drivers. Added per pixel fog support for OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@838 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-15 03:39:44 +00:00
hybrid 8f34efc3f4 Fixed the d3d9 mipmapping for new formats. Still not a nice solution, though. Also enabled hardware mipmap update for d3d9 with an extra check for format support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@837 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 15:10:28 +00:00
hybrid 0aa958f441 Exposed the MS3D MeshBuffer as SharedMeshBuffer, providing mesh buffers with a shared vertex array.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@836 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 03:36:26 +00:00
hybrid 01c4324747 Added a new constructor for SAnimatedMesh and some cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@835 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 00:54:40 +00:00
hybrid 11b249ea3f Missed a debug statement.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@834 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:59:13 +00:00
hybrid 74f1e2e9e3 Enhanced the meshbuffer interface. moved the recalculateBoundingBox from MeshManipulator to IMeshBuffer by exposing the already existing methods. Some initial append methods added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@833 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:53:12 +00:00
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 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
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