360 Commits

Author SHA1 Message Date
hybrid
e90950b72a 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: http://svn.code.sf.net/p/irrlicht/code/trunk@865 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 13:39:23 +00:00
hybrid
f4eef47838 A first few fixes concerning strict-aliasing mentioned by vapier.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@864 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 13:37:43 +00:00
hybrid
a776f1a1b2 Converted to dos line-endings.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@862 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-24 11:42:41 +00:00
hybrid
516e837e00 Fix the translate order in OpenGL driver once more ;-)
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@861 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 21:30:30 +00:00
bitplane
9f09553b83 updated xcode project file, submitted by daredemo.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@860 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 12:32:00 +00:00
bitplane
3c26a46bcc Moved OpenGL 2D transform from the modelview matrix to the projection
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@859 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 11:56:54 +00:00
hybrid
7ea9fdc71d Compile error fix for OpenGL versions without extensions.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@858 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 11:37:31 +00:00
bitplane
44b7e2fb38 added setResizeAble to osx device as it's not in the device stub
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@857 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 10:37:04 +00:00
hybrid
e7b7b70c82 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: http://svn.code.sf.net/p/irrlicht/code/trunk@856 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 17:22:52 +00:00
hybrid
0d7c9f98bd 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: http://svn.code.sf.net/p/irrlicht/code/trunk@855 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 17:19:17 +00:00
hybrid
f85f7e79f8 Avoid warning from MSVC
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@854 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 15:19:50 +00:00
hybrid
8872a3d96c Add compiler and feature check for point sprite support.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@853 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 23:44:57 +00:00
hybrid
8ca573d69a Added driver support for Point sprites.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@852 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 23:33:34 +00:00
hybrid
9730178adb Fixed two places which would create an glError and increased extension check performance.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@851 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 20:55:24 +00:00
bitplane
97e8bab9f3 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: http://svn.code.sf.net/p/irrlicht/code/trunk@850 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 17:39:49 +00:00
bitplane
6a2f1c1478 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: http://svn.code.sf.net/p/irrlicht/code/trunk@849 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 14:11:49 +00:00
bitplane
ac2a30d239 Added OnResize and getCurrentRenderTargetSize to the software drivers. Fix for GUI XML loading by CuteAlien.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@848 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 10:11:55 +00:00
hybrid
e4f2e0176d Fixed some more bugs in .obj loading, introduced in recent updates.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@847 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-19 20:56:27 +00:00
hybrid
dac9bf1731 Fix OpenGL detailmap lighting bug noticed by paooolino
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@843 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-17 10:02:41 +00:00
hybrid
8f517a0689 Enhanced D3D9 normalmap shader by RyanClark.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@842 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-16 22:44:12 +00:00
hybrid
2eb8a7c84e Fix the cursor creation under Linux to avoid illegal memory access.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@841 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-16 11:19:29 +00:00
hybrid
1b4a35bc4a Fix signedness of indices to read the correct array elements. Bug found by randomMesh.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@840 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-15 15:55:20 +00:00
hybrid
05b83230d9 Added Spot lights for hardware drivers. Added per pixel fog support for OpenGL.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@838 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-15 03:39:44 +00:00
hybrid
c71d49a395 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: http://svn.code.sf.net/p/irrlicht/code/trunk@837 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 15:10:28 +00:00
hybrid
eb028cc954 Exposed the MS3D MeshBuffer as SharedMeshBuffer, providing mesh buffers with a shared vertex array.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@836 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 03:36:26 +00:00
hybrid
c05d2ffe9c Added a new constructor for SAnimatedMesh and some cleanup.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@835 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 00:54:40 +00:00
hybrid
f88dafc647 Missed a debug statement.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@834 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:59:13 +00:00
hybrid
d8cce844dc 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: http://svn.code.sf.net/p/irrlicht/code/trunk@833 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:53:12 +00:00
hybrid
38cfe404b9 Made the MeshBuffer an explicit member instead of a base class.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@832 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:33:29 +00:00
hybrid
71e67f65ca Removed some unused object files.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@831 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:30:39 +00:00
hybrid
a61fc04caf Some minor changes. Simplified the .obj loader, also fixed some bugs.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@830 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:28:44 +00:00
hybrid
bcb7b5594d Added driver support for user clip planes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@829 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-10 13:06:52 +00:00
hybrid
462d774cdb Derive specialized vertices from the base one to avoid duplicated code.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@828 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-09 22:57:48 +00:00
hybrid
87fe99881c Added texture support for collada meshes. Fixed const parameters in MeshManipulator.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@827 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-08 16:30:10 +00:00
hybrid
94edfb3673 Fix relative indices in obj files.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@826 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-08 13:19:28 +00:00
bitplane
734934cdb1 bug in draw2DImage
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@823 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-04 23:49:18 +00:00
irrlicht
78a2767171 removed double/float conversion warning
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@820 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-03 05:51:06 +00:00
hybrid
57977cd8c9 Added Win32 fullscreen enhancement, now trying to get a better refresh rate. Some minor changes, mainly to comments and indentation.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@819 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 14:39:14 +00:00
hybrid
a6e2f42437 Use c++ casts instead of plain C ones.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@818 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 09:50:59 +00:00
hybrid
514d2f5da8 Named the event structs. Fixed a warning with endif comments.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@817 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 08:07:54 +00:00
bitplane
66bd0aa3bf Fixed menu checkmark bug found by mhack
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@814 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:47:53 +00:00
hybrid
5ee93a1b73 Fix extra qualification.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@813 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:15:54 +00:00
hybrid
560ea9eee3 Fixed HillPlane Mesh to work with arbitrary sizes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@812 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:14:55 +00:00
hybrid
10391462db Made geometry creation use IMesh instead of IAnimatedMesh. Moved Sphere meshbuffer into geometry creator and changed sphere scene node accordingly.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@811 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 11:01:04 +00:00
hybrid
fedf50bd06 Fixed some missing unlocks and the missing point size setting in D3D drivers/textures.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@810 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-29 23:48:58 +00:00
bitplane
2ecfb9aafd Added IrrCompileConfig define to compile without GUI.
Fixed a couple of spelling mistakes.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@809 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-26 05:30:19 +00:00
hybrid
6d3327ccb0 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: http://svn.code.sf.net/p/irrlicht/code/trunk@807 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-25 12:51:43 +00:00
bitplane
976d65dc05 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: http://svn.code.sf.net/p/irrlicht/code/trunk@804 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-21 14:05:11 +00:00
hybrid
6aeb1970bc Temporarily disabled the non-alpha textures for d3d due to lack of mipmap support. Have to fix that first.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@802 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-19 23:57:14 +00:00
hybrid
223837474a 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: http://svn.code.sf.net/p/irrlicht/code/trunk@801 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-19 23:31:18 +00:00