25 Commits

Author SHA1 Message Date
hybrid
0c0ee8be53 Add debug data switch for shadow scene nodes. With EDS_SKELETON and EDS_MESH_WIRE_OVERLAY one can draw the whole shadow volume (or just the wireframe of it) instead of just the shadow. Currently only implemented in the hw drivers.
Also fixed a somewhat slow way of not writing to color planes from alphablend(1,0) to proper colormask settings in d3d driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3964 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-24 00:44:45 +00:00
hybrid
c7ea807729 Change API of IVideoDriver drawStencilShadowVolume method to take an array of vectors instead of just the pointer and the number of vertices. We have this information anyway, so make us of it.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3957 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-22 11:28:39 +00:00
hybrid
8bd1f77c03 Unify two shadow volume methods. Add support for adjacency also for zpass, which makes this method much faster. Proper light scaling and capping still needs to be worked on.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3956 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-22 10:54:12 +00:00
hybrid
c9867126ea Unify method interfaces for volume generation. Remove some checks which could make the shadow volume generate wrong results.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3955 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-22 10:32:39 +00:00
hybrid
2b1f45266c Fix ZFail method and simplify adjacency check
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3954 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-22 09:48:32 +00:00
hybrid
af6caf86cb Some changes towards the new shadow algos. Not yet fully changed, only adapted some interface changes and local improvements.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3948 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-19 22:26:26 +00:00
hybrid
5e4d495dcc Bump copyright dates to 2011.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3556 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:24:40 +00:00
engineer_apple
816d5655fc - added Halflife 1 Model Loader
- added Halflife 1 Texture Loader
- slightly changed usage of getMesh ( doesn't effect existing implementation)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3335 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-07 16:16:03 +00:00
hybrid
d5346c98b2 Some updates from Steel's patch. Also removed the debug data rendering, as it won't work this way.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3209 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 16:18:35 +00:00
hybrid
8f5a1f6f23 Change shadow node to use core::array
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3208 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 14:57:19 +00:00
hybrid
ba58d26ff0 Use core::array instead of C arrays.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2472 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 12:49:29 +00:00
cutealien
2391338b57 - Fix bug in CSceneNodeAnimatorCollisionResponse::setWorld as found by Quillraven.
- Fix simliar bugs where object have been dropped accidentally in set functions in many places


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2417 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-10 20:13:37 +00:00
hybrid
7472bcd83c Merged from 1.5 branch to trunk, all changes from 2042 to 2071. cursor setVisible fix, OSX FPS cam fix, ALPHA_CHANNEL_REF fix, new method draw2dRectOutline, setOverrideFont fixes, getCollisisonPoint distance bug fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2072 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-14 12:37:51 +00:00
lukeph
341dc16566 -added support for 32bit buffers in the opengl and directx9 drivers :) hopefully not buggy...
(may need to add support for directx8 and software?)

-made terrainNode use DynamicMeshBuffer, so it can use 32bit buffers. (no more size limits now on terrains!!! )
if the terrainNode loads an image over 256x256, it is set to 32bit, smaller sizes will use 16bit for better speed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1515 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 04:00:22 +00:00
hybrid
76547f8f97 Added support for proxy meshes as source of the shadow volume. This enables the use of a simplified version of a mesh for the generation of the shadow volume, which can significantly improve the render performance with shadow volumes. Patch provided by tonic.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1477 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 19:39:24 +00:00
hybrid
cdffc4a5d6 Merge from branch 1.4, revisions 1344:1352, which are the doc updates from the 1.4.1 release.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1353 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 11:51:37 +00:00
hybrid
1671a7b43c Avoid warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1112 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-10 23:33:24 +00:00
hybrid
fbb1d585b4 Make even more use of meshbuffer vertex access methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1091 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 22:56:57 +00:00
engineer_apple
0efce9c9a2 -------------------------------------------
Changes in version 1.4 (... 13.11.2007)
- Fixed somed CQuake3ShaderSceneNode problems.
- Changed BurningsVideo internal Vertex Format. version changed to 0.39
- SceneManager:
   Removed the seperate rendering states for quake3 Shader Scene Nodes.
   Nodes are now solid or transparent. ( but still more states are needed )


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1047 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-13 14:36:17 +00:00
hybrid
738951ff4b Fixed some type issues with sqrt. Fixed rect.isValid to work with all types and avoid useless tests. Cleaned up some variable uses and scopes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1004 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-26 16:18:11 +00:00
hybrid
f74f7586e2 Some more constification, but still not done. Now we have also SEvent in OnEvent as const ref, so most user apps will need some kind of upgrade for the new library version.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@964 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-16 23:41:55 +00:00
hybrid
38a6a8216c Added string representation for vertex types. Simplified some code, made some methods const.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@938 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-10 09:27:37 +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
9982e8cf16 Added two currently disabled OpenGL improvements for shadow volumes. Due to incompatible shadow volumes the extensions are not yet working.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@752 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 17:33:01 +00:00
bitplane
c00ce1d372 Moved everything to /trunk
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@643 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-20 18:03:49 +00:00