Page 1 of 1
Tycache and Octane
Posted: Fri Feb 07, 2020 4:13 pm
by javierluisbravo
Hi my friends,
i mad octane work with tyflow.. but i can't make it work with tycache once the cache is done in the hard disk.
Is there a way? i tried turning on particle interface, movable proxy, etc..
is there a correct way to make it work?
thanks in advanced,
Javier
Re: Tycache and Octane
Posted: Mon Feb 10, 2020 8:24 pm
by radsaf
I was able to render tyCache particles using tyMesher. In tyMesher, pick your tyCache object and under Mode choose Input Geometry.
Re: Tycache and Octane
Posted: Fri Feb 14, 2020 8:20 pm
by javierluisbravo
radsaf wrote:I was able to render tyCache particles using tyMesher. In tyMesher, pick your tyCache object and under Mode choose Input Geometry.
Thank you so much!
Re: Tycache and Octane
Posted: Tue Feb 18, 2020 11:42 pm
by Alminia
Same question here,
The only way to make Tycache work is to disable GPU instancing, but it's a crazy solution that creates millions and millions polygons if you have lot of particles.
I really don't understand why instanced geometry work perfectly fine with Tyflow but not with TyCache.
Re: Tycache and Octane
Posted: Fri Feb 09, 2024 11:26 pm
by ramone163
+1
Alminia wrote:Same question here,
The only way to make Tycache work is to disable GPU instancing, but it's a crazy solution that creates millions and millions polygons if you have lot of particles.
I really don't understand why instanced geometry work perfectly fine with Tyflow but not with TyCache.
Re: Tycache and Octane
Posted: Fri Feb 23, 2024 3:02 am
by neonZorglub
Alminia wrote:Same question here,
The only way to make Tycache work is to disable GPU instancing, but it's a crazy solution that creates millions and millions polygons if you have lot of particles.
I really don't understand why instanced geometry work perfectly fine with Tyflow but not with TyCache.
Sorry I didn't implement the TyCache support previously. The link to a TyMesh was the only work around to use it.
I had a quick look, it seems to work fine in both Instance and Mesh modes...
This should be available in the next release (14.10 / 15.04)
Thanks for pointing this out.
Re: Tycache and Octane
Posted: Mon Feb 26, 2024 1:50 pm
by remKa
Great, thank you !
Re: Tycache and Octane
Posted: Mon Jul 22, 2024 6:56 pm
by remKa
Hello NeonZorglub,
I have an issue with a grain simulation in tyflow.
I have about 200 frames with 3 millions particles that I Tycached, I use gpu instancing with "enable particles" and everything works fine...but :
Frame 1 takes about 1min30 to render, with 30 sec for the processing geometry. At frame 15, render time is about the same but the processing geometry time doubles
I have to cancel the render and relaunch it at frame 16 to get back at a reasonable PG time again.
Is there something I could do about it ?
Re: Tycache and Octane
Posted: Thu Aug 08, 2024 1:05 am
by neonZorglub
remKa wrote:Hello NeonZorglub,
I have an issue with a grain simulation in tyflow.
I have about 200 frames with 3 millions particles that I Tycached, I use gpu instancing with "enable particles" and everything works fine...but :
Frame 1 takes about 1min30 to render, with 30 sec for the processing geometry. At frame 15, render time is about the same but the processing geometry time doubles
I have to cancel the render and relaunch it at frame 16 to get back at a reasonable PG time again.
Is there something I could do about it ?
Hi remKa,
I tried with a sample scene, and didn't see much dramatic variation in the processing time, but I noted that the memory usage increases a bit for each frame, then get back down at some point..
I'm not sure if that's normal, and will investigate more.
in the meantime, you could try the 'Enable Render performance report' AND 'Enable Extra Log' in Preferences / Troubleshooting tab.
(the log file can be open with the Preference's tool menu / Open Octane plugin log file) (or directly open Octane3dsMaxLog.log in C:\Users\xxx\AppData\Local\Autodesk\3dsMax\yyyy - 64bit\ENU)
You should get some details about time and memory for each rendered frame, like this:
In this case, I get about 21 seconds per frame, with tasks as follow:
Root: 100.00 % ( 20.92 sec).
CheckScene: 58.63 % ( 12.27 sec).
CalcVertexNormals: 0.00 % ( 0.00 sec).
EngineUpdate: 19.49 % ( 4.08 sec).
EngineRender: 21.88 % ( 4.58 sec).
Other: 0.00 % (0.00 sec)
and you can see the evolution of the memory usage, in the lines:
---- Memory usage (Post frame render) ----
xxx percent of memory in use.
See if something change around your frame 15..
I'll post the result of further investigation here and will fix the issue if it's on the Octane plugin side.
Thanks for reporting this issue.
Re: Tycache and Octane
Posted: Thu Aug 08, 2024 3:21 am
by neonZorglub
Hi RemKa,
The memory increase is mainly due to tyCache keeping the particle data for each frame in memory.
That's good when editing a scene, and scrubbing in the timeline, but when rendering many frames with many particles, the totality of the data will be stored in ram..
It that approach your available physical ram, Windows will have to swap ram back to disk, and performance will be very bad..
In this case, for rendering, you should disable this:
In the tyCache object / tyCache panel / 'Memory' box, disable the 'Keep frames in RAM' checkbox
That should solve you issue I hope.
Thanks