Commit Graph

10 Commits (de109a1f6ac65c655aca30bf147eb0785a7115ef)

Author SHA1 Message Date
hybrid ed26bc8b78 Add test case for polygon offset (depth bias)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3655 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 17:24:35 +00:00
hybrid f1cc2dca01 Fix writeScene change in order to write the given node and its descendants, not only the list of children to the scene file.
Add support for loading a scene file as childs of a given node. This will ignore the scene attributes and load all nodes of the scene, storing them as children of a given parent node. The rest will stay as before, including the default behavior to load scene attributes and all nodes directly into the scene manager.
Test cases added for both methods loadScene and saveScene. In order to find a node in the example scene from tutorial 15 I have added a name and ID to one of the scene elements.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3532 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 17:54:10 +00:00
hybrid 9f6d50804a Fix setMesh for skinned meshes, as reported by wing64. The joints cache was not updated, and hence the node reported and returned wrong joints.
Added support for resetting the transition time to 0.
Fixed some method names (correct camel case, create replaced by add, upper case fixed) in skinnedMesh.cpp

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3526 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-30 14:49:19 +00:00
hybrid 4eeafca144 Enable test for projection matrix. I have removed the projection matrix tweak from OpenGL driver, as it does not seem to have any effect. At least no good one.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3501 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 17:11:30 +00:00
hybrid 014272f2c1 Fix the text scene node placing in viewports. The problem was, that the calculation took the absolute viewport dimension into account, while rendering into the viewport requires the screenwidth to be taken. Hence, the text was usually misplaced. The collision method can still be used for this mixed mode calculation (get screen coordinate during viewport rendering, use it for full screen rendering), but requires an additional parameter.
Software drivers don't support 2d rendering into viewports, so they still fail to properly position text (or other 2d things) into a viewport.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3489 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 15:22:58 +00:00
hybrid 3a66a00b68 Add a test case for mrt usage. Based on code by wing64.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3414 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 09:26:03 +00:00
hybrid d6eb580f95 Add a generic attribute interface for querying video driver attributes which are not necessarily of type bool. This interface allows to check certain supported features, such as the number of user clip planes, supported lights and textures, MRTs, and other things. The interface might change in the future, but it's fully functional already. The supported attributes are listed in the API docs of the function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3408 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:19:42 +00:00
hybrid 6f27d721ef Rename test file and adapt project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3398 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 12:02:49 +00:00
hybrid ba5f014c15 Remove non-existing files from project list. This avoids the dumb "need to recompile" dialogs in MSVC 2010. Also cleaned up some more things.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3382 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-31 17:35:38 +00:00
hybrid 1fcf0461fe Add the other msvc 2010 project and solution files. Fix all configurations to work as expected.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3381 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-31 16:51:14 +00:00