Register Latest Topics
 
 
 


Reply
  Author   Comment   Page 2 of 3      Prev   1   2   3   Next
Yogi_Bear

First taste
Registered:
Posts: 4
Reply with quote  #16 
Hi Robert, I receive this error message every time I click on Fracture Geometry using voronoi texture as my Fracture Source: 

// Error: Specified file /Users/Library/Preferences/Autodesk/maya/2013-x64/scripts/voronoiTextureFracture/fractureImages/voroShd_pPlane1_tmp.iff does not exist

When I use image file as my Fracture Source, it gets stuck at 90%. May I know what may be the problem? I have already installed and loaded SOuP.

Thanks.
0
JeremyR

Moderator
Registered:
Posts: 1,050
Reply with quote  #17 
To solve your first problem I believe you need to set your project on your scene although I thought this was fixed, maybe you have an older version.
0
Yogi_Bear

First taste
Registered:
Posts: 4
Reply with quote  #18 
Thanks for your reply Jeremy. I have set my project to the scene but it still doesn't seem to work. I'm using v0.0.6, it should be the latest version.
0
procanic

SOuP spoon
Registered:
Posts: 19
Reply with quote  #19 

@Jeremy:
That's what I thought as well. Thanks for stepping in! :)

@Yogi_Bear:
That's strange ... i can't reproduce the error here, no matter if i set a project or not, the fracture works just fine.
By default the temporary image created from the voronoi shader is stored in the user dir. If it doesnt work on your machine could mean that the user dir (internalVar -usd) is not returned correctly, which i havent seen before. If that's the case, you could try setting the image path manually in the tool's preferences (in "Settings.." menu) to a custom directory.

Concerning your other problem with using an image as fracture source: could you share the image you're using? I just tried it with this image and it took a while (longer than the voro shader) but worked just fine. (Had to rename it first though, because the image name must not contain any invalid characters or start with a number.)

Hope this helps! If you're still having trouble, just let me know and i'll see what i can do. Oh - and please turn on "Line numbers in errors" in the Script Editor's History. This could help nailing down an error sometimes.

Cheers,
Rob.

0
Yogi_Bear

First taste
Registered:
Posts: 4
Reply with quote  #20 
Here's a screenshot of my scene. http://tinypic.com/r/2vskggh/6
0
Yogi_Bear

First taste
Registered:
Posts: 4
Reply with quote  #21 
Hi Rob,

Thanks for your reply. I've tried using "sourceimages", "user dir" and "custom" settings but they all failed to work. I tried to use your image as the Fracture Source, it took quite a while but it worked!

