Fibermesh to maya curves (script)

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2012   #16
So, I just understood what the problem is with goz.
I assumed that the topology pattern stayed coherent for every polystrip, and actually it is, but it is granted only for vertices, not for edges which I used til now to generate the guides.
It is extremely fast to correct it, but my girlfriend has just come back into the city, so I will have to wait til tomorrow to fix it

In the meanwhile, import the fibermesh as obj, as it looks to work correctly.

@GQ1: I will do a tutorial this weekend
 
Old 02 February 2012   #17
tu sei un principe, Grazie mille
__________________

 
Old 02 February 2012   #18
Does anyone know if the following works on Mac os X?

http://www.youtube.com/watch?v=NVNtY-WIgIk



Is this better than the above script?


Thx
 
Old 02 February 2012   #19
So, I finally updated the script.
Now it works with goz and is 50-70% faster
As I said I will add more options to edit the generated curves, to better integrate them with existing hair solutions in maya.

@trashtalk: the link you posted refers to the first released solution about converting fibermesh to curves. I don't know if it is compiled for Mac Os X though, but for sure it is a good solution and will cost you €20, not so much in the end.
 
Old 02 February 2012   #20
Hi Mario
i tried your script with the last zbrushR2b and goz for maya 2011: it works!
When i'm lucky and ZB doesnt crash, i export a fibermesh to maya usign goz, and then i run your script .. u can see here a quick test with 10.000 fibers, converted in curves using your amazing script
here some screengrabs





thank you for this amazing work!!

I also tried this script.. http://www.mariussilaghi.com/fibermeshsplinesmaya.htm
..but your script is really better man!

__________________
Francesco Lupo
-

http://frankinolupo.blogspot.it/
"..ora che ho perso la vista.. ci vedo di più"
 
Old 02 February 2012   #21
Thank you so much Francesco for your screen grabs!

Here there is a small video showing the script in action:
http://www.screencast.com/t/QNdUFqxowG

At 0:49 you will notice that I select the code in the script editor and I execute it. To fire it press ctrl+enter.
Actually the best way is to select that code and drag'n drop it into a shelf (mid btn), so you will have only to click the newly created button next time.

furthermore, I want to report again the code to execute the script in gui mode, as I... emh, made a typo error (I corrected the previous post too):

import fibermesh_to_curves as ftc
ftc.fibermesh_to_curves(guiMode=True)

Last edited by BluEgo : 02 February 2012 at 07:53 PM.
 
Old 02 February 2012   #22
And here a small video for newbies looking for a way to convert curves to an hair system:
http://screencast.com/t/KwrSq5PLee

PFx hair don't really look so great tough, as they not blend nicely together.
You could also try to use maya fur combed by maya hair, but if you have it, use Shave and a Haircut and comb its guides with the curves generated by the script.
 
Old 02 February 2012   #23
Bravissimo!

and thanks for the tutorials, she works very nicely with GoZ.
__________________

 
Old 02 February 2012   #24
eheheh and also thanks for this Mario!!!


__________________
Francesco Lupo
-

http://frankinolupo.blogspot.it/
"..ora che ho perso la vista.. ci vedo di più"
 
Old 02 February 2012   #25
I managed to briefly check the new version on both Maya 2009Sp1 and Maya 2012 SAP. Works smoothly without a hick-up! Many thanks again.

Cheers!
__________________
"Knowing is not enough, we must apply. Willing is not enough, we must do."-Bruce Lee


 
Old 02 February 2012   #26
I just updated the link.
I added the chance to eliminate all curves shorter than one value, as not everyone needs tiny curves. Currently you can use it only firing a command, but I am planning to add a panel to the gui with some new features (like this one), to edit the generated curves.

Here the necessary steps:
1) Download the script here and replace the old one
2) Select curves (or a group which contains them)
3) write this code in the script editor (python) and execute it:

import fibermesh_to_curves as ftc
ftc.delete_tiny_curves(0.5)

...where instead of 0.5 you specify a value between 0 and 1.
This value represents the percent of the longest curve. So, for example, if your longest curve is 5units long, and you specify 0.1 as value, all curves shorter than 0.5 units will be deleted

Kudos to Kenneth Finlayson having suggested this feature!

EDIT:
V1.6
Added a tab in the gui to delete tiny curves

Last edited by BluEgo : 02 February 2012 at 03:59 AM.
 
Old 02 February 2012   #27
Why cannot I download?
__________________
mailTo:kingmax.res@gmail.com
 
Old 02 February 2012   #28
Hi KingMax02,
Have you succeded downloading the script? I just tried on another platform, in another location and with another connection, and it works fine by my side.

Please try again:
fibermesh_to_curves.py(V1.6)
... and let me know if you still have the problem.

Thanks!
 
Old 02 February 2012   #29
Thanks for making this free - I tried it out this morning and it works like a charm
 
Old 02 February 2012   #30
This works in OSX as well ? Thanks
__________________
LDEA Kon Kuatica
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 04:39 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.