TyFlow samples and tutorials

Forums: TyFlow samples and tutorials
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

TyFlow samples and tutorials

Postby neonZorglub » Thu Dec 19, 2019 5:08 am

neonZorglub Thu Dec 19, 2019 5:08 am
[UPDATE:]
An updated tutorial is available here: viewtopic.php?f=27&t=74783
See the latest OctaneRender® for 3ds max® v2020.1 - 10.10: viewtopic.php?f=80&t=74782

Octane plugin supports Tyflow particle instances and most of Tyflow's meshes directly.

--- Particles:
To use the particle instances mode, the tyFlow object need to have his 'Interface / Particle ' option enabled.
The particle object may not have a suitable mesh by default set in the tyFlow's editor (eg 2d / sprite mode).
In this case, a simple helper sphere can be created by Octane. (option in Support/Tyflow Rollup)
To customize the particle's geometry, you can add a 'Shape' in Tyflow's editor, set as a 3D mesh or a reference node.

The material used by each particle group can be assigned with material IDs, from a Multi material applied to the main tyFlow node.
Each of the sub material should be set as an Octane Material.

It is possible to set and use IDs to individual particles, to customize the particle material per particle:
Set Support / Tyflow / TyFlow particle IDs to 'Birth unique ID'
This can be used for example by the 'Instance range' texture.
see tf_sandTeapot_ParticleIDs.max sample bellow

--- Motion Blur ---
Motion blur works as for other objects: In Octane object properties enable 'Object motion blur' for object with particles,
and 'Vertex motion blur' for objects generating an animated mesh.
see tf_sandTeapot_MotionBlur.max sample bellow

--- Octane modifier ---
Note that the Render setup / Support / Tyflow settings are global for all tyFlow objects of the scene.
But it's possible to override them for each object, with an Octane Geometry modifier.
The octane modifier has the same options (except the 'create sphere', as it is intended to be a visual helper until a proper mesh is setup).

--- TyMesher ---
When tyFlow generate very dynamic mesh, with many different parts, the particle instance mode should be avoided !
In those cases, the standard mesh obtained from the object can be empty, so the addition of a TyMesher object is needed.
Once added and the original tyFlow object set as input, the tyFlow object should be hidden.
See sample tf_clusters_tyMesher.max bellow
Note that tyMesher can also be used instead of particles, but this would result in reduced


--- mix of particles and mesh ---
In some case, tyFlow object generate both particles and a different mesh.
This can be rendered by using the octane option 'Use particle node's mesh'
See sample bellow : tf_deformingFracture_Oct.max
Note that for simple particle nodes, this option should be disabled to avoid having a duplicated mesh.


Notes:
-Make sure Support/'Use Direct geometry handler' is enabled.
-In case of issue, try Octane global preferences, menu Preset/Reset default settings, and reload the max file.


--- samples ---
tutorials_oct.zip
max files
(385.84 KiB) Downloaded 438 times


tf_sandTeapot_ParticleIDs.max
tf_sandTeapot_MotionBlur.max
Based on the sample tyFlow_scenes_012/Grains/tyFlow_sandCastle_001.max

worms_MotionBlur.max
based on the sample tyFlow_scenes_012/Actors/tyFlow_worms_001.max

tf_clusters_tyMesher.max
based on the sample tyFlow_scenes_012/Fracturing/tyFlow_clusters_001.max

tf_deformingFracture_Oct.max
based on the sample tyFlow_scenes_012/Fracturing/tyFlow_deformingFracture_001.max

--- tutorial videos ----
TyflowParticleRendering.mp4

[ Play Quicktime file ] TyflowParticleRendering.mp4 [ 24.09 MiB | Viewed 9070 times ]



TyflowAdvanceParticleMaterial.mp4




--- some step by step instructions, for other samples ---
* tyFlow_scenes_012/Splines/tyFlow_electricArc_001.max
- set Octane as renderer

* tyFlow_scenes_012/Misc/tyFlow_retime_001.max
- set Octane as renderer
- create a tyMesher
- pick tyFlow001
- change mode from 'Blobmesh' to 'Input Geometry'

* tyFlow_scenes_012/Misc/tyFlow_upres_001.max
- set Octane as renderer
- select object tyFlow_hires, open Modify panel
- choose 'Interfaces' / Enable Particle Interface
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 889
Joined: Sun Jul 31, 2016 10:08 pm

Re: TyFlow samples and tutorials

Postby ramone163 » Thu Dec 19, 2019 12:26 pm

ramone163 Thu Dec 19, 2019 12:26 pm
Can we see support Tyflow in Octane v4?
GPU: 980+1080+1080Ti; 3ds max;
Behance portfolio; Handmadefont.com;
ramone163
Licensed Customer
Licensed Customer
 
Posts: 244
Joined: Tue Aug 28, 2012 5:12 pm

