Jump to content
jingaa

How to Copy Multiple OBJ to ID

Recommended Posts

Hello everybody, hope yawl goo....

I have a case and couldnt find a way (yet) So, i have frame based obj file 200 frames and on the other side has a domino sim. I wanna copy each obj to each id of domino... 

Basicly i wanna copy my animated object file to each domino and stict there without animation. for example frame 1 animation will stay on first domino, frame 2 animation will be stay on second domino. Does anybody have an idea about that? 

 

Thanx for help.

Edited by jingaa

Share this post


Link to post
Share on other sites

OK i have found a solution for this.... 

First i converted each polygon to point with wrangle.

int pt = addpoint(0,@P); 
vector nml = primuv(0, "N",  @primnum, {.5,.5,0}); 
setpointattrib(0, "N", pt, nml); 
removeprim(0, @primnum, 1);
 

this adding point to each polygon's center... after that,

- I cached animation , animation_$F.obj

-Time blend sop

-time shift sop ,   stamp("../copy1","stamp_time",0)

-copy sop , time_stamp  value= $PT

 

It worked for me. If anybody need the file i can share.

  • Like 1

Share this post


Link to post
Share on other sites

Hi jingaa!

Do you think this method could work to replace a group of collision objects with their hi res version?

Cheers,

C.

Edited by hindukush

Share this post


Link to post
Share on other sites
13 hours ago, hindukush said:

Hi jingaa!

Do you think this method could work to replace a group of collision objects with their hi res version?

Cheers,

C.

I havent try something like that but group of collision should work in normal way also. I mean when you make few collision object as a static or animated object, that works in normal time. But if you wannt to add multiple objects (each one different) to multiple points or surface, that might work

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×