Materials for Google Earth Mesh? Solved for Redshift not Karma
2687 7 2- polimpiado
- Member
- 43 posts
- Joined: 12月 2016
- Offline
Hello,
I have been playing with Daniel Gallardo's Earth Mesh HDA: https://github.com/xjorma/EarthMeshHoudini [github.com]
It generates a mesh with three prim attributes: "material_name", "material_override", and "shop_materialpath". The material texture renders in the viewport but I do not understand the process of translating this to Karma or other renderer.
There are over 2000 separate materials
Is there a tutorial or relevant documentation that explains this?
See attached screenshots
Any advice is much appreciated.
Thank you
I have been playing with Daniel Gallardo's Earth Mesh HDA: https://github.com/xjorma/EarthMeshHoudini [github.com]
It generates a mesh with three prim attributes: "material_name", "material_override", and "shop_materialpath". The material texture renders in the viewport but I do not understand the process of translating this to Karma or other renderer.
There are over 2000 separate materials
Is there a tutorial or relevant documentation that explains this?
See attached screenshots
Any advice is much appreciated.
Thank you
Edited by polimpiado - 2023年8月27日 19:17:37
- polimpiado
- Member
- 43 posts
- Joined: 12月 2016
- Offline
- polimpiado
- Member
- 43 posts
- Joined: 12月 2016
- Offline
I managed to solve it for redshift renderer by calling up the "basecolor_texture" attribute as a local string parameter on the Material node then referencing that inside on the RStexture node plugged into the base color...
I had to transfer the 'material_override' attribute back onto the geo after the material node as it overwites that attribute.
Also there is som issue with the UVs but they seem to get corrected if I merge it with a grid with UVs, I dont really understand whats going on. I tried promoting UVs from point to vertex but it didnt help.
I would love to get this working in Karma. I found this tutorial [www.youtube.com] which may be a part of the answer but it does not solve the matching per prim...
If anyone has any better ideas or want more detail into my hacky solution lmk
I had to transfer the 'material_override' attribute back onto the geo after the material node as it overwites that attribute.
Also there is som issue with the UVs but they seem to get corrected if I merge it with a grid with UVs, I dont really understand whats going on. I tried promoting UVs from point to vertex but it didnt help.
I would love to get this working in Karma. I found this tutorial [www.youtube.com] which may be a part of the answer but it does not solve the matching per prim...
If anyone has any better ideas or want more detail into my hacky solution lmk
- eikonoklastes
- Member
- 396 posts
- Joined: 4月 2018
- Offline
Can you post the geo for this (or a subset of it, if it's large)? Setting up the HDA requires a Google account and a credit card to register.
I've written Python scripts for SOPs and for Solaris that can read texture files from a folder and assign them to geometry automatically, but I haven't done a transition of material overrides from SOPs to Solaris.
I've written Python scripts for SOPs and for Solaris that can read texture files from a folder and assign them to geometry automatically, but I haven't done a transition of material overrides from SOPs to Solaris.
Edited by eikonoklastes - 2023年9月4日 03:38:26
- Terence Ziegler
- Member
- 64 posts
- Joined: 11月 2015
- Offline
- Panas97
- Member
- 1 posts
- Joined: 12月 2022
- Offline
- liang444366454
- Member
- 21 posts
- Joined: 5月 2023
- Offline
- polimpiado
- Member
- 43 posts
- Joined: 12月 2016
- Offline
-
- Quick Links