https://www.youtube.com/watch?v=0k9VZh7cARY
I made the limit 1 million frames can be increased more, in the video I accidentally made only 10 thousand, one thing is that my display in real time time counter got lost, I am not a coder, this is the first time I coded such a script myself I hope it will help you, if someone knows how to quickly fix the time counter I will be grateful, I tormented this miracle for two days.
Let me clarify, I coded in 3ds Max 2025, I don't know if it works in older versions, whoever understands, please add fixes and add yourself as an author to the script. Thanks in advance!
Time and Frame Manager
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
- Elvissuperstar007
- Posts: 2495
- Joined: Thu May 20, 2010 8:20 am
- Location: Ukraine/Russia
- Contact:
- Attachments
-
- Time and Frame Manager.rar
- (1.13 KiB) Downloaded 17 times
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
Page octane render " В Контакте " http://vkontakte.ru/club17913093
- neonZorglub
- Posts: 1002
- Joined: Sun Jul 31, 2016 10:08 pm
Hi Elvissuperstar007,
Thanks for the script, that's very nice.
The problem with the time display seems to come from formattedPrint format, that expect an integer variable with this format parameter, instead of float.
This can be fixed by adding 'as integer' when calculating variables. (with parenthesis around the previous calculation)
The 4 lines to change are as follow:
local hours = (floor (secondsTotal / 3600)) as integer
local minutes = (floor ((secondsTotal - (hours * 3600)) / 60)) as integer
local seconds = (floor (secondsTotal - (hours * 3600) - (minutes * 60))) as integer
local framesLeft = (floor ((secondsTotal - floor secondsTotal) * currentFrameRate)) as integer
Here is the updated script: Thanks
Thanks for the script, that's very nice.
The problem with the time display seems to come from formattedPrint format, that expect an integer variable with this format parameter, instead of float.
This can be fixed by adding 'as integer' when calculating variables. (with parenthesis around the previous calculation)
The 4 lines to change are as follow:
local hours = (floor (secondsTotal / 3600)) as integer
local minutes = (floor ((secondsTotal - (hours * 3600)) / 60)) as integer
local seconds = (floor (secondsTotal - (hours * 3600) - (minutes * 60))) as integer
local framesLeft = (floor ((secondsTotal - floor secondsTotal) * currentFrameRate)) as integer
Here is the updated script: Thanks
- Elvissuperstar007
- Posts: 2495
- Joined: Thu May 20, 2010 8:20 am
- Location: Ukraine/Russia
- Contact:
Thank you, you corrected my clumsiness, but you forgot to add yourself as the author) I hope this script will help manyneonZorglub wrote: Mon Apr 21, 2025 11:49 pm Hi Elvissuperstar007,
Thanks for the script, that's very nice.
The problem with the time display seems to come from formattedPrint format, that expect an integer variable with this format parameter, instead of float.
This can be fixed by adding 'as integer' when calculating variables. (with parenthesis around the previous calculation)
The 4 lines to change are as follow:
local hours = (floor (secondsTotal / 3600)) as integer
local minutes = (floor ((secondsTotal - (hours * 3600)) / 60)) as integer
local seconds = (floor (secondsTotal - (hours * 3600) - (minutes * 60))) as integer
local framesLeft = (floor ((secondsTotal - floor secondsTotal) * currentFrameRate)) as integer
Here is the updated script:
Time and Frame Manager.zip
Thanks
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
Page octane render " В Контакте " http://vkontakte.ru/club17913093
- Elvissuperstar007
- Posts: 2495
- Joined: Thu May 20, 2010 8:20 am
- Location: Ukraine/Russia
- Contact:
You dropped the octane functions in max script, I have a crazy idea! I don't guarantee it, but if it works at least 80% I'll ask to integrate it into octane, well with your corrections.. I'm still a clumsy personElvissuperstar007 wrote: Sun Apr 27, 2025 6:12 pmThank you, you corrected my clumsiness, but you forgot to add yourself as the author) I hope this script will help manyneonZorglub wrote: Mon Apr 21, 2025 11:49 pm Hi Elvissuperstar007,
Thanks for the script, that's very nice.
The problem with the time display seems to come from formattedPrint format, that expect an integer variable with this format parameter, instead of float.
This can be fixed by adding 'as integer' when calculating variables. (with parenthesis around the previous calculation)
The 4 lines to change are as follow:
local hours = (floor (secondsTotal / 3600)) as integer
local minutes = (floor ((secondsTotal - (hours * 3600)) / 60)) as integer
local seconds = (floor (secondsTotal - (hours * 3600) - (minutes * 60))) as integer
local framesLeft = (floor ((secondsTotal - floor secondsTotal) * currentFrameRate)) as integer
Here is the updated script:
Time and Frame Manager.zip
Thanks
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
Page octane render " В Контакте " http://vkontakte.ru/club17913093