tyFlow v1.111
#1
tyFlow v1.111 is up!

https://pro.tyflow.com

Additions:

* added Stable Diffusion support with tyDiffusion module for Max 2023+ (available at the bottom of any viewport shading context menu)
* added experimental tyDiffusionTexGen modifier
* added tyDiffusion/interpolation parameters to tyPreview
* added new "pivot" export channel to tyCache export settings, allowing caches to retain shape pivot offset information (improves compatibility with Multifrature meshes)
* Birth Flow/Flow Update operators can now properly imported pivot-modification data from tyCaches (exported with "pivot" channel listed above), improving overall consistency of data from flow-to-cache-to-flow
* added name presets menu to Alembic point cloud exporter
* added custom float/vector prefix options to Alembic point cloud exporter
* added option to print grid height info to MAXScript Listener in Terrain Display operator. Additional info for Unreal Engine conversion will also be printed.
* added naming convention options to Terrain Tile operator
* added Unreal Engine-compatible resample resolutions to Export Terrain operator
* added start/stop animation loop and normalize time modes to Actor Animation operator
* added "editor_close()" MAXScript function to tyFlow objects
* removed redundant "delete if not found" setting from Flow Update operator (the operator now has a Test rollout which you can use to delete - or send out - particles that have no matching ID in the source flow)
* Find Target "cycle through target list" option will loop back to first target when last target found
* added "randomize cycle order" option to Find Target "cycle through target list" mode

Fixes:

* the Terrain Tile operator now allows for more subdivision levels
* the Birth Terrain operator now allows for smaller terrain resolution levels (down to 2x2)
* removed threading hints override in CPU rollout (seemed to only cause performance degradation when disabled)
* fixed an issue where the Set Target operator could assign invalid targets that don't match filter conditions
* fixed an issue where resetting particle transforms with a Repair operator would result in incorrect PhysX convex hulls being generated for affected particles
* fixed a regression where duplicating a tyFlow object could cause crash Max
* fixed an issue where reloading a Max file could cause the Spawn operator's position matID list to reset
* fixed an issue where particle binds wouldn't break if their max stretch % was set to 0%
* fixed an issue where the tyLibMtl was duplicating the input materials in the SME each time a scene was saved
* fixed an issue where moving a tyMultiFracture modifier input object wouldn't auto-update the fracture result
* fixed an issue where tyFlow could return empty VDB meshes on some frames when the retimer was enabled
* fixed an issue where some machines would draw particle points/sprites with missing faces
* fixed an issue with the Birth VDB operator, where combining 3 float girds into a vector grid would result in an internal voxel size mismatch, which would prevent the VDB Force operator from properly sampling the resulting vector grid
* fixed an issue where the Property Test normalize parameter for actor animations was affecting non-looping animation clips
* fixed an issue that could cause the Export Particles operator to crash when exporting material libraries in Max 2025
* fixed some UI issues affecting high DPI displays with scaling enabled (certain QWidgets too small, getting cut off, etc)
* fixed a memory leak in the Element Fracture operator
* fixed an issue where particles could PhysX Bind to colliders in events other than their own
* fixed an issue where the vertex filter modes of the tyConform modifier were not updating properly when the input meshes were moved
* multifracture child particles will now inherit the integration flags of their parent particle, which will prevent velocity desync when "preserve source particle" is enabled
* fixed some issues that could cause desync between internal actor animation frame count and frame count/percent values measurable by a Property Test operator
* fixed an issue where tyPreview was unnecessarily evaluating hidden objects
* fixed an issue where tyRelax modifier could crash (in temporal mode) when used on editable poly meshes
* fixed an issue where tyPreview path symbols were not properly parsing certain MAXScript syntax
* fixed a regression where the Camera Cull operator was not properly respecting the various "affect" checkboxes
* fixed an issue where duplicator a selector in the tySelect modifier would not duplicate its gizmo transform
* fixed an issue where the global mesh cache might not update for child nodes of tyCollections
  Reply
#2
Tydiffusion works great on 2024 but seems to crash max 2023 at startup.
  Reply
#3
Got this installed today and it appears to be running fine for me in 2023. I'm SO STOKED to master this new tool!!!
Where can we find learning material?
  Reply
#4
(07-02-2024, 10:29 PM)oguzbir Wrote: Tydiffusion works great on 2024 but seems to crash max 2023 at startup.

