User avatar
By Mihnea Balta
#360796
In Maya you can right click the parameter in the render settings window and set a key, just like with any other attribute. In Max there's no equivalent functionality, but it can be simulated with a pre-render script. For example, this code animates the water value linearly between 2 and 5 from frame 10 to 20 (with clamping before and after the interval):
Code: Select all
fn UpdateWater = (
	startFrame = 10
	endFrame = 20
	startValue = 2
	endValue = 5
	t = currentTime
	if t < startFrame then t = startFrame
	if t > endFrame then t = endFrame
	t = (t - startFrame) / (endFrame - startFrame)
	renderers.current.skyPhysicalWater = t * (endValue - startValue) + startValue
)

callbacks.addScript #preRenderEval "UpdateWater()" id:#UpdateSkyWater
Help with swimming pool water

I think you posted a while back that its best to u[…]

Sketchup 2026 Released

Considering how long a version for Sketchup 2025 t[…]

Greetings, One of my users with Sketchup 2025 (25[…]

Maxwell Rhino 5.2.6.8 plugin with macOS Tahoe 26

Good morning everyone, I’d like to know if t[…]