Game Development Community

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.

About the author

Recent Threads


#1
04/05/2013 (12:39 pm)
Start in the GFX system - there is already a DirectX renderer there and the linux guys have probably added an OpenGL renderer to that system. DirectX already uses shaders (and should show how to set and get data on the GPU).