Notifications
Clear all

[Closed] Animating IsHidden

Here’s one example where changing state on/of can freeze Max where we can get same effect other way…
Have nice scene with lights, shadows and everything, you want turn some light off – don’t, it will freeze Max…
Change intensity multiplier to 0 or put it in a box – painless transition.

1 Reply
(@denist)
Joined: 10 months ago

Posts: 0

Where? How? give an example …
Always, if you have a statement, please support it with an example.

What do you mean”where”?
I describe the scenario.
Maybe missing to put as many lights your hardware and Max can handle at same time…

Put a Waveform controller on multiplier to have nice negative effect
Is it not working for you?

As far as I understand, sometimes turning off the lights in the scene can cause the MAX hang (crash), but if you just set the light intensity to ZERO, it’s safe.

Give an example to prove it. It doesn’t make sense to me without proof.

Not crash but freeze, make it nonresponding.

What proof? You think I’m laying or making this up?

Just checked it on 2021, light off didn’t freeze it but make textured obj. draw a checkerboard and changing multiplayer painless.
So there are differences from versions but still…
My default is 2015 where I’m using this with greater impact.

I just don’t care … if you want to discuss any issue, you should make a setup for anyone who wants to help with it.
So, to make easy to discuss:
#- here is the scene
#- this is the problem
#- these are the steps how to reproduce it

without all this it’s not a pro … it’s for Reddit, Twitter, Facebook …

try this method , it’s not a natural method ,but can be a solution when need to change something while rendering.

objsel=for o in objects where o.modifiers[#ishidden]!=undefined collect #(o,o.ishidden)
renderimage=bitmap 800 600
display renderimage
for n = animationrange.start to animationrange.end do
(
	if keyboard.escPressed do exit
	sliderTime = n
	for o in objects where o.modifiers[#ishidden]!=undefined do if o.modifiers[#ishidden].ishidden then hide o else unhide o
	render to:renderimage
)
for o in objsel do o[1].ishidden = o[2]

it works with your script posted at Floor 6

of course we can do something like that … but we have to understand that this can only be used for dirty previews.

#- here is the scene:

Doesn’t have to be nice, just kind of demanding for viewport rendering – with lights, shadows and everything

#- there’s no problems
#- steps are there

Page 3 / 6