Bake Texture ROP: No match for object 1

   3374   2   1
User Avatar
Member
6 posts
Joined: Dec. 2018
Offline
Hi,

The ROP Bake Texture seems to only accept Geometry nodes directly in /obj/, but not if they are located in a different subnetwork (as you can see in the attached image).
It always outputs the error message “No match for object 1: …”, which definitely exists, but the internal script seems to be limited to /obj/.

I've seen a similar usage in the ROP GameDev Bake Texture node, but that node is set to bypass - so I wondered if you this is an official issue and not yet worked out, or if there is a workaround for this?

Cheers,
Georg

Attachments:
Screenshot 2020-12-10 at 11.03.01 AM.png (669.6 KB)

User Avatar
Member
6 posts
Joined: Dec. 2018
Offline
Solved.

If anyone has this problem, you'll need a camera inside of the Object Network and set it in the bake_texture camera parameter, so that the renderer has the correct object network context.

Sorry for the spam!
Edited by earlgeorg - Dec. 11, 2020 01:36:51
User Avatar
Member
2 posts
Joined: July 2022
Offline
Thanks! I was going crazy about this!
To add if you are looking to generate all the texture maps when hitting save to disk, keep the RAT extension in Output picture, this is important if you make this an HDA and to note the generation will run in the background and it will take time for you to see the generated maps in the output path.
  • Quick Links