Re: syflex cloth
| Date : Tue, 13 May 2008 09:49:08 +0200 |
| To : <XSI(at)Softimage.COM> |
| From : "Morten Bartholdy" <xsi(at)colorshopvfx.dk> |
| Subject : Re: syflex cloth |
Morten Bartholdy 3D & VFX Artist
----- Original Message ----- From: "Stefan Andersson" <sanders3d(at)gmail.com>
To: <XSI(at)Softimage.COM>
Sent: Monday, May 12, 2008 5:36 PM
Subject: Re: syflex cloth
It worked great with the commandline version.
== Steps ==
1.) Create nCloth simulation 2.) Cache the nCloth (with nCloth cache) 3.) Cache with geometry cache 4.) convert the geometry cache (NOT nCloth cache) with formula below 5.) Use Kai's point cache addon to apply the cache inside XSI.
Formula - - - cacheFile -pc2 0 -pcf "[Path] / [File2beCreated.pc2]" -f "[Name without extension on cached file]" -dir "[ Path to where the cachefile resides ]"; - - -
ex:
The cache file from maya is created called "clothCache.mc" and "clothCache.xml" (Maya automaticly creates two files). We will generate a new file "called cloth.pc2"
In Maya's script window run:
cacheFile -pc2 0 -pcf "/tmp/cloth.pc2" -f "clothCache" -dir "/tmp/clothCache/";
regards stefan andersson
On 5/10/08, Gene Crucean <emailgeneonthelist(at)gmail.com> wrote:When I was at CafeFX, I used that code quite a bit for this exact clothy reason. Gotta love nCloth.
I forgot to mention however... that script is courtesy of Rob Tesdahl at Cafe. Gotta give credit where credit is due.
-gc
On Sat, May 10, 2008 at 8:45 AM, Gene Crucean <emailgeneonthelist(at)gmail.com>
wrote:
>
> Check here for source code:
http://www.kai-wolter.com/resources/maya/maya_pc_tools
>
> Here is the MEL to convert:
>
>
> Once you've created your Maya geo cache, here is how you convert that > to a
PC2 file.
> Assumptions:
> $cacheDirectory = "C:\Stefan\myCacheDir"
> $cacheFileName = "cacheFile.xml"
> $cacheChannel = (name of the SHAPE that you created the cache
for), example "outputCloth1"
>
> MEL:
> cacheFile
> -convertPc2 false
> -fileName $cacheFileName
> -directory ($cacheDirectory" + "/" ) // the '/' needs to > be
at the end. It can be in the $cacheDirectory variable. I just put it here
so it would be obvious
> -pc2File ($cacheDirectory"+/outputFile.pc2")
> -channelName $cacheChannel;
>
> -gc
>
>
>
>
>
>
>
>
>
> On Sat, May 10, 2008 at 3:47 AM, Stefan Andersson <sanders3d(at)gmail.com>
wrote:
>
> > FBX doesn't work with the linux version of XSI.
> >
> > Thanks for the heads up with the pc2 cache file output. I'll use that
one.
> >
> > regards
> > stefan
> >
> >
> >
> >
> >
> > On 5/9/08, Eric Thivierge <eric(at)xsidatabase.com> wrote:
> > > Hey Stefan,
> > >
> > > Email Kai and see if he can compile it for you. He's really
responsive.
> > > Aside from that there is a MEL command that converts the Maya cache
file to
> > > a pc2 format file. Look it up in the docs and also:
> > >
> > >
http://www.xsibase.com/forum/index.php?board=33;action=display;threadid=35519
> > >
> > > Second to last post. Hope that may help. Not 100% it works with
nCloth
> > > sims.
> > >
> > > Also, did you try the FBX output of the cached sim?
> > >
> > > Later,
> > >
> > > Eric Thivierge, XSI Database Admin
> > > www.xsidatabase.com
> > > eric(at)xsidatabase.com
> > > Forum Username: EricTRocks
> > >
> > >
> > >
> > > Stefan Andersson wrote:
> > >
> > > > yep... my problem now is how to get the body (enveloped collision
> > > > body) animation over to maya. Crosswalk crashes each time, right > > > > now
> > > > I'm trying to figure out how to best do it.
> > > >
> > > > 1.) Either someone makes a compiled Maya KP Cache availble (which > > > > I
> > > > would need anyhow).
> > > >
> > > > 2.) it looks like I need to create a shadow rig which I can > > > > export
> > > separatly.
> > > >
> > > > 3.) I would need some suggestions from people with the XSI -> > > > > Maya
->
> > > > XSI pipeline :)
> > > >
> > > > regards
> > > > stefan
> > > >
> > > >
> > > > On 5/9/08, Kris Rivel <krisrivel(at)gmail.com> wrote:
> > > >
> > > >
> > > > > Yeah...see?! Ncloth rocks. I really hope XSI can get > > > > > something
equally
> > > as
> > > > > impressive if not better sometime soon. For now, I will be > > > > > going
with
> > > > > Ncloth for all my heavy cloth needs.
> > > > >
> > > > > Kris
> > > > >
> > > > >
> > > > > On Fri, May 9, 2008 at 4:44 AM, Stefan Andersson
<sanders3d(at)gmail.com>
> > > > > wrote:
> > > > >
> > > > >
> > > > > > here is the 3 clicks :)
> > > > > >
> > > > > > http://sanders3d.googlepages.com/MayanCloth.mov
> > > > > >
> > > > > > /stefan
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 5/9/08, Stefan Andersson <sanders3d(at)gmail.com> wrote:
> > > > > >
> > > > > >
> > > > > > > ok... I give up :) It was so easy with nCloth it's not even
funny. 3
> > > > > > > clicks and I had a 100 times better result.
> > > > > > >
> > > > > > > So.. anyone have Kai's KP_Cache tool compiled for Maya > > > > > > > 2008
on
> > > linux?
> > > > > > > I need to cache it out to XSI. I don't want to be forced > > > > > > > into
using
> > > > > > > Maya again.. hehehe
> > > > > > >
> > > > > > > regards
> > > > > > >
> > > > > > > stefan
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 5/9/08, Stefan Andersson <sanders3d(at)gmail.com> wrote:
> > > > > > > > I know nCloth is a lot better. Right now I'm looking > > > > > > > into
> > > transfering
> > > > > > > > the animation over to maya (hopefully as a geoCache) do
the
> > > > > > >
> > > > > > >
> > > > > >
> > > > > simulation
> > > > >
> > > > >
> > > > > >
> > > > > > > > and then cache it back to XSI for rendering. I'm still
testing
> > > XSI
> > > > > > > > Cloth and trying to get that one to work, as it would > > > > > > > be
ideal.
> > > But
> > > > > > >
> > > > > > >
> > > > > >
> > > > > at
> > > > >
> > > > >
> > > > > >
> > > > > > > > some point I have to stop trying an actually do the job > > > > > > > :)
> > > > > > > >
> > > > > > > > Previously when these characters where done in Maya we > > > > > > > did
all
> > > the
> > > > > > > > cloth sim in nCloth. After my evil takeover... moving > > > > > > > it
all to
> > > > > > >
> > > > > > >
> > > > > >
> > > > > XSI...
> > > > >
> > > > >
> > > > > >
> > > > > > > > I miss having nCloth.
> > > > > > > >
> > > > > > > > regards
> > > > > > > >
> > > > > > > > stefan
> > > > > > > >
> > > > > > > >
> > > > > > > > On 5/9/08, Kris Rivel <krisrivel(at)gmail.com> wrote:
> > > > > > > > > To be honest, you should check out Maya's
Ncloth...<<ducks>>.
> > > It
> > > > > > >
> > > > > > >
> > > > > >
> > > > > wipes the
> > > > >
> > > > >
> > > > > >
> > > > > > > > > floor compared to Syflex IMO. I too have also opted > > > > > > > for
the
> > > good
> > > > > > >
> > > > > > >
> > > > > >
> > > > > old xsi
> > > > >
> > > > >
> > > > > >
> > > > > > > > > cloth vs. syflex as well for very rigid things. Plus > > > > > > > I
hate
> > > > > > >
> > > > > > >
> > > > > >
> > > > > dealing with
> > > > >
> > > > >
> > > > > >
> > > > > > > > > values that are 1 billionth of a decimal point.
> > > > > > > > >
> > > > > > > > > Kris
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Wed, May 7, 2008 at 11:39 AM, Ben Barker
> > > <ben.barker(at)gmail.com>
> > > > > > >
> > > > > > >
> > > > > >
> > > > > wrote:
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > Indeed. XSI cloth can also be made to shrink by
decreasing
> > > the
> > > > > > >
> > > > > > >
> > > > > >
> > > > > initial
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > rest length of the springs. AFAIK Syflex in XSI > > > > > > > can't
do
> > > that. A
> > > > > > >
> > > > > > >
> > > > > >
> > > > > big
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > downside is that you can't set the initial state on
XSI
> > > cloth,
> > > > > > >
> > > > > > >
> > > > > >
> > > > > so I
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > found it really useful to have a script that > > > > > > > applies
the
> > > cloth
> > > > > > > > > > operator and a preset to a rig. That way you can
generate
> > > your
> > > > > > >
> > > > > > >
> > > > > >
> > > > > cloth
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > rig on any frame in any given shot.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Wed, May 7, 2008 at 7:26 AM, Stefan Andersson
> > > > > > >
> > > > > > >
> > > > > >
> > > > > <sanders3d(at)gmail.com>
> > > > >
> > > > >
> > > > > >
> > > > > > > > > wrote:
> > > > > > > > > > > I've noticed... I haven't tested xsi cloth in a > > > > > > > long
> > > while,
> > > > > > >
> > > > > > >
> > > > > >
> > > > > and it
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > > actually seems to be a winner in this first > > > > > > > race.
So far
> > > my
> > > > > > >
> > > > > > >
> > > > > >
> > > > > tests has
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > > gone a lot better with xsi cloth than with > > > > > > > Syflex.
> > > > > > > > > > >
> > > > > > > > > > > Tests will continue.
> > > > > > > > > > >
> > > > > > > > > > > regards
> > > > > > > > > > > stefan
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On 5/7/08, Raffaele Fragapane
> > > <raffsxsilist(at)googlemail.com>
> > > > > > >
> > > > > > >
> > > > > >
> > > > > wrote:
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > > > one useful tip is to not forget that you have
soft's
> > > old
> > > > > > >
> > > > > > >
> > > > > >
> > > > > cloth too.
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > > > for some things like small clusters, very > > > > > > > rigid
cloth
> > > and
> > > > > > >
> > > > > > >
> > > > > >
> > > > > forceful
> > > > >
> > > > >
> > > > > >
> > > > > > > > > substep
> > > > > > > > > > > > eval I found it to be sometimes better than
syflex, or
> > > if
> > > > > > >
> > > > > > >
> > > > > >
> > > > > not better
> > > > >
> > > > >
> > > > > >
> > > > > > > > > to at
> > > > > > > > > > > > least give better results with less setup.
There's
> > > plenty
> > > > > > >
> > > > > > >
> > > > > >
> > > > > it won't
> > > > >
> > > > >
> > > > > >
> > > > > > > > > do, but
> > > > > > > > > > > > when you find syflex kinda not coping don't
forget to
> > > give
> > > > > > >
> > > > > > >
> > > > > >
> > > > > old cloth
> > > > >
> > > > >
> > > > > >
> > > > > > > > > a shot.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, May 7, 2008 at 3:04 PM, todd akita
> > > > > > >
> > > > > > >
> > > > > >
> > > > > <takita(at)earthlink.net>
> > > > >
> > > > >
> > > > > >
> > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Stefan Andersson wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi All,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'm about to bark into using cloth for our
next two
> > > > > > > > > commercials...
> > > > > > > > > > > > > > well... gonna make try at using it > > > > > > > anyhow.
Clothes
> > > are
> > > > > > >
> > > > > > >
> > > > > >
> > > > > tshirts
> > > > >
> > > > >
> > > > > >
> > > > > > > > > and
> > > > > > > > > > > > > > skirts.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > One of the guys in japan made some slight
> > > modifications
> > > > > > >
> > > > > > >
> > > > > >
> > > > > to the base
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > > > toolbar, some of them are kind of useful or at
least
> > > good
> > > > > > >
> > > > > > >
> > > > > >
> > > > > ideas. May
> > > > >
> > > > >
> > > > > >
> > > > > > > > > need
> > > > > > > > > > > > to modify them to work on non-japanese OS.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
http://www.softimage.jp/support/training/user_tips/vol01/index.html
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -T
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > Unsubscribe? Mail Majordomo(at)Softimage.COM > > > > > > > with
the
> > > > > > >
> > > > > > >
> > > > > >
> > > > > following text
> > > > >
> > > > >
> > > > > >
> > > > > > > > > in body:
> > > > > > > > > > > > > unsubscribe xsi
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > >
> > > __________________________________________
> > > > > > > > > > > Pixel Abuser (at) http://www.swiss.se/
> > > > > > > > > > > Blog (at) http://sanders3d.blogspot.com/
> > > > > > > > > > > Web (at)
http://sanders3d.googlepages.com/
> > > > > > > > > > > work e.mail: stefan [at] swiss.se
> > > > > > > > > > > ---
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Unsubscribe? Mail Majordomo(at)Softimage.COM with > > > > > > > the
> > > following
> > > > > > >
> > > > > > >
> > > > > >
> > > > > text in
> > > > >
> > > > >
> > > > > >
> > > > > > > > > body:
> > > > > > > > > > > unsubscribe xsi
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > -Ben Barker
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ---
> > > > > > > > > > Unsubscribe? Mail Majordomo(at)Softimage.COM with the
following
> > > > > > >
> > > > > > >
> > > > > >
> > > > > text in body:
> > > > >
> > > > >
> > > > > >
> > > > > > > > > > unsubscribe xsi
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > __________________________________________
> > > > > > > > Pixel Abuser (at) http://www.swiss.se/
> > > > > > > > Blog (at) http://sanders3d.blogspot.com/
> > > > > > > > Web (at) http://sanders3d.googlepages.com/
> > > > > > > > work e.mail: stefan [at] swiss.se
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > __________________________________________
> > > > > > > Pixel Abuser (at) http://www.swiss.se/
> > > > > > > Blog (at) http://sanders3d.blogspot.com/
> > > > > > > Web (at) http://sanders3d.googlepages.com/
> > > > > > > work e.mail: stefan [at] swiss.se
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > --
> > > > > > __________________________________________
> > > > > > Pixel Abuser (at) http://www.swiss.se/
> > > > > > Blog (at) http://sanders3d.blogspot.com/
> > > > > > Web (at) http://sanders3d.googlepages.com/
> > > > > > work e.mail: stefan [at] swiss.se
> > > > > > ---
> > > > > > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following
text in
> > > body:
> > > > > > unsubscribe xsi
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > ---
> > > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text > > > in
body:
> > > unsubscribe xsi
> > >
> >
> >
> > --
> >
> >
> >
> > __________________________________________
> > Pixel Abuser (at) http://www.swiss.se/
> > Blog (at) http://sanders3d.blogspot.com/
> > Web (at) http://sanders3d.googlepages.com/
> > work e.mail: stefan [at] swiss.se
> > ---
> > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
> > unsubscribe xsi
> >
>
>
-- __________________________________________ Pixel Abuser (at) http://www.swiss.se/ Blog (at) http://sanders3d.blogspot.com/ Web (at) http://sanders3d.googlepages.com/ work e.mail: stefan [at] swiss.se --- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi
--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi
- References:
- syflex cloth
- From: "Stefan Andersson" <sanders3d(at)gmail.com>
- Re: syflex cloth
- From: "Stefan Andersson" <sanders3d(at)gmail.com>
- Re: syflex cloth
- From: "Stefan Andersson" <sanders3d(at)gmail.com>
- Re: syflex cloth
- From: "Stefan Andersson" <sanders3d(at)gmail.com>
- Re: syflex cloth
- From: "Kris Rivel" <krisrivel(at)gmail.com>
- Re: syflex cloth
- From: "Stefan Andersson" <sanders3d(at)gmail.com>
- Re: syflex cloth
- From: Eric Thivierge <eric(at)xsidatabase.com>
- Re: syflex cloth
- From: "Stefan Andersson" <sanders3d(at)gmail.com>
- Re: syflex cloth
- From: "Gene Crucean" <emailgeneonthelist(at)gmail.com>
- Re: syflex cloth
- From: "Gene Crucean" <emailgeneonthelist(at)gmail.com>
- Re: syflex cloth
- From: "Stefan Andersson" <sanders3d(at)gmail.com>
- syflex cloth
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Re: OTish: What nodes does the FXTree need?
- Next by Date: Re: OTish: What nodes does the FXTree need?
- Previous by Thread: Re: OTish: What nodes does the FXTree need?
- Next by Thread: Re: OTish: What nodes does the FXTree need?
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |