Tycache and Octane

Forums: Tycache and Octane
3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here viewforum.php?f=18

Tycache and Octane

Postby javierluisbravo » Fri Feb 07, 2020 4:13 pm

javierluisbravo Fri Feb 07, 2020 4:13 pm
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
javierluisbravo
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Mon Jul 04, 2016 6:10 pm
Location: Argentina

Re: Tycache and Octane

Postby radsaf » Mon Feb 10, 2020 8:24 pm

radsaf Mon Feb 10, 2020 8:24 pm
I was able to render tyCache particles using tyMesher. In tyMesher, pick your tyCache object and under Mode choose Input Geometry.
intel C2 Q9300 2.5GHz |6 GB ram | GTX 560ti 2 GB ram| WIN7x64
User avatar
radsaf
Licensed Customer
Licensed Customer
 
Posts: 9
Joined: Mon Mar 04, 2013 2:25 pm

Re: Tycache and Octane

Postby javierluisbravo » Fri Feb 14, 2020 8:20 pm

javierluisbravo Fri Feb 14, 2020 8:20 pm
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!
javierluisbravo
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Mon Jul 04, 2016 6:10 pm
Location: Argentina

Re: Tycache and Octane

Postby Alminia » Tue Feb 18, 2020 11:42 pm

Alminia Tue Feb 18, 2020 11:42 pm
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.
Alminia
Licensed Customer
Licensed Customer
 
Posts: 11
Joined: Sat Feb 02, 2019 7:45 pm

Re: Tycache and Octane

Postby ramone163 » Fri Feb 09, 2024 11:26 pm

ramone163 Fri Feb 09, 2024 11:26 pm
+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.
GPU: 980+1080+1080Ti; 3ds max;
Behance portfolio; Handmadefont.com;
ramone163
Licensed Customer
Licensed Customer
 
Posts: 247
Joined: Tue Aug 28, 2012 5:12 pm

Re: Tycache and Octane

Postby neonZorglub » Fri Feb 23, 2024 3:02 am

neonZorglub Fri Feb 23, 2024 3:02 am
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.
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 948
Joined: Sun Jul 31, 2016 10:08 pm

Re: Tycache and Octane

Postby remKa » Mon Feb 26, 2024 1:50 pm

remKa Mon Feb 26, 2024 1:50 pm
Great, thank you !
i7 3930K / 1 EVGA Titan Black SuperClocked - 1 GTX Titan - 1 GTX 960 / 32 Gb DDR 3
http://www.remka.fr
https://twitter.com/remKa_
remKa
Licensed Customer
Licensed Customer
 
Posts: 206
Joined: Fri Jan 24, 2014 6:23 pm
Location: Paris

Re: Tycache and Octane

Postby remKa » Mon Jul 22, 2024 6:56 pm

remKa Mon Jul 22, 2024 6:56 pm
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 ?
i7 3930K / 1 EVGA Titan Black SuperClocked - 1 GTX Titan - 1 GTX 960 / 32 Gb DDR 3
http://www.remka.fr
https://twitter.com/remKa_
remKa
Licensed Customer
Licensed Customer
 
Posts: 206
Joined: Fri Jan 24, 2014 6:23 pm
Location: Paris

Re: Tycache and Octane

Postby neonZorglub » Thu Aug 08, 2024 1:05 am

neonZorglub Thu Aug 08, 2024 1:05 am
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.
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 948
Joined: Sun Jul 31, 2016 10:08 pm

Re: Tycache and Octane

Postby neonZorglub » Thu Aug 08, 2024 3:21 am

neonZorglub Thu Aug 08, 2024 3:21 am
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
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 948
Joined: Sun Jul 31, 2016 10:08 pm

Return to Autodesk 3Ds Max


Who is online

Users browsing this forum: No registered users and 1 guest

Sun Nov 10, 2024 7:17 pm [ UTC ]