Material ID not working in Tycache?
#1
Hi there, 

Maybe I'm doing this wrong but.

I have an object that has 3 MatID setted up.
I scatter this object to particles using "shape" 
Renders nice from the flow, but when I export TYcache, the MatID is gone and reseted to 1.

how is the proper workflow for exporting with working MatID?

Thankyou.

I added a Display Data in the flow, and shows Mat ID = 0

well max doesn't have 0, so I guess thats why it shows 1 when I export it.
But then why it renders fine from the flow without the cache? :\

keep investigating.

Ok i got it.

isn't a bit strange? If I deactivate the channel MatID in the export particles, then it keeps the original material ID. ha!
what is the logic behind it, I'm a bit confused.

thankyou!
  Reply
#2
Can you post a screenshot of your flow?
  Reply
#3
here it is.

first i create some particles in another flow because i want to also use them for other things.
I call them back  with the birth flow and assign things.


Attached Files Thumbnail(s)
           
  Reply
#4
actually is not working fine.

Tycache ignores my ID settings for the particles also.
I setup random from 1 to 6, but it only exports 1... Confused

with a very simple scene the problem is much easy to see.

with a very simple scene, is easier to see the problem.


Attached Files Thumbnail(s)
   
  Reply
#5
I think I am also experiencing this behavior.
  Reply
#6
Hi,

I tested the issue here, replicating your simple setup where you set a material ID on a preset flow and export to tyCache, but was unable to reproduce the issue. The material ID exports properly for me.

Can you please upload your tyCache sequence, scene file and perhaps a screenshot of the tyCache object rollout "current file info" to show which channels it contains.
  Reply
#7
I tried to upload the chache files in the forum directly but wouldn't allow me to do that.
so I added everything to a RAR. but wouldn't allow me either.
So I renamed the RAR to .MAX.. then it worked.
Re-name the filename to .RAR please is not a MAX file.

Thankyou.


Attached Files
.max   forTyson.max (Size: 173.95 KB / Downloads: 309)
  Reply
#8
Thanks houhou, I'll modify forum attachments so it accepts .rar, and I'll check out your files soon.
  Reply
#9
Hey,

This was indeed a bug that will be fixed in v0.16032. It happens if you export a tyCache when you have an Instance Material operator in your flow. So if you need an immediate workaround, disable your Instance Material operator and re-export.
  Reply
#10
(06-23-2019, 12:56 AM)tyFlow Wrote: Hey,

This was indeed a bug that will be fixed in v0.16032. It happens if you export a tyCache when you have an Instance Material operator in your flow. So if you need an immediate workaround, disable your Instance Material operator and re-export.

Thankyou!!
  Reply


Forum Jump: