hintuc_de Posted September 21, 2011 Share Posted September 21, 2011 Hi all! Is it possible to create matrix or texture with projection of ObjectMesh to some plane (XOY for example)? Link to comment
manguste Posted September 22, 2011 Share Posted September 22, 2011 Eem, as far as I can guess, you want to project meshes onto a plane, for example, to create a mask based on that (for example, houses for a grass mask). If that is the case, simply select all meshes with CTRL or SHIFT, export selected mesh into a mesh file, import a mesh into 3D editor (for example 3ds Max), and project mesh onto a plane (Render to texture Max option). If not, could you please explain in more detail what you need? Link to comment
hintuc_de Posted September 23, 2011 Author Share Posted September 23, 2011 How to create projection (for example shadow mask) for diffrent plane dynamically in UngineScript and C++ api ? Link to comment
manguste Posted September 28, 2011 Share Posted September 28, 2011 In some old versions of OpenGL shadows were calculated as a projection onto the ground plane. You can check here for more details on how it can be implemented. Link to comment
Recommended Posts