Chaos Corona for Cinema 4D > [C4D] I need help!

How to use UDIM tiles in Corona?

<< < (2/2)

3Divo:
I finally got the answer I was looking for from Benjamin of Corona-Support. In case anyone else is interested, I am quoting his instructions. In the 1st paragraph he describes the method that works in C4d independently of the render engine. The disadvantage of this method is that you have to create a material for each UDIM tile and distribute this with selection sets. The 2nd paragraph describes the method I was looking for, where the Corona Bitmap shader can distribute the UV tiles over several UDIM tiles...
One thing to note: in the viewport the Corona material only shows the texture parts of the 0-1 tile, and not of the additional tiles.

Attached is also the file he sent to me.

Thanks again to Benjamin!

1)
There are several ways to do it; however, it is worth mentioning that it is not a Corona renderer feature; it is a C4D feature/workflow.
If you have a single object with its appropriate selection tags (each one representing a UV tile), then you can just create a separate material for each texture (one material loading the "1001" texture maps, another separate material with the texture maps "1002", and so on) and apply each material to your object. (don't forget to assign the appropriate selection tags on each material tag)
After applying all material tags to your object, select a material tag, go to the attributes panel and uncheck the option "Tile" (below the "Add Material" option). Right there, the last step is to increase the "Offset U" value by 100% depending on the UV tile/material. I mean, if the second tag material represents the UV tile "1002", then the "Offset U" must be 100%, if the third material tag represents the UV tile "1003", then the "Offset U" value must be 200%, and so on (same goes if you have more than 10 tiles, which means you'll be using UV tiles "1011, 1012, 1013", etc., in this case, you'll also need to increase the "Offset V" value as well).
The above instructions are to do it manually, but if you prefer, some plugins can do it almost automatically; you just need to do a simple search for it on google.

2)
If you want to use the UDIM functionality from the Corona bitmap, you just need to set the Tiling mode to UDIM, set the name pattern (so the node can look for that naming pattern in the tex folder), and then set the number of U and V tiles.
In cases like this one, you just need to set a single material, and the Corona bitmap will take care of looking for the texture maps (no need for multi-texture shaders or something like that).
I'm attaching a sample scene to illustrate what I'm talking about, hopefully, so this can be clear enough to understand hehe.
(the scene contains one object using different materials and adjusting the UDIMs as previously mentioned, using the C4D method, and the other object uses the Corona Bitmap tiling method)

arte:
+1

Thanks for sharing the information. I knew the first way, because it's kind of obvious, but I didn't know about the second one, the one in the Corona bitmap shader!

Thanks! :)

wasfrans:
Thank you so much!

Navigation

[0] Message Index

[*] Previous page

Go to full version