Author Topic: Render selected (inlcude) with a cloner object?  (Read 187 times)

2024-05-09, 10:35:14

TeoRossi93

  • Active Users
  • **
  • Posts: 133
    • View Profile
Hey guys!

I would like to use the "render select" option with some specific objects inside a cloner. Unluckily this thing is not working. I tried with both "include list" and "object ID" but doesn't work.
I know I could make the cloner editable but it is animated and more complex than the you one you are looking at in the attachments, animation won't work anymore (unless I make a super heavy alembic).

Any workaround for this thing?
Thanks!
Matteo Rossi 3D - https://www.teorossi.it/

2024-05-09, 13:38:17
Reply #1

Cinemike

  • Active Users
  • **
  • Posts: 1003
    • View Profile
I don't think "render selected" and selected content from a cloner can work together.
A cloner is a generator, which means that everything inside stops being an indepent object and something new (a collection of clones) is now in existence.

PS
You can always include the cloner as a whole and switch off (traffic lights) specific clones inside.
« Last Edit: 2024-05-09, 13:50:47 by Cinemike »

2024-05-09, 14:55:07
Reply #2

TeoRossi93

  • Active Users
  • **
  • Posts: 133
    • View Profile
I don't think "render selected" and selected content from a cloner can work together.
A cloner is a generator, which means that everything inside stops being an indepent object and something new (a collection of clones) is now in existence.

PS
You can always include the cloner as a whole and switch off (traffic lights) specific clones inside.

Including the clone and switching off the useless stuff will work for sure, but I need alpha for the useless parts, so it's not gonna work.
I'm gonna bake an alembic animation I guess
Matteo Rossi 3D - https://www.teorossi.it/

2024-05-14, 17:20:09
Reply #3

bnji

  • Corona Team
  • Active Users
  • ****
  • Posts: 206
  • Benjamin
    • View Profile
    • Corona Renderer
Hello there Teo...
Would you be so kind as to share your scene project? (or at least a striped-down version of it)
Looking forward to hearing from you.
Have an amazing day/evening.
Benjamin Rosas | chaos-corona.com
3D Support Specialist - Corona | contact us
Corona Uploader l Upload

2024-05-15, 11:30:10
Reply #4

TeoRossi93

  • Active Users
  • **
  • Posts: 133
    • View Profile
Hello there Teo...
Would you be so kind as to share your scene project? (or at least a striped-down version of it)
Looking forward to hearing from you.
Have an amazing day/evening.
Hey Benjamin,
sorry for harassing you lol.
I'm attaching an object here, can't share the whole scene. I left notes inside to point out what I need to do.
Thanks in advance!
Matteo Rossi 3D - https://www.teorossi.it/

2024-05-15, 23:02:12
Reply #5

bnji

  • Corona Team
  • Active Users
  • ****
  • Posts: 206
  • Benjamin
    • View Profile
    • Corona Renderer
Hi there Teo,


Hahaha, no worries, I'm glad to be assisting you.
I've downloaded your scene file (thank you so much for that), and for this specific case, I'll use any of the following solutions:
Solution A:
-I'd use the Corona Compositing tag, and then I'd create different masks to separate elements (Emeralds, Diamonds, and the metal parts).
-Then, I'll compose them into the video editing software.
Solution B:
-I'd use the Cryptomatte Multi-pass and set it to work in Material mode (as I can see, you already assigned different materials and IDs
-Then, save them as multi-layer EXR images so that you can extract the required multi-pass in your video editing software (assuming you'll be using AE)
Note: For this specific solution, please consider that you'll require a 3rd party plugin for your video editing software to be able to extract multi-passes from EXR files.
Solution C:
-You can always define the Alpha channel for specific materials.
-I mean, you can go to the Metal material, then click on the "Advanced" channel, and set the Alpha to "Always Black"
-Repeat the process for the diamond material
-Lastly, render your images, but save them using an image file format that supports saving the alpha channel.
-This way, your image will look like a regular image, but if you apply the Alpha channel, then your image will be cut out.
I hope this helps.
I'm including a modified version of your file so you can experiment with it.
Benjamin Rosas | chaos-corona.com
3D Support Specialist - Corona | contact us
Corona Uploader l Upload