Texture Atlas Node

Sub forum for feature requests etc

Moderators: ChrisHekman, aoktar

Post Reply
burning01
Licensed Customer
Posts: 3
Joined: Sat Feb 17, 2018 11:17 am

It would be great to have a texture atlas node in Octane.
A pretty standard feature thats missing from Octane - Especially because texture memory can easily become a bottleneck in gpu rendering.

What is it:
Texture Atlas pack multiple textures into a single texture and then those textures can be isolated and used within the shader as separate textures.- that includes the ability to tile independently of each other.

Reason its needed:

*to cut down texture memory cost and generally be more efficient
*Im not sure with octane but in game shaders there is a limit of 16 image samplers generally, so texture atlases allow for more textures than shader usually allows, or allows for more efficiency if under the limit
*to include an industry standard feature thats missing from Octane but is present in most other software

my use case:
I am developing shaders for multiple software that need to be more or less identical, for the most part I can align their various functions to be cohesive, but texture atlas is a critical part of the process, all the other software I use has the functionality- Octane in this regard is the weak link and breaks the ability to recreate my shader in Octane, also I really want to be making my Octane shaders as efficient as possible, so having a solution to this would be great.

Just to note that using a baking texture as a work around will not work for my use case and even if it did its not very efficient. Also while several uvw transform nodes can be used to isolate each texture from the atlas, they cannot be tiled independently of each other, if you try it, it will tile all the images in the atlas, not just the isolated one (as seen in 2nd attached image)

I attached an example of a simple texture atlas and of the uvw transform workaround issue
Attachments
Octane TextureAtlas.zip
example of texture atlas and example of workaround issue
(1.04 MiB) Downloaded 70 times
frankmci
Licensed Customer
Posts: 917
Joined: Fri May 26, 2017 2:00 pm
Location: Washington DC

I haven't done more than play a bit with them, but Octane supports the UDIM format in conjunction with the Image Tiles node. From your description, that might be what your are looking for.
https://docs.otoy.com/cinema4d/ImageTilesUDIMs.html
Animation Technical Director - Washington DC
User avatar
jobigoud
OctaneRender Team
Posts: 250
Joined: Sat Aug 15, 2015 1:28 pm

Hi,
Try this OSL projection:
atlas.osl
(1.18 KiB) Downloaded 72 times
When using this you should leave the transform at the texture level untouched (identity) and use the one that is on this OSL projection node instead. This is to ensure the correct order of operations between the wrap around and the tile transform.
Unfortunately this is not compatible with the Chaos texture at the moment.

Demo scene:
atlas-proj.orbx
(1.8 MiB) Downloaded 63 times
Post Reply

Return to “User requests”