Jump to content

How to Copy Multiple OBJ to ID


jingaa

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
Link to comment
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
Link to comment
Share on other sites

  • 3 weeks later...
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

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...