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
bitplane
0a8844cd23
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: http://svn.code.sf.net/p/irrlicht/code/trunk@799 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-18 22:47:05 +00:00
hybrid
f1e066c665
Code cleanup.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@798 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 23:47:10 +00:00
hybrid
00b121dbab
Fixed signedness to avoid strange error messages.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@797 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 21:57:10 +00:00
bitplane
c7266dc278
fixed a bug where opengl scissor tests were not disabled after drawing 2d images with an invalid clipping rectangle.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@796 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 20:52:13 +00:00
hybrid
7d574cc99d
Reindentation and small updates.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@793 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 23:46:43 +00:00
bitplane
986ef627f7
missed conditions for flipping projection when drawing 2d images in opengl render targets
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@792 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 20:03:17 +00:00
bitplane
e27415f6da
opengl render targets were flipped again after drawing 2d stuff
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@791 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 19:22:44 +00:00
hybrid
b6d5fbf11b
Make the material name string array local to SMaterial, public, and up to date.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@790 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-15 22:34:42 +00:00
hybrid
e66f369914
Fixed a missing return for performance.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@789 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-15 21:51:04 +00:00
bitplane
1609c1d6b9
added listbox automatic scrolling and scrollbar automatic visibility depending on height
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@788 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 22:17:53 +00:00
bitplane
ac95fd750b
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: http://svn.code.sf.net/p/irrlicht/code/trunk@787 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 15:58:55 +00:00
hybrid
e014b8444a
Changed OpenGL default Renderstate to ALPHA_TEST being disabled. Some indentation changes in other files.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@786 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 23:33:17 +00:00
hybrid
3d3fb14f90
Added some more compile time checks for OpenGL support.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@785 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 18:28:58 +00:00
hybrid
fabcbfe8b2
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: http://svn.code.sf.net/p/irrlicht/code/trunk@783 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:53:34 +00:00
hybrid
a5ef3b727f
Fixed scene node deserialization which was completely broken since several revisions due to newly added attributes.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@782 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:34:05 +00:00