What is SceneCapture2D’s ClipPlaneBase and ClipPlaneNormal variables? How to use them or, at least, where I can find any docs?
Does it allow to set custom clip planes for the capturing?
Much appreciate for any example!
What is SceneCapture2D’s ClipPlaneBase and ClipPlaneNormal variables? How to use them or, at least, where I can find any docs?
Does it allow to set custom clip planes for the capturing?
Much appreciate for any example!
I would like to know more about this also.
I recently and briefly messed around with it, so here is my two cents.
When performing your capture, the scene component will render all the actors/meshes/materials/… between the scene capture 2D component and the clip plane. Everything outside these two points (or planes) will simply not be rendered as part of the capture.
The clip base normal is the vector which defines the orientation of the plane which stops the rendering as explained above. Now this planes needs not to be orthogonal/normal to the vector form between the scene capture actor and the plane base. In other word you could make an oblique cut of your scene.
The scene capture 2D is useful for mini-maps, camera video surveillance, or portals… the later happens to be the one which can make use of the clip plane. This is how I understand it from my recent activities.
The answer is here, in a different question (check for the accepted answer).
I’ve made different question about the same thing (with wrong initial title…), so please check the accepted answer here .