kim aldis <kim(at)cg-soup.com> wrote: Your cubes are in 2 different places. Last time I used Gator objects having
their attributes transferred need to be in the same place.
> -----Original Message-----
> From: owner-xsi(at)Softimage.COM
> [mailto:owner-xsi(at)Softimage.COM] On Behalf Of key
> Sent: 18-February-2006 23:07
> To: XSI(at)Softimage.COM
> Subject: Re: GATOR hates me....
>
> I don't know if anyone responded to your question, but I
> posted a similar query previously. What I wind up doing is
> manually copying the UVW co-ordinates. Ideally one could
> script the operation.... actually, ideally it would work in
> GATOR! Major workflow stopper.
>
> --- Joey Ponthieux wrote:
>
> > Ok, maybe someone can splain this to me. GATOR apparently
> refuses to
> > obey texture projection DEF UVW modifications. I've
> generated a test
> > scene. Two cubes with support, projection, and material. The
> > projection and it's support will be generated on cube and
> GATOR will
> > transfer the material and UVs to cube1 utilizing it's
> mirror function.
> > Here's the code, run in the script editor and the test
> scene will be
> > created:
> >
> >
> >
> > CreatePrim "Cube", "MeshSurface"
> > Translate , 7.02154343196307, 0, 0, siRelative, siObjCtr, siObj,
> > siXYZ, , , , , , , , , , 0 Duplicate "cube", , 2, 1, 1, 0,
> 0, 1, 0, 1,
> > , , , , , , , , , , 0 Translate , -7.0215, 0, 0,
> siAbsolute, siPivot,
> > siObj, siX, , , , , , , , , , 0 ActivateObjectSelTool
> > ActivateObjectSelTool ActivateObjectSelToolWithNoObjStateChange
> > AddToSelection "cube", , True
> > ActivateObjectSelToolWithNoObjStateChange
> > ResetTransform , siCtr, siSRT, siXYZ
> > DeselectAll
> > SelectObj "cube", , True
> > CreateProjection "cube", siTxtPlanarXZ, siTxtDefaultSpherical,
> > "TS_Test", "TP_Test", True, siRelDefault ApplyShader "Blinn", , , ,
> > siLetLocalMaterialsOverlap SIApplyShaderToCnxPoint "Image",
> > "Sources.Materials.DefaultLib.Material.Blinn.diffuse"
> > SelectObj "cube1", , True
> > ApplyGenOp "Gator", , "cube1;cube", 3, siPersistentOperation,
> > siKeepGenOpInputs SetValue
> > "cube1.polymsh.TransferAttributes.mirrorproperties", True SetValue
> > "cube1.polymsh.TransferAttributes.planenormal", 2
> > TransferAllPropertiesAcrossGenOp "cube1.polymsh.TransferAttributes",
> > "cube1", , True
> > SetValue "cube1.polymsh.TransferAttributes.planenormal", 0
> >
> >
> > Now modify the camera position and setup a render region in the
> > perspective view.
> >
> > Notice that the texture is mirrored as expected.
> >
> > Select the support named TS_Test under cube.
> >
> > If you scale or reposition TS_Test the texture on cube1 will update
> > accordingly.
> >
> > Now open the property page for the projection under cube,
> its called
> > TP_Test_Def under cube/Polygon
> > mesh/Clusters/Texture_Coordinates_AUTO/TP_Test
> >
> > Modify any of the UVW parameters and notice that the
> texture on cube
> > updates, but not the texture on cube1.
> >
> > So what did I do wrong here? Why does the support work but not the
> > projection? Or does this gator hate me?
> >
> >
> > --
> >
> > Joey Ponthieux
> > NCI Information Systems Inc.
> > NASA Langley Research Center
> > ____________________________________________________________
> > Opinions stated here-in are strictly those of the author and do not
> > represent the opinions of NASA or any other party.
> > ---
> > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
> > body:
> > unsubscribe xsi
> >
>
>
> If at first you don't succeed, call it version 1.0
>
> -Intel Developers t-shirt
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection
> around http://mail.yahoo.com
> ---
> 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
If at first you don't succeed, call it version 1.0
-Intel Developers t-shirt
---------------------------------
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
--0-519246727-1140369185=:20547
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit