Nested Multisub Materilas.
#1
Hi there.

I am trying scatter a set of modles that have multisub materials (think flowers with 5 materials for each) I am stuck on how to get the materials of each object to render. I am guessign there is a limitation with TyFlow and how materials work. I know you need to apply a multisub material to the TyFlow object, but what if those each have a multisub material as well?

I would love it to work like Forest pack, where I can scatter any object and the materials just go with it. Any advice for this would be great.

Thanks,

Dave.
www.iamstatic.com

Processor: Intel® Xeon® CPU E5-2630 v3 @ 2.40GHz 2.40 GHz (2 processors)
GTX 1080
RAM: 64 GB
OS: Windows 10 64-bit
  Reply
#2
The Shape, Actor and Birth Objects operators all have "inherit instance mtl" options...that will assign whatever material is applied to the input objects to their corresponding render instances. Then, when you render the particles as instances, the original materials will be retained.
  Reply
#3
(02-15-2022, 03:24 PM)tyFlow Wrote: The Shape, Actor and Birth Objects operators all have "inherit instance mtl" options...that will assign whatever material is applied to the input objects to their corresponding render instances. Then, when you render the particles as instances, the original materials will be retained.

Would this work if I have applied a material to the TyFlow object before choosing those settings. I have tried to choose that setting but it does not render the materials.
www.iamstatic.com

Processor: Intel® Xeon® CPU E5-2630 v3 @ 2.40GHz 2.40 GHz (2 processors)
GTX 1080
RAM: 64 GB
OS: Windows 10 64-bit
  Reply
#4
The materials should be applied to the input objects when using instance materials. The material applied to the tyFlow object will be ignored when rendering as instances with inherited materials.
  Reply
#5
(02-15-2022, 03:40 PM)tyFlow Wrote: The materials should be applied to the input objects when using instance materials. The material applied to the tyFlow object will be ignored when rendering as instances with inherited materials.

Yup, that is not working. I will do more tests. But I have this checked in the shape op.


Attached Files Thumbnail(s)
   
www.iamstatic.com

Processor: Intel® Xeon® CPU E5-2630 v3 @ 2.40GHz 2.40 GHz (2 processors)
GTX 1080
RAM: 64 GB
OS: Windows 10 64-bit
  Reply
#6
You're rendering as instances?
  Reply
#7
(02-15-2022, 03:49 PM)IAS_Dave Wrote:
(02-15-2022, 03:40 PM)tyFlow Wrote: The materials should be applied to the input objects when using instance materials. The material applied to the tyFlow object will be ignored when rendering as instances with inherited materials.

Yup, that is not working. I will do more tests. But I have this checked in the shape op.

So I made a brand new flow. There is no override of the default material, and none of the objects have the materials transfered over. I know I must be doing something wrong here.


Attached Files Thumbnail(s)
   
www.iamstatic.com

Processor: Intel® Xeon® CPU E5-2630 v3 @ 2.40GHz 2.40 GHz (2 processors)
GTX 1080
RAM: 64 GB
OS: Windows 10 64-bit
  Reply
#8
You need to render as instances for it to work, hence 'instance material' Smile

Switch to instances in your Mesh operator(s). Depending on your renderer you may need to enable the particle interface in the tyFlow Interfaces rollout.
  Reply
#9
OK thanks, I am using Corona render v7. I have put the mesh to Render Instance, enabled particle interface, and nothing is getting rendered.

Also, thanks for getting back to me so fast on this. I am sure this is user error Smile

Man I am goign to be sad if this can only work with Vray!

Also it looks like it will not work when usign Vray IPR, and only show up when doign production render out of vray.

So for now it looks like to work with render instance materials, it does not work with Corona Sad

I think this may answer my problem. Looks like Corona needs to support instancing with TyFlow.

https://forum.corona-renderer.com/index....c=28765.15
www.iamstatic.com

Processor: Intel® Xeon® CPU E5-2630 v3 @ 2.40GHz 2.40 GHz (2 processors)
GTX 1080
RAM: 64 GB
OS: Windows 10 64-bit
  Reply
#10
AFAIK Corona doesn't yet support instancing. It's something they're working on but I'm not sure if a compatible build has been released yet. VRay IPR is also not yet supported.
  Reply
#11
Thank you so much. I am installing a daily build that may have fixed that. I will update here if it works.

So, the latest Corona daily (corona-8-3dsmax-daily-2022-02-08) build works!!!!
Materials and instance come over perfect, and works in Corona IPR.

Again, thanks for helping out and I hope this thread will help someone trying to figure out why things no worky Smile
www.iamstatic.com

Processor: Intel® Xeon® CPU E5-2630 v3 @ 2.40GHz 2.40 GHz (2 processors)
GTX 1080
RAM: 64 GB
OS: Windows 10 64-bit
  Reply
#12
Great! Smile
  Reply
#13
Redshift still doesn't support this......
  Reply


Forum Jump: