I have tried it with both. Using different acache types as well.
Note. I cant say for sure that is exactly what is happning. But it does seem so. Memory goes up by the right amount.
Anyway. Still think I am doing something wrong. No idea what.
Cheers
Found 4 posts.
Search results Show results as topic list.
PDG/TOPs » Do a task per frame.
- revelationsr
- 4 posts
- Offline
PDG/TOPs » Do a task per frame.
- revelationsr
- 4 posts
- Offline
I think I am missing something. I have not managed to fine tutorials covering this.
Here is what is happening. I have a simple scene. I load up a alembic. It is about 300 megs at about 200 frames. I then do a few very simple things to each frame of this alembic. Convert, add atributes and so on. Nothing over the top. Then I want to dump it on drive as bgeo. Great.
In theory this can very easily be multi threaded with tops. From what I understand all I need to do is dump down a “ROP geomatry out” inside tops. Point it to the last node in the network before I write out the cache and cook.
Yes this technically works. How ever it seems to want to load the entire 300 megs of the alembic up for each instance tops is running. So running 10 instances my memory spikes. When the instance is done with that frame it starts the next and reloaded the entire 300 megs again for this new instance.
I am sure I am doing something here. It cant work like this by default. What should be the way to set this up?
Cheers
Here is what is happening. I have a simple scene. I load up a alembic. It is about 300 megs at about 200 frames. I then do a few very simple things to each frame of this alembic. Convert, add atributes and so on. Nothing over the top. Then I want to dump it on drive as bgeo. Great.
In theory this can very easily be multi threaded with tops. From what I understand all I need to do is dump down a “ROP geomatry out” inside tops. Point it to the last node in the network before I write out the cache and cook.
Yes this technically works. How ever it seems to want to load the entire 300 megs of the alembic up for each instance tops is running. So running 10 instances my memory spikes. When the instance is done with that frame it starts the next and reloaded the entire 300 megs again for this new instance.
I am sure I am doing something here. It cant work like this by default. What should be the way to set this up?
Cheers
Technical Discussion » changing the attribute of a primitive
- revelationsr
- 4 posts
- Offline
Hi there.
I have an effect that triggers on a frame. This effect will happen on each primitive. I have an attribute on the primitive that says which frame the effect triggers.
My problem is that I dont know how to change that attribute for each Primitive. Right now I have something like this.
@effectTrigger = 10;
The effect triggers for all primitives on frame 10. What I would like to know how to do is something like this.
@effectTigger(PRIM number 0) = 10;
@effectTigger(PRIM number 1) = 13;
@effectTigger(PRIM number 2) = 23;
@effectTigger(PRIM number 3) = 48;
Cheers
I have an effect that triggers on a frame. This effect will happen on each primitive. I have an attribute on the primitive that says which frame the effect triggers.
My problem is that I dont know how to change that attribute for each Primitive. Right now I have something like this.
@effectTrigger = 10;
The effect triggers for all primitives on frame 10. What I would like to know how to do is something like this.
@effectTigger(PRIM number 0) = 10;
@effectTigger(PRIM number 1) = 13;
@effectTigger(PRIM number 2) = 23;
@effectTigger(PRIM number 3) = 48;
Cheers
Technical Discussion » Specify attribute for each primitive
- revelationsr
- 4 posts
- Offline
I have an effect that triggers based of the frame number. This effect triggers for each primitive.
I would like to set an attribute for each primitive to trigger on the frame of my choosing. So for example.
@triggerTime = 10;
All primitives will now trigger on frame 10;
I am looking for something that will sort of do this.
@TriggerTime(Prim number 0) = 5;
@TriggerTime(Prim number 1) = 10;
@TriggerTime(Prim number 2) = 12;
@TriggerTime(Prim number 3) = 20;
@TriggerTime(Prim number 4) = 27;
Cheers
I would like to set an attribute for each primitive to trigger on the frame of my choosing. So for example.
@triggerTime = 10;
All primitives will now trigger on frame 10;
I am looking for something that will sort of do this.
@TriggerTime(Prim number 0) = 5;
@TriggerTime(Prim number 1) = 10;
@TriggerTime(Prim number 2) = 12;
@TriggerTime(Prim number 3) = 20;
@TriggerTime(Prim number 4) = 27;
Cheers
-
- Quick Links