NVIDIA / Dataset_Synthesizer

NVIDIA Deep learning Dataset Synthesizer (NDDS)
Other
572 stars 126 forks source link

Delay between spawning new actors #65

Closed KatharinaSchmidt closed 4 years ago

KatharinaSchmidt commented 4 years ago

Hey, I want to synthesize datatests with objects lying randomly on the floor. The object shall also lie on top of each other, so i want them to appear at a random position in my TriggerVolume and fall down. When all object lie on the floor, the captured data shall be saved.

For now, I am using a GroupActorManager for my objects (works well, diffrent objects appear in the defined volume in diffrent rotations) and a SceneCapturer_Simple with a SceneManager_BP to save the data. My problem: a new group of actors spawn in a very short time frame, so the objects can't fall on the floor

I already tried to vary the Spawn Duration, but that doesn't help.

Can you please tell me what I'm doing wrong? Do I need another actor or component?

Thanks in advance :)

smitheric95 commented 4 years ago

Based off your description of the problem, Spawn Duration should be the correct parameter.

Do you have any images you can share?

KatharinaSchmidt commented 4 years ago

Here is a screenshot of the GroupActorManager: Group_TrainingObjects

and a screenshot of the SceneCapturer_Simple: SceneCapturer_Simple

Please let me know, which other images are helpful for a solution.

KatharinaSchmidt commented 4 years ago

Even if I set Spawn Duration to 0, a new group of actors spawns every frame. But the discription says: "If Spawn Duration <= 0 then we only spawn the actors once"

I appreciate every approach solving this problem.

mrkcass commented 4 years ago

A couple things come to mind.

Eric is correct in that the spawn duration controls the time between respawning. I can verify that this works though I do not know if I have ever set it to zero. We use group actors on every level, with varying spawn durations and I haven't seen this problem.

Here's some other things to check:

KatharinaSchmidt commented 4 years ago

Thanks for the help, mrkcass. First I created new blueprints for my actors, there I enabled physics and gravity. Since i placed the group actor inside my trigger volume it works.