Jump to content
  • Advertisement
YixunLiu

DX11 Load rendering results from one computer to another

This topic is 379 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

Hi,

I use DirectX to do stereo rendering in one computer.

I want to load the rendering results (two textures) to another computer. 

I can use network to transform the two textures to anther computer, but how to load them into the render target?

 

Thanks.

 

YL

Share this post


Link to post
Share on other sites
Advertisement

Just as spontaneous idea, you need to fetch the textures pixels from your local machine and send those to the target machine. Here you need a texture in memory of same size and format that you could copy transfer the received pixels at.

But this will result in a very poor framerate you know?

Share this post


Link to post
Share on other sites
9 hours ago, Shaarigan said:

Just as spontaneous idea, you need to fetch the textures pixels from your local machine and send those to the target machine. Here you need a texture in memory of same size and format that you could copy transfer the received pixels at.

But this will result in a very poor framerate you know?

Thanks a lot, Shaarigan. I know it is not good for performance. 

Once  I create a texture in the target computer, how to put the texture into the rendering target? Use orthogonal projection to render a quad with the created texture?

Thanks.

Share this post


Link to post
Share on other sites

You answered the question, just run a post process pass which sends the texture to the swap chain(s).  That is likely the best, if not the only, method to get the images setup correctly.  it is also quite fast, your network transfer is going to be the big bottleneck.

Share this post


Link to post
Share on other sites

  • 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!