Here's what I gathered from my Script Editor when it didn't work (Hope it'll shed some light into what the problem may be):

 
source "/Users/Library/Preferences/Autodesk/maya/scripts/RS_VoronoiTextureFracture_006.mel";
// Warning: file: /Users/Library/Preferences/Autodesk/maya/scripts/RS_VoronoiTextureFracture_006.mel line 823: Plug-in, "SOuP.bundle", is already loaded.  Skipped. // 
// Warning: pymel.internal.factories : could not create a PyNode for manipulator type boundingObjectManip // 
sets -e -forceElement voroShdG_pPlane1;
// voroShdG_pPlane1 // 
been here 
// Error: file: /Users/Library/Preferences/Autodesk/maya/scripts/RS_VoronoiTextureFracture_006.mel line 536: Failed attempt to issue command to imageServer // 
createTextureToGeom( "/Users/Misc Stuffs/My_Practices/Voronoi_Fracture/sourceimages/voroShd_pPlane1_tmp.iff", "", "setTextureToGeomValues", 1 )
// Error: file: /Applications/Autodesk/maya2013/Maya.app/Contents/scripts/others/createTextureToGeom.mel line 115: Specified file /Users/Misc Stuffs/My_Practices/Voronoi_Fracture/sourceimages/voroShd_pPlane1_tmp.iff does not exist // 


Thanks!
0
procanic

SOuP spoon
Registered:
Posts: 19
Reply with quote  #22 

Hey Yogi_Bear, sorry for the late reply!
From your screenshot i can see, that your on a mac. I suppose that could be part of the problem, since there are some differences in (MEL's) file handling between windows and unix systems. Unfortunately i dont have access to a mac so i can only do some guessing here:
It would be interesting to see what the MEL commands

Code:
internalVar -usd;
and
Code:
workspace -q -act;
return on a mac.

Also the sysFile commands I'm using to create the custom folders or subfolders in the user dir and sourceimages could be part of the problem. I wonder why the path on unix has to be specified without a drive letter. I'm also using filetest which I'm not quite sure about whether it's usage differs between win/unix.
Hopefully someone with scripting experience on a mac (or ideally on both, windows and unix systems) can spread some light here ...

0
JeremyR

Moderator
Registered:
Posts: 1,050
Reply with quote  #23 
Heres what I get with your 2 commands...

internalVar -usd;
// Result: /Users/admin/Library/Preferences/Autodesk/maya/2013-x64/scripts/ // 
workspace -q -act;
// Result: /Users/admin/Documents/maya/projects // 

Maybe try this command flag...
internalVar -userWorkspaceDir

I think thats the one we need here.
This one returns.../Users/admin/Documents/maya/projects

Also we dont need to specify the main drive I guess its because thats the default environment. Its only when you want a different volume you need to include it before '/User...' otherwise you are always inside the main drive.
0
procanic

SOuP spoon
Registered:
Posts: 19
Reply with quote  #24 
sorry for the delay. i'm currently on vacation (touring scandinavia) ... i'll have a look at this as soon as i'm back home.
0
GalvanisedOil

First taste
Registered:
Posts: 1
Reply with quote  #25 

Like many others this script looks amazing as I was previously doing it all manually. But being on OSX I was also running into the same issue.
Hope you don't mind but I had a look through the code and after some tinkering I found the issue wasn't with and path directories or anything but the convertSolidTx command.
I found that on line 535 if you change:
    -fileFormat "maya";
to:
    -fileFormat "iff";

Then it started to work for me. Hope this works for other people to.

Thanks for the great script!!!

0
fataltoaster

First taste
Registered:
Posts: 1
Reply with quote  #26 
Excited to try out this new script. I wanted to know if its a procedural like the SOuP shatter. Where points are created for the cloth simulation.
0
procanic

SOuP spoon
Registered:
Posts: 19
Reply with quote  #27 

@GalvanisedOil:
awesome! thanks a bunch for the fix!!
obviously i was on the wrong track assuming it had something to do with internalVar, sysfile or filetest commands. glad it works on OSX as well now! :)

i uploaded the fixed version to creativeCrash.

i also realized that the tool doesn't work (gui wise) under maya 2009, but didn't bother to fix that, since the new SOuP versions only support 2012 & 2013 too.

0
alexDeWalt

Asking for seconds
Registered:
Posts: 35
Reply with quote  #28 
It appears that the voronoi fracture script only works on flat planes. Any suggestions for fracturing the surface(s) of spherical or other organic objects? Without too many twists?

Thx
0
procanic

SOuP spoon
Registered:
Posts: 19
Reply with quote  #29 

yes the texture or image based fracturing only works with flat objects. if you want to break volumetric objects you might want to have a look at the scatter and shatter workflow in SOuP ...

you can find some good tuts on that topic here:

http://mayaspiral.blogspot.de/2012/05/soup-basic-scatter-shatter.html

and here:

i thought about integrating that as well, but i didnt have any spare time at all lately to expand the tools capabilities :/ ..

cheers! :)

rob

0
pshipkov

SOuP Jedi
Registered:
Posts: 4,709
Reply with quote  #30 
aww, this reminds me that i wanted to integrate this in SOuP.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation: