Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.
Hello.
I have animation. Time line is 0-200.
I want to delete object in 100 key frame.
DELETE no HIDE !
@RobH2 @MartinBeh
I don't think that is possible. A scene object (proper term is "node") is either present or not.
You can change its visibility, the mesh itself (e.g. you could delete all faces at frame 100), you move it to a position very far away, and many other things, but the object/node will still be present in the scene.
Can you explain why do you need to delete instead of hide?
Martin Breidt
http://scripts.breidt.net
@MartinBeh wrote:Can you explain why do you need to delete instead of hide?
I try to add Visibility Track and I export to fbx but it is still visible in Lumion.
Sounds like you need to animate the visibility in Lumion then.
Or: how about scaling the object down to 0% on frame 100?
Martin Breidt
http://scripts.breidt.net
@MartinBeh wrote:Sounds like you need to animate the visibility in Lumion then.
It is not possible to select objects that are in one file. All animation is done in 3DS Max.
Scaling does not solve the theme problem.
Maby script but An error occurs
deleteTime = 1360
fn deleteObjectAfterTime obj time =
(
if currentTime == time then
(
delete obj
)
)
obj = $Box
when animate on time change do
(
deleteObjectAfterTime obj deleteTime
)
What "theme" problem?
Martin Breidt
http://scripts.breidt.netYou might have luck if you post your script in the '3ds Max Programming' forum. There may just be a small syntax error in the script. It would help if you showed what the error is as that often gives a clue as to why the script fails.
Other than that, Martin is correct in options to use to make it disappear. Make is '0.0' in size, have it just instantly move far away on the next frame, 'visibility' track, etc.
Also, you could have two files, one file is frame 0-99 and the other file is frame 100-200. In the 100-200 file, delete the object but keep the others.
Send the 0-99 file to Lumion and then add the 100-200 file after it in Lumion. Now with the two pieces, you have a 0-200 file in Lumion.
Rob Holmes
------------------------------------------------------------------------------------------------------------------------------------------
@RobH2 wrote:You might have luck if you post your script in the '3ds Max Programming' forum. There may just be a small syntax error in the script. It would help if you showed what the error is as that often gives a clue as to why the script fails.
Other than that, Martin is correct in options to use to make it disappear. Make is '0.0' in size, have it just instantly move far away on the next frame, 'visibility' track, etc.
Also, you could have two files, one file is frame 0-99 and the other file is frame 100-200. In the 100-200 file, delete the object but keep the others.
Send the 0-99 file to Lumion and then add the 100-200 file after it in Lumion. Now with the two pieces, you have a 0-200 file in Lumion.
Anyone can run it and see what the problem is.
You can see it in the animation when it scales even when it is 100 >101
Must be 1 file 1 animation in 3Ds Max.
@MartinBeh
Delete problem
Yes, that is true that "anyone can see the error" but it's why I suggested you post this in the 'Programming' forum so someone who's good with code can fix the syntax error for you.
I don't have Lumion so I can't test anything but what if your object passes through a 'slice' modifier? Will Lumion respect that? I've attached a file.
Finally, have you posted this question on the Lumion forum? This is really not a failure of Max's functionality. It's a failure of Lumion to respect the stack properly. A user on Lumion's forum may have figured out a way to get Lumion to behave.
Rob Holmes
------------------------------------------------------------------------------------------------------------------------------------------Can't find what you're looking for? Ask the community or share your knowledge.