Re: TyFlow samples and tutorials

Postby neonZorglub » Thu Dec 19, 2019 8:22 pm

neonZorglub Thu Dec 19, 2019 8:22 pm
ramone163 wrote:Can we see support Tyflow in Octane v4?

Hi Ramone763,
Yes, I should update other versions shortly.
Thanks,
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 889
Joined: Sun Jul 31, 2016 10:08 pm

Re: TyFlow samples and tutorials

Postby HHbomb » Fri Dec 20, 2019 11:56 am

HHbomb Fri Dec 20, 2019 11:56 am
Hi, NeonZ. You don't need to use mesher, you can use Mesh node, with "triangle Mesh" and Render Only uncheked. ( I think )
YOKO Studio | win 10 64 | i7 5930K GTX 3090 | 3dsmax 2022.3 |
HHbomb
Licensed Customer
Licensed Customer
 
Posts: 1300
Joined: Wed Jun 30, 2010 8:45 pm

Re: TyFlow samples and tutorials

Postby javierluisbravo » Mon Dec 23, 2019 3:02 pm

javierluisbravo Mon Dec 23, 2019 3:02 pm
Hi!

amazing! Since which version is Tyflow properly supported...?

as i installed 2019.1.4 8.13 and movable proxys enabled objects where having issues of not following animations in the octane viewport.. so i had to roll back to
2018.1.2 7.06...

Thanks!
javierluisbravo
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Mon Jul 04, 2016 6:10 pm
Location: Argentina

Re: TyFlow samples and tutorials

Postby paride4331 » Mon Dec 23, 2019 3:11 pm

paride4331 Mon Dec 23, 2019 3:11 pm
Hi javierluisbravo,
Tyflow support since v2019.1.5 - 8.14 and v2018.1.3 - 7.15
Regards
Paride
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
User avatar
paride4331
Octane Guru
Octane Guru
 
Posts: 3684
Joined: Fri Sep 18, 2015 7:19 am

Re: TyFlow samples and tutorials

Postby Ebo » Sat Feb 15, 2020 12:52 pm

Ebo Sat Feb 15, 2020 12:52 pm
Hi, can I have the demo version of Octane with support for TyFlow?
Ebo
Licensed Customer
Licensed Customer
 
Posts: 71
Joined: Sat Mar 11, 2017 9:36 am

Re: TyFlow samples and tutorials

Postby paride4331 » Mon Feb 17, 2020 9:43 am

paride4331 Mon Feb 17, 2020 9:43 am
Ebo wrote:Hi, can I have the demo version of Octane with support for TyFlow?


https://home.otoy.com/render/octane-render/demo/#demo
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
User avatar
paride4331
Octane Guru
Octane Guru
 
Posts: 3684
Joined: Fri Sep 18, 2015 7:19 am

Re: TyFlow samples and tutorials

Postby neonZorglub » Mon Mar 29, 2021 9:13 pm

neonZorglub Mon Mar 29, 2021 9:13 pm
The version 2020.2.1-11.07 now support tyFlow particle age (update for other versions is coming shortly)

Here is a sample and details for the setup:
-Add an Octane Geometry Properties modifier to the tyFlow object (eg tyFlow001)
-In the tyFlow object rollup, set Particle UID mode to 'Age'
This will set the user ID of each particle using their tyflow age (as get from maxscript with [obj].getParticleAge {index} or [obj].getAllParticleAges())
(http://docs.tyflow.com/tyflow_maxscript/)
-This ID can then be used by a texture of the material assigned to the tyFlow object
For this example, an Instance Range texture is used as an input of a gradient texture.
The Maximum ID is set to the length of the animation, in frame count (300)
The new born particles will be red, and as their age increase, they will change to green, up to the dark blue at the end of the gradient.
ParticleAgeIDs.png


tf_sandTeapot_ParticleAgeIDs.zip
(51.29 KiB) Downloaded 200 times
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 889
Joined: Sun Jul 31, 2016 10:08 pm

Re: TyFlow samples and tutorials

Postby HHbomb » Tue Mar 30, 2021 9:24 am

HHbomb Tue Mar 30, 2021 9:24 am
Hi,
Thank you very much for your file and your explanations.
You add particle UID mode "Age". Could it be possible to add Custom properties instead ?
I mean in tyflow we can set custom properties to particles via channel names.
It would be far more powerfull to map particle with its particle data not just age. (see pict)
Attachments
custom prop.jpg
YOKO Studio | win 10 64 | i7 5930K GTX 3090 | 3dsmax 2022.3 |
HHbomb
Licensed Customer
Licensed Customer
 
Posts: 1300
Joined: Wed Jun 30, 2010 8:45 pm
Next

Return to Autodesk 3Ds Max


Who is online

Users browsing this forum: No registered users and 12 guests

Tue Mar 19, 2024 4:15 am [ UTC ]