Could you provide more info about what kind of crash you're experiencing? Was a minidump generated? Are you using tyFlow FREE or PRO?
  Reply
#5
I got an error while installing the tyDiffusion One-click install:

tyDiffusion error: server could not be started (console window closed unexpectedly).
tyDiffusion error: server could not be started (console window closed unexpectedly).
tyDiffusion error: server could not be started (console window closed unexpectedly).
tyDiffusion installation error: Setup command line batch process closed prior to engine connection test.


Attached Files Thumbnail(s)
   
  Reply
#6
(07-03-2024, 01:10 AM)tyFlow Wrote:
(07-02-2024, 10:29 PM)oguzbir Wrote: Tydiffusion works great on 2024 but seems to crash max 2023 at startup.

Could you provide more info about what kind of crash you're experiencing? Was a minidump generated? Are you using tyFlow FREE or PRO?

Hi, I'm using Pro and today I tried to run 2023 again this time I got to see a warning popup. It said Tyflow crash sentinel file found! 

Supposedly due to corrupt lic file?  I'll try to do what it says, delete file and re-enter lic key 
I'll see how that goes. 
Thanks 
Otherwise this thing is brilliant. Thank you!
  Reply
#7
(07-02-2024, 12:45 PM)tyFlow Wrote: tyFlow v1.111 is up!

https://pro.tyflow.com

Additions:

* added Stable Diffusion support with tyDiffusion module for Max 2023+ (available at the bottom of any viewport shading context menu)
* added experimental tyDiffusionTexGen modifier
* added tyDiffusion/interpolation parameters to tyPreview
* added new "pivot" export channel to tyCache export settings, allowing caches to retain shape pivot offset information (improves compatibility with Multifrature meshes)
* Birth Flow/Flow Update operators can now properly imported pivot-modification data from tyCaches (exported with "pivot" channel listed above), improving overall consistency of data from flow-to-cache-to-flow
* added name presets menu to Alembic point cloud exporter
* added custom float/vector prefix options to Alembic point cloud exporter
* added option to print grid height info to MAXScript Listener in Terrain Display operator. Additional info for Unreal Engine conversion will also be printed.
* added naming convention options to Terrain Tile operator
* added Unreal Engine-compatible resample resolutions to Export Terrain operator
* added start/stop animation loop and normalize time modes to Actor Animation operator
* added "editor_close()" MAXScript function to tyFlow objects
* removed redundant "delete if not found" setting from Flow Update operator (the operator now has a Test rollout which you can use to delete - or send out - particles that have no matching ID in the source flow)
* Find Target "cycle through target list" option will loop back to first target when last target found
* added "randomize cycle order" option to Find Target "cycle through target list" mode

Fixes:

* the Terrain Tile operator now allows for more subdivision levels
* the Birth Terrain operator now allows for smaller terrain resolution levels (down to 2x2)
* removed threading hints override in CPU rollout (seemed to only cause performance degradation when disabled)
* fixed an issue where the Set Target operator could assign invalid targets that don't match filter conditions
* fixed an issue where resetting particle transforms with a Repair operator would result in incorrect PhysX convex hulls being generated for affected particles
* fixed a regression where duplicating a tyFlow object could cause crash Max
* fixed an issue where reloading a Max file could cause the Spawn operator's position matID list to reset
* fixed an issue where particle binds wouldn't break if their max stretch % was set to 0%
* fixed an issue where the tyLibMtl was duplicating the input materials in the SME each time a scene was saved
* fixed an issue where moving a tyMultiFracture modifier input object wouldn't auto-update the fracture result
* fixed an issue where tyFlow could return empty VDB meshes on some frames when the retimer was enabled
* fixed an issue where some machines would draw particle points/sprites with missing faces
* fixed an issue with the Birth VDB operator, where combining 3 float girds into a vector grid would result in an internal voxel size mismatch, which would prevent the VDB Force operator from properly sampling the resulting vector grid
* fixed an issue where the Property Test normalize parameter for actor animations was affecting non-looping animation clips
* fixed an issue that could cause the Export Particles operator to crash when exporting material libraries in Max 2025
* fixed some UI issues affecting high DPI displays with scaling enabled (certain QWidgets too small, getting cut off, etc)
* fixed a memory leak in the Element Fracture operator
* fixed an issue where particles could PhysX Bind to colliders in events other than their own
* fixed an issue where the vertex filter modes of the tyConform modifier were not updating properly when the input meshes were moved
* multifracture child particles will now inherit the integration flags of their parent particle, which will prevent velocity desync when "preserve source particle" is enabled
* fixed some issues that could cause desync between internal actor animation frame count and frame count/percent values measurable by a Property Test operator
* fixed an issue where tyPreview was unnecessarily evaluating hidden objects
* fixed an issue where tyRelax modifier could crash (in temporal mode) when used on editable poly meshes
* fixed an issue where tyPreview path symbols were not properly parsing certain MAXScript syntax
* fixed a regression where the Camera Cull operator was not properly respecting the various "affect" checkboxes
* fixed an issue where duplicator a selector in the tySelect modifier would not duplicate its gizmo transform
* fixed an issue where the global mesh cache might not update for child nodes of tyCollections

