PDA

View Full Version : p-flow fragments


brro
02-21-2007, 12:37 PM
i want to make fragments from object transforming into another object usin p-flow without using addon's or plugin's.http://forums.cgsociety.org/images/icons/icon10.gif

scrimski
02-21-2007, 01:15 PM
Fine.











What do you got so far and what is actually your question/problem with this?

PsychoSilence
02-21-2007, 02:33 PM
sounds like a perfect job for TPīs BULP...but itīs an expensive plugin tho :D 1,295 bucks per lic.

http://www.cebas.com/products/images/thinking/blurp.jpg (http://www.cebas.de/products/images/thinking/blurp.mp4)
http://www.cebas.de/products/images/thinking/blurp.mp4

i would suggest to blend the fragments from one object into another in post.

maybe this tutorial can give you another hint on how to get it going...:

http://youtube.com/watch?v=iovknTIln7o

kind regards

anselm

supremepizza
02-21-2007, 03:43 PM
i want to make fragments from object transforming into another object usin p-flow without using addon's or plugin's.http://forums.cgsociety.org/images/icons/icon10.gif

I want to do this as well. In fact I've been working on it. You're going to need to study PFlow scripting and polyOps. I have the breaking up and flying away done. I'm researching methods on batch morphing and assigning targets for the reformation. Honestly I'm not wanting to make this a pick and click process for mass release. If you want you can post your code or PM me and I can help a bit if you want but I'm not handing out pick and clicks. There are several methods I can think of and am curious to see what you come up with. There's a single flow option and a couple multi flow options I can think of. I haven't decided on any particular option yet myself though I do think I'll end up going the single flow option if I can figure out my morph process.

prox-emics
02-22-2007, 03:30 AM
On alan mckays website he has a new video tutorial for transforming one object to another. I dont think its exactly what you need, but it might help.

supremepizza
02-23-2007, 05:52 AM
On alan mckays website he has a new video tutorial for transforming one object to another. I dont think its exactly what you need, but it might help.

He's been updating his site lately and the AB tut is a good portion of what I'm trying to do. What I think we're attempting to do here is dis-assemble A, morph the fragments in flight between A and B then re-assemble fragments at B. Thus beginning with a full model at frame 0 and ending with a full model at the end. At least that's what I'm trying to do. Unfortunately though it's about #5 on my list of priorities right now.

brro
02-24-2007, 12:43 PM
i can do it using particle studio but the problem is that you can't use the simulation you did in pf......any way thanks to any one ho send me any replay.http://forums.cgsociety.org/images/icons/icon10.gif

CapitanRed
02-26-2007, 10:11 PM
supremepizza:

I have the breaking up and flying away done

hey, I am trying to do the same thing, but not between two objects. just shatter one and rebuilt it.
and i am as far as you are. I just can't get the particles to rotate it the right position at the end. did you have perhaps any success?

may I also ask, if you did the fragmentation of the mesh first, and then import thes frags into PF, or have you found a way to fragment objects in PF directly?

MSun
02-27-2007, 12:13 AM
maybe this tutorial can give you another hint on how to get it going...:

http://youtube.com/watch?v=iovknTIln7o

kind regards

anselm

thx for quoting my tutorial :D

anyways, the blurp tool in TP is awesome,

check allan's website for his reform tutorial, you can make a object and then frag it using allan's script and then make a little script that saves the positions for the fragments and then you can go from one object to another and then fragments will lock into each other perfectly :D

mackdadd
02-27-2007, 12:34 AM
check this out

http://www.tysonibele.com/Main/Animations/Hype/particle_converge.mov

tyson helped me with this same problem a while back. the piece of geometry that is rebuilt is made using the shape mark operator.

http://www.simplycg.net/viewtopic.php?t=1493

prox-emics
02-27-2007, 01:57 AM
thanks for that link mackdad..that has lots of very useful info for anyone!

brro
02-27-2007, 07:34 AM
i used the sandblaster between 2 objects and the final is good but you must turn the particles qty up too much to have the desierd thing......but the particle studio is realy amazing but i cant's found a version for max.9.http://forums.cgsociety.org/images/icons/icon11.gif

CapitanRed
02-27-2007, 08:07 AM
BPhelmet:

check allan's website for his reform tutorial, you can make a object and then frag it using allan's script and then make a little script that saves the positions for the fragments and then you can go from one object to another and then fragments will lock into each other perfectly


funny, this is actually the way I'm trying to do it. but to have a shape collision between, i do not make the particles look like fragments, i do drive the fragments with particles. and there is the probleme. the particles go to the right position, but they do not rotate in the right position, because the find target reads only the vector, not the orientation.
have to find out how to spin to a specific rotation by script :)

MSun
02-27-2007, 05:33 PM
funny, this is actually the way I'm trying to do it. but to have a shape collision between, i do not make the particles look like fragments, i do drive the fragments with particles. and there is the probleme. the particles go to the right position, but they do not rotate in the right position, because the find target reads only the vector, not the orientation.
have to find out how to spin to a specific rotation by script :)

right, yeah, well, i think it shold be possible to save the rotation values of the particles using script, a believe there's way to manipulate rotation values only, there should be ways to save it, allan has a nother tutorial on rotating frags, check it out you might learn from that how to save the rotation values of frags

CapitanRed
02-27-2007, 05:56 PM
allan has a nother tutorial on rotating frags, check it out you might learn from that how to save the rotation values of frags

does he??can you please tell me in which one?

in the fragments tutorial, the particles only take the shape of the fragments. so there is no rotation in the script.

PsychoSilence
02-28-2007, 08:39 AM
check this out

