How to add my own rendering code
by LFF · in Torque 3D Beginner · 04/04/2013 (11:49 pm) · 1 replies
Dear All,
I am a beginner of Torque 3D. I read the rendering pipeline of Torque 3D. Torque 3D enables Direct X and OpenGL.
However, I am thinking that if I develop some rendering algorithm using OpenGL and CUDA by myself, how to add it into rendering pipeline of Torque 3D and let Torque 3D call my function? And, if I modified FBO or PBO by my functions, how to let Torque 3D directly access them on GPU without through CPU interfere.
Please give your idea? Thanks very much.
I am a beginner of Torque 3D. I read the rendering pipeline of Torque 3D. Torque 3D enables Direct X and OpenGL.
However, I am thinking that if I develop some rendering algorithm using OpenGL and CUDA by myself, how to add it into rendering pipeline of Torque 3D and let Torque 3D call my function? And, if I modified FBO or PBO by my functions, how to let Torque 3D directly access them on GPU without through CPU interfere.
Please give your idea? Thanks very much.
Torque Owner Richard Ranft
Roostertail Games