Jump to content

Streamimg Virtual Textures (SVT), UDIMs


photo

Recommended Posts

@silent thanks for info!

ad SVT:

Is extending mega-texture support for arbitrary meshes is something that can be done at C# or C++ Engine API, exposed in SDK or it's too low-level and requires changes to the source-code / custom builds?

 

Link to comment

Hi sergiusz308,

Landscape terrain's virtual texture implementation is a special case and is only available for it specifically. Through you could try implementing you own system for mega-textures but this will require some deep understanding how you can implement one. For starters this will require some way of knowing what tiles to load to the VRAM, this could be implemented with either Render::asyncTransferStructuredBuffer() or Render::asyncTransferTextureToImage(). Another thing that you will is to correctly apply such megatexture for the meshes. Although is no easy task but seems possible to implement at the first glance.

Hope this helps

Link to comment

Internally we have our own format for Landscape Layer maps that can be read at specific regions on demand. Feedback Streaming is managed using async transfers from GPU to CPU via same api's that I provided above. Texture upload to the GPU can be performed via Texture::setImage() and then rendered into the final atlas texture with RenderTarget.
Note that you can request temporary textures that Engine manages internally.
Render::getTemporaryTexture()
This can be done for RenderTarget s too with Render::getTemporaryRenderTarget().
Don't forget to release them with appropriate calls to Render::releaseTemporaryTexture() & Render::releaseTemporaryRenderTarget().

Hope this helps

  • Like 1
Link to comment
×
×
  • Create New...