shatter help


#121

so much fun playing with this

http://vimeo.com/3465260


#122

Hey Dave! Lookin good! :buttrock:


#123

updated with some realflow:

http://vimeo.com/3465545

i cut it off and resimulated a part so it wigs out at one point.

edit: the nice thing about the particle-based construction is that you can put an omni emitter on the side of an object and it will break down on impact from a bullet nicely.


#124

Hello guys, really sweet thread!

Lika others I also have looked for a good shatter script and these are doing the job so great.
Keep up the god code :wink:


#125

Simple example of primary and secondary shattering (color coded) using our in dev plugin, Fracture.

http://vimeo.com/3475024


#126

looking great. can’t wait to try it out.


#127

This is lookin so awesome. What is your guys’ pricing structure for this going to be? Are you selling it (eventually, hopefully)? …Giving it away :):slight_smile: ? … Would be cool to see a capture of setting something up with it… Looks pretty solid though.


#128

Is it just me, or with the voronoi shatter script, Maya sometimes crashes when its going thru like 100 + shatters?


#129

What is your guys’ pricing structure for this going to be? Are you selling it (eventually, hopefully)? …Giving it away :):slight_smile: ? … Would be cool to see a capture of setting something up with it… Looks pretty solid though.

Its still pre-pre -pre alpha, but the progress is indeed tangible. We are currently working on the NDA’s, so please be patient with ne for a bit longer. Sorry its taking so long, this pesky day-job is getting in the way :wink:


#130

im having some problems with the voronoi shatter script by AtrusDni

but when im cutting up a cup (image 1), It cuts it up nicely, but when it does cut it, it creates extra polygons (image 2).

I think as stated before was that its going thru all of the particles.

just a question is there a way to get rid of this, or to minimize this effect.

Atrus, did you get a chance to update the script that it will only go thru the closest particles, and not all of it??

Thanks


#131

Hey Berdj, I have been working on it off and on, but haven’t had much time due to work deadlines. I have it working with max distance, but it isn’t very smart and usually doesn’t quite do what you want and leaves intersecting pieces.

I am trying to find a way to remove all the particles that are not inside the mesh, which would fix a lot of problems. Basically I need to know how to find this:

I need to find the angle between the closest point on surface normal and the normal from the point to the surface. Anyone know how to do this? I have the normal information, the vector from the point to the surface, everything, I just don’t know how to calculate the angle between the two. I knew I should have paid more attention in math class . . . . :frowning:


#132

I know exactly what you mean. I too wish I paid more attention in math class. maybe then I would be able to help script, and create some scripts too.


#133

You can shoot a ray from each particle in arbitrary direction. If number of intersections is odd then particle is in mesh. You can do this by using api method or by using pymel


 sh = selected()[0].getShape()
 for i in selected()[1:]:
 	a,b,c = sh.intersect(datatypes.Point(i.tx.get(),i.ty.get(),i.tz.get()),datatypes.Vector(0,1,0),1e-10)
 	if (len(b)%2<>0):
 		print "%s is in mesh 
" % i
 
 

#134

Hmmm good idea Marcinm. The example you posted is python code using the API, am I right? Its been a while since I have used Python, but would you have a more complete working example? I tried the code and it doesn’t work, so I am assuming that certain modules need to be imported, but like I said, its been a while since I used Python.

I was thinking about converting this whole thing into a python script anyways. Im wondering what the speed differences will be.


#135

Below some simple examples of the progress we been making:
http://vimeo.com/3845640
http://www.vimeo.com/3485663

We are currently looking for motivated and capable beta-testers.

PLEASE NOTE: in order to get full access to the software and supporting community, beta-testers will need to sign an NDA.

Please PM me with your email if you are interested.


#136

Guys and Gals, just to let you know, I had talked to DR.Gonzo before and he told me that this is Windows only (what a shame, I know).


#137

this will remove the unnecessarily cuts but will not fix the problem pointed by brjig (the cup problem).


#138

This is pymel example. Get latest pymel and run this code. You have to import pymel earlier using userSetup file, or append this in code:


from pymel import *

Then select mesh and points ( locators or something else). One important note is that you have to freeze scale on mesh. I don’t know why intersect don’t work properly if mesh have scale other than 1.0. Pymel intersect command is simply wrapper for Maya API method.


#139

Cool, thanks for the information Marcinm.


#140

cool, looks like some improvements will be made to the script. hopefully the “cup problem” can be solved

something better than that $600 shatter program someone posted up a couple days ago.