http://www.tysonibele.com/Main/Animations/Hype/particle_converge.mov

tyson helped me with this same problem a while back. the piece of geometry that is rebuilt is made using the shape mark operator.

http://www.simplycg.net/viewtopic.php?t=1493

ah nice! is that from the second DVD from allan? the DNA strand tut?

cheers

anselm

mackdadd
02-28-2007, 07:16 PM
i don't know. I only have Allan's first DVD, and Tyson taught me this trick using Shape Facing. Maybe he learned it from Allan, I don't know.

DeKo-LT
02-28-2007, 09:45 PM
i don't know. I only have Allan's first DVD, and Tyson taught me this trick using Shape Facing. Maybe he learned it from Allan, I don't know.
You mean Shape Mark? ;)

mackdadd
03-01-2007, 12:39 AM
hahaha, yep my bad. don't know what i was thinking! Shape Mark!

PsychoSilence
03-01-2007, 07:58 AM
i don't know. I only have Allan's first DVD, and Tyson taught me this trick using Shape Facing. Maybe he learned it from Allan, I don't know.

so tell us the trick too :D

i think itīs quite similar to allanīs second dvdīs first tutorial...

brro
03-01-2007, 07:59 AM
hahaha, yep my bad. don't know what i was thinking! Shape Mark!

did you use particle studio my friend....i'v used sand blaster and the final is good so far.images/icons/icon10.gif

supremepizza
03-01-2007, 06:44 PM
supremepizza:



hey, I am trying to do the same thing, but not between two objects. just shatter one and rebuilt it.
and i am as far as you are. I just can't get the particles to rotate it the right position at the end. did you have perhaps any success?

may I also ask, if you did the fragmentation of the mesh first, and then import thes frags into PF, or have you found a way to fragment objects in PF directly?I wrote my own slice based fragmentation script to avoid losing any volume. Then a modified form of Bobo's Scripted chunks. There is a sample fragmentation script for PFlow in the script reference that is ok. There's also a sample script in the reference for A to B and B to A that should work fine. Shouldn't take more than a couple days or less once I get the time. I'm obcessed with voxel scripting at the moment. So be patient.:D

mackdadd
03-01-2007, 08:52 PM
did you use particle studio my friend
nope, only particle flow

so tell us the trick too
well, its not really much of a trick, i guess. just using the tools. :) and i barely remember, since i haven't used Shape Mark since then! but I used Rivendale's Split It Up script to create chunks from my original geometry, cuz it's the best I've ever seen, and makes all the inside geometry accurately. I then set up a PFlow which used the grouped geometry chunks as particles, and when they hit the thing they were suppsed to be creating, they go to a new event which uses the shape mark operator to create a smooth patch of the textured geometry, so it looks like the chunk snapped into place. Worked perfectly!
For a better understanding, maybe read that thread i linked to, cuz that's where Tyson helped me work it all out. There's probably some details there I forgot. it's linked to in one of my previous posts.

PsychoSilence
03-01-2007, 09:49 PM
Yeah! SPlitItUp is great! i use it in our current project (veeery early state of preview): http://www.core2core.de/spielwiese/fracture-moldy-test.jpg

viewport preview:
http://www.core2core.de/spielwiese/fracture-moldy-test.avi

i think the toughest part is the proper target location for every particle (without illusion). in allanīs tutorial they actually fit in their real position.

iīll see if i find my stipped file on that topic

cheers

anselm

mackdadd
03-01-2007, 10:15 PM
ha, that was pretty cool!

the thing that surprised me most about the shape mark was the setting that made it look like it conformed to the geometry, which was the whole trick to "building" something out of particles. I can't remember what setting it was.

And yeah, Rivendale's script rules!

PsychoSilence
03-07-2007, 08:55 AM
the trick is to frag your geometry then center the pivots of every fragment and reset the XForms.

then use this birth script:


on ChannelsUsed pCont do
(
pCont.useAge = true
pCont.useTM = true
pCont.useShape = true
)

on Init pCont do
(
global ChunksArray = $yourfragments_* as array
)

on Proceed pCont do
(
t = pCont.getTimeStart() as float

if t < 0 do
(
NumChunks = ChunksArray.count
for i = 1 to NumChunks do
(
pCont.AddParticle()
pCont.particleIndex = pCont.NumParticles()
pCont.particleAge = 0
pCont.particleTM = ChunksArray[i].transform
pCont.particleShape = ChunksArray[i].mesh
)
)
)

on Release pCont do
(

)

use the rename tool to rename your chunks to what every you like...

brro
03-08-2007, 07:35 AM
the trick is to frag your geometry then center the pivots of every fragment and reset the XForms.

then use this birth script:



use the rename tool to rename your chunks to what every you like...
nothing happend my friend with the scriptimages/icons/icon10.gif.

PsychoSilence
03-08-2007, 09:28 AM
Dear brro,

i attached a max8 file using the script for you :)

kind regards

anselm

brro
03-10-2007, 07:19 AM
Dear brro,

i attached a max8 file using the script for you :)

kind regards

anselm
thank you my friend the final is fantastic....send me you e-mail to be in touch...these is my e-mail (longbrro@yahoo.com)images/icons/icon10.gif.

PsychoSilence
03-10-2007, 09:00 AM
we can use the ptivate messaging system in here ;)

supremepizza
03-12-2007, 05:17 PM
Try Rifter and let me know what you think.
Post #9 here (http://forums.cgsociety.org/showthread.php?p=4252531#post4252531)

CGTalk Moderation
03-12-2007, 05:17 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.