Jump to content
  • Advertisement
Sign in to follow this  
MrMark

Where does CUDA fit into the render pipeline

This topic is 3551 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to start playing around with CUDA and experment with a voxel based rendering system. I'm just trying to get my head around where CUDA fits in. If I build a CUDA program, am I limited to only using the GPU, or can the GPU and CPU to communicte with each other ? I'm not too keen on developing a full application in CUDA as it would be a horriable waste of CPU power...

Share this post


Link to post
Share on other sites
Advertisement
cuda doesn't fit in the pipeline at all, you should use it instead of the CPU to do software rendering

Share this post


Link to post
Share on other sites
CUDA doesn't fit in the render pipeline at all. It's a API for using the GPU to solve highly parallel numerical programming problems. You can think of it as a way to turn your GPU into a second CPU, albeit a somewhat specialized one.

Share this post


Link to post
Share on other sites
Cool, so I've got complete control over how everything renders. Can I still have my CPU's running the gameplay logic, with the GPU acting as a software renderer ?

Edit, found my answer in the nvidia docs. Yes I can use both the GPU and CPU in an application

Share this post


Link to post
Share on other sites
If it can run aside of DirectX or OpenGL you can offload all the tasks where you want no rasterizer involved or a simplified rasterizer like shadow maps and PostFX. I believe this will work in DirectX 11 where you can use the tranditional rasterizer based interface aside with a cuda-like interface. So you can run a ray-tracer on the side :-)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!