Will this work on Max 2022? If it doesn't are there plans to get it running on 2022?

Max 2022 is the final perpetual license version and I reckon a lot of people will be using it,

Thanks
  Reply
#8
I am using the latest 3ds max 2023 Version and did install TyFlow pro 1.111. Tyflow Update is running fine and license is activated but I cannot see the tyDiffusion menue selection at the bottom of the viewport shading menues. Tried different scenes. Is ther eanything I am missiong out? Please help, thank you.
  Reply
#9
(07-03-2024, 05:04 AM)keithwmg Wrote: I got an error while installing the tyDiffusion One-click install:

tyDiffusion error: server could not be started (console window closed unexpectedly).
tyDiffusion error: server could not be started (console window closed unexpectedly).
tyDiffusion error: server could not be started (console window closed unexpectedly).
tyDiffusion installation error: Setup command line batch process closed prior to engine connection test.

Me too, using TyFlow free on 3dsMax 2023, and I can see it tries five times to use python I guess

C:\****\tyDiffusion\Tools\python>python get-pip.py
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pip/

It's the same for you?

Then a lot of white text and same red text speeding and it closes, saying "installation Failed, check maxscript ecc."
  Reply
#10
(07-03-2024, 09:26 AM)kangoocarl Wrote: I am using the latest 3ds max 2023 Version and did install TyFlow pro 1.111. Tyflow Update is running fine and license is activated but I cannot see the tyDiffusion menue selection at the bottom of the viewport shading menues. Tried different scenes. Is ther eanything I am missiong out? Please help, thank you.

One step further: I got tyDiffusion to be installed but when "generating" I all seems to go weel but there is no" view result" selection so I cannot see/get an image result.  When checking in the python promt window I am getting this error: "json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 44 column 15 (char 24745)".....so it seems to be hanging here.

Upate for anybody with the same problem: it´s a know bug (on machines that do use commas in stead of peroiod for floating point numbers), there will be a fix laters today. Workaround is to change machine´s number dispaly to periods instead commas. Thanks Tyson for the fast clearance on this.
  Reply
#11
The JSON parsing error will happen on machines using a comma in floating point numbers instead of a period (ex: 5,000 instead of 5.000). The official fix will be posted later today, but the temporary workaround is to switch your number display to periods for now.
  Reply
#12
If you redownload the latest build, the JSON parsing issue should be fixed.
  Reply
#13
Hello Tyflow and all,



I was experiencing the same issues as above and have downloaded the latest 7/03 build to see if it cleared my issue.



The issues I ran into:

A: (resolved)

tyDiffusion error: server could not be started (console window closed unexpectedly).

tyDiffusion error: server could not be started (console window closed unexpectedly).

tyDiffusion error: server could not be started (console window closed unexpectedly).



This was resolved by turning off my VPN.



B: (not resolved)
none of the safetensor files will download. Image attached.
- No errors in listener
- errors in TyDiffusion Queue (image attached)
   

The work around is downloading these manually and saving them to the right folders. The strange thing is that I still see these errors even tho the models are downloaded and are in the right folders. Yes, I can run the AI and it works fine, even with the errors.

Hope this helps others

Build 07/03
Max 2024
3080 GPU
  Reply
#14
The reason you see those errors even after downloading, is because before confirming whether they exist on the user's machine already, I first compare the file size of the remote file to the local file - but if the remote file cannot be reached (due to something blocking the connection), then that test cannot be performed and the connection error is displayed to the user.

If you click the troubleshooting tab and press the button to check the URLs, what is printed to the MAXScript listener?
  Reply
