Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

2018.26450 - Kantan slows cooking with geo instanced texture

Report bugs so we can squash them!

2018.26450 - Kantan slows cooking with geo instanced texture

Postby ajk48n » Wed Nov 21, 2018 9:35 am

TD 099, 2018.26450, Windows 10

I've found a performance bug in Kantan Mapper

The setup starts with a replicated Base TOP that is used as instanced textures on geometry. The base has a switch inside to flip a constant color. The switch is referenced from a master control, so when the control is changed, all replicated TOPs change their color.

The render of all this geo is put onto a single rectangle in Kantan.

When the master control is now changed, the cook time goes up drastically.

In the performance monitor, the slowdown shows that Kantan is cooking it's inputs repeatedly for each texture instance.

Digging into Kantan, it seems like this is because of a live reference to the resolution of the texture.

If you go here: kantanMapper / project / tools / textureEdit / screen

There is an info chop grabbing live data from the null of the texture. This is apparently recooking after every geometry instance.

I've found a fix for this. Instead of the info node getting piped to other nodes, I've inserted a Null node into the stream. When that null is set to Selective Cook Type, Kantan stops recalculating everything for each instance.


I've probably explained that poorly, so I've attached an example file.
Attachments
kantan instance.toe
(4.25 MiB) Downloaded 58 times
ajk48n
 
Posts: 110
Joined: Sat Jun 06, 2015 3:48 am
Location: Sydney

Re: 2018.26450 - Kantan slows cooking with geo instanced tex

Postby snaut » Mon Nov 26, 2018 4:21 pm

Great improvement!

will be in an upcoming build.

Best
Markus
User avatar
snaut
Staff
 
Posts: 901
Joined: Mon Nov 12, 2007 6:21 pm
Location: Toronto

Re: 2018.26450 - Kantan slows cooking with geo instanced tex

Postby ajk48n » Mon Nov 26, 2018 4:45 pm

Great, thanks!
ajk48n
 
Posts: 110
Joined: Sat Jun 06, 2015 3:48 am
Location: Sydney


Return to Bugs

Who is online

Users browsing this forum: No registered users and 9 guests