Share

Irrlicht Engine

Tracker: Patches

3 Useful features added - ID: 1582970
Last Update: Comment added ( hybrid )

This patch adds the following:

* Culling mode: front or back faces.

Currently, irrlicht supports setting in a material if
the back faces are culled or not. Obviously this is not
enough. With this patch, the culling mode can be set on
a driver level.

* Clipping planes.

Currently, irrlicht does not support user clipping
planes. All drivers support at mimimum 6 of those so
it's a shame that the user can't set them at will. This
patch adds this functionality on the camera level, i.e.
you set the clipping planes per-camera.

* View matrix affector.

Currently, it is not possible in irrlicht to alter
the camera's view matrix. That is because the view
matrix is recalculated each frame in
CCameraSceneNode::OnPreRender(). This patch adds the
ability for the user to set a matrix ("view matrix
affector") per-camera which is multiplied with the
camera's view matrix each frame, after the view matrix
is calculated.

------------------------------------------------------

I must say that this is the first patch I ever did for
irrlicht which supports not only the opengl driver but
the d3d9 and d3d8 ones :).
Of course someone with more experience should check the
validity of the patch for the d3d drivers.

Finally, this patch was created while developing the
following demo:
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=16546


Yiannis Mandravellos ( mandrav ) - 2006-10-23 15:39

3

Closed

Fixed

Christian Stehno

video

None

Public


Comment ( 1 )

Date: 2009-03-30 16:57
Sender: hybridProject Admin

This patch has been accepted and commited to SVN. It will be part of the
next release.


Attached File ( 1 )

Filename Description Download
cullface-clipplanes-viewaffector.patch Download

Changes ( 8 )

Field Old Value Date By
close_date - 2009-03-30 16:57 hybrid
resolution_id None 2009-03-30 16:57 hybrid
category_id None 2009-03-30 16:57 hybrid
allow_comments 1 2009-03-30 16:57 hybrid
status_id Open 2009-03-30 16:57 hybrid
priority 5 2007-01-31 09:16 hybrid
assigned_to nobody 2007-01-31 09:16 hybrid
File Added 199592: cullface-clipplanes-viewaffector.patch 2006-10-23 15:39 mandrav