#15
(07-04-2024, 01:47 PM)tyFlow Wrote: The reason you see those errors even after downloading, is because before confirming whether they exist on the user's machine already, I first compare the file size of the remote file to the local file - but if the remote file cannot be reached (due to something blocking the connection), then that test cannot be performed and the connection error is displayed to the user.

If you click the troubleshooting tab and press the button to check the URLs, what is printed to the MAXScript listener?

Hello!

after the troubleshoot, I see the errors below:

--offline (error - could not validate URL)

   

I have nothing to really block communication, unless its some kind of windows defender/firewall thing. Looking into that possibility soon.
  Reply
#16
Yes, it could be that. If your firewall was ever set to block 3ds Max from connecting to the internet, all downloads through the manager will fail. Since the URL checker reports all URLs offline, that is likely the case. Easiest fix is to simply whitelist 3ds Max in your firewall.

Alternatively, if your ISP or some other external entity is blocking connections to HuggingFace.co, that would explain the issue. Check to see that you can view https://HuggingFace.co in a web browser on your machine to rule out that as a cause.
  Reply
#17
No issues with the link to Huggingface. Opens right up.

I will check the firewall for any blocking.
I'll report back ASAP.

Thats it! 2024 has a lot of input on the firewall, some were blocked or made private.
I'm not a network guru, but checking a few boxes made it connect!
   

Thanks for the assistance!
  Reply
#18
Glad it's solved Smile
  Reply
#19
Hi, I have the same error as someone else did above:

tyDiffusion installation error: Setup command line batch process closed prior to engine connection test.

I'm not running a VPN. Anything else I can try?

Thanks
  Reply
#20
The next build will have some extra logging options to help identify the cause of issues like that, but for now you can try the instructions at the bottom of this post:

https://forum.tyflow.com/thread-4311-pos...l#pid14217

But swap out "run_comfyUI.bat" with "install_comfyUI.bat"
  Reply
#21
(07-05-2024, 04:55 PM)tyFlow Wrote: The next build will have some extra logging options to help identify the cause of issues like that, but for now you can try the instructions at the bottom of this post:

https://forum.tyflow.com/thread-4311-pos...l#pid14217

But swap out "run_comfyUI.bat" with "install_comfyUI.bat"

Hi, thanks for your reply. I've got latest 1.112. Run it on a clean empty folder. Still same error ((tyDiffusion error: server could not be started (console window closed unexpectedly).
tyDiffusion installation error: Setup command line batch process closed prior to engine connection test.)) BTW I have previously already had comfyui running ok from before. RTX 4090

I have attached logs and also run the bat as you suggested - the error at the bottom is this: 

Code:
(__VIRTUAL_PROMPT__) J:\TyflowStableDiffusion\Engines\ComfyUI\ComfyUI>"J:\TyflowStableDiffusion\Tools/python/python.exe" main.py --cpu
Traceback (most recent call last):
  File "J:\TyflowStableDiffusion\Engines\ComfyUI\ComfyUI\main.py", line 73, in <module>
    import comfy.utils
  File "J:\TyflowStableDiffusion\Engines\ComfyUI\ComfyUI\comfy\utils.py", line 1, in <module>
    import torch
  File "C:\Users\creat\AppData\Roaming\Python\Python310\site-packages\torch\__init__.py", line 235, in <module>
    from torch._C import *  # noqa: F403
ImportError: DLL load failed while importing _C: The specified module could not be found.


Attached Files
.txt   setup.bat.log.txt (Size: 21.28 KB / Downloads: 45)
.txt   setup_ComfyUI.bat.log.txt (Size: 145.65 KB / Downloads: 147)
  Reply
#22
Hmm...something funky is going on there...looks like it's using the wrong Python version during installation.

Can you confirm what version of 3ds Max you're using?
  Reply
#23
(07-08-2024, 06:49 PM)tyFlow Wrote: Hmm...something funky is going on there...looks like it's using the wrong Python version during installation.

Can you confirm what version of 3ds Max you're using?

Hi, yes am using 2024 but have also tried it with 2025...
  Reply
#24
I think I tracked down the cause...could you re-download v1.112, re-run the one-click installer, then try again?
  Reply
#25
(07-08-2024, 10:45 PM)tyFlow Wrote: I think I tracked down the cause...could you re-download v1.112, re-run the one-click installer, then try again?
Thank you - I tried that, sadly no joy. Same problem (the "DLL failed while importing" error, same error message)
  Reply


Forum Jump: