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.
>
&g! t; --- 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,
> > si! Obj, 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 suppo! rt 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)Softimag! e.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
<http://us.rd.yahoo.com/mail_us/taglines/PMall/*http://photomail.mail.yahoo.
com> - it's free and works with Yahoo! Mail.
------=_NextPart_000_0053_01C6357E.76571DD0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.5296.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D812190018-19022006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>OK, it was a thought.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> owner-xsi(at)Softimage.COM=20
[mailto:owner-xsi(at)Softimage.COM] <B>On Behalf Of =
</B>key<BR><B>Sent:</B>=20
19-February-2006 17:13<BR><B>To:</B> =
XSI(at)Softimage.COM<BR><B>Subject:</B> RE:=20
GATOR hates me....<BR></FONT><BR></DIV>
<DIV></DIV>From my experience UVW information is not transfered with =
GATOR=20
even when objects are directly over each other.<BR><BR><B><I>kim aldis =
<kim(at)cg-soup.com></I></B> wrote:=20
<BLOCKQUOTE class=3Dreplbq=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px =
solid">Your=20
cubes are in 2 different places. Last time I used Gator objects=20
having<BR>their attributes transferred need to be in the same place. =
<BR><BR>> -----Original Message-----<BR>> From:=20
owner-xsi(at)Softimage.COM <BR>> [mailto:owner-xsi(at)Softimage.COM] On =
Behalf=20
Of key<BR>> Sent: 18-February-2006 23:07<BR>> To:=20
XSI(at)Softimage.COM<BR>> Subject: Re: GATOR hates me....<BR>> =
<BR>> I=20
don't know if anyone responded to your question, but I <BR>> =
posted a=20
similar query previously. What I wind up doing is <BR>> manually =
copying=20
the UVW co-ordinates. Ideally one could <BR>> script the =
operation....=20
actually, ideally it would work in <BR>> GATOR! Major workflow=20
stopper.<BR>> <BR>&g! t; --- Joey Ponthieux=20
<J.G.PONTHIEUX(at)LARC.NASA.GOV>wrote:<BR>> <BR>> > Ok, maybe =
someone=20
can splain this to me. GATOR apparently <BR>> refuses to <BR>> =
>=20
obey texture projection DEF UVW modifications. I've <BR>> =
generated a=20
test <BR>> > scene. Two cubes with support, projection, and =
material.=20
The <BR>> > projection and it's support will be generated on =
cube and=20
<BR>> GATOR will <BR>> > transfer the material and UVs to =
cube1=20
utilizing it's <BR>> mirror function. <BR>> > Here's the =
code, run=20
in the script editor and the test <BR>> scene will be <BR>> =
>=20
created:<BR>> > <BR>> > <BR>> > <BR>> > =
CreatePrim=20
"Cube", "MeshSurface"<BR>> > Translate , 7.02154343196307, 0, =
0,=20
siRelative, siObjCtr, siObj, <BR>> > siXYZ, , , , , , , , , , =
0=20
Duplicate "cube", , 2, 1, 1, 0, <BR>> 0, 1, 0, 1, <BR>> > , =
, , , ,=20
, , , , , 0 Translate , -7.0215, 0, 0, <BR>> siAbsolute, siPivot, =
<BR>> > si! Obj, siX, , , , , , , , , , 0 =
ActivateObjectSelTool=20
<BR>> > ActivateObjectSelTool=20
ActivateObjectSelToolWithNoObjStateChange<BR>> > =
AddToSelection=20
"cube", , True<BR>> >=20
ActivateObjectSelToolWithNoObjStateChange<BR>> > =
ResetTransform ,=20
siCtr, siSRT, siXYZ<BR>> > DeselectAll<BR>> > SelectObj =
"cube",=20
, True<BR>> > CreateProjection "cube", siTxtPlanarXZ,=20
siTxtDefaultSpherical, <BR>> > "TS_Test", "TP_Test", True,=20
siRelDefault ApplyShader "Blinn", , , , <BR>> >=20
siLetLocalMaterialsOverlap SIApplyShaderToCnxPoint "Image", <BR>> =
>=20
"Sources.Materials.DefaultLib.Material.Blinn.diffuse"<BR>> > =
SelectObj=20
"cube1", , True<BR>> > ApplyGenOp "Gator", , "cube1;cube", 3,=20
siPersistentOperation, <BR>> > siKeepGenOpInputs SetValue =
<BR>>=20
> "cube1.polymsh.TransferAttributes.mirrorproperties", True =
SetValue=20
<BR>> > "cube1.polymsh.TransferAttributes.planenormal", 2 =
<BR>>=20
> TransferAllPropertiesAcrossGenOp=20
"cube1.polymsh.TransferAttributes",<BR>> > "cube1", , =
True<BR>>=20
> SetValue "cube1.polymsh.TransferAttributes.planenormal", =
0<BR>> >=20
<BR>> > <BR>> > Now modify the camera position and setup =
a=20
render region in the <BR>> > perspective view.<BR>> > =
<BR>>=20
> Notice that the texture is mirrored as expected.<BR>> > =
<BR>>=20
> Select the support named TS_Test under cube. <BR>> > =
<BR>>=20
> If you scale or reposition TS_Test the texture on cube1 will =
update=20
<BR>> > accordingly.<BR>> > <BR>> > Now open the =
property=20
page for the projection under cube, <BR>> its called <BR>> =
>=20
TP_Test_Def under cube/Polygon <BR>> >=20
mesh/Clusters/Texture_Coordinates_AUTO/TP_Test<BR>> > <BR>> =
>=20
Modify any of the UVW parameters and notice that the <BR>> =
texture on=20
cube <BR>> > updates, but not the texture on cube1.<BR>> =
>=20
<BR>> > So what did I do wrong here? Why does the suppo! rt =
work but=20
not the <BR>> > projection? Or does this gator hate =
me?<BR>> >=20
<BR>> > <BR>> > --<BR>> > <BR>> > Joey =
Ponthieux=20
<BR>> > NCI Information Systems Inc. <BR>> > NASA =
Langley=20
Research Center<BR>> >=20
____________________________________________________________<BR>> =
>=20
Opinions stated here-in are strictly those of the author and do not =
<BR>>=20
> represent the opinions of NASA or any other party.<BR>> > =
---<BR>> > Unsubscribe? Mail Majordomo(at)Softimage.COM with the=20
following text in<BR>> > body:<BR>> > unsubscribe =
xsi<BR>>=20
> <BR>> <BR>> <BR>> If at first you don't succeed, call =
it=20
version 1.0<BR>> <BR>> -Intel Developers t-shirt<BR>> =
<BR>>=20
__________________________________________________<BR>> Do You=20
Yahoo!?<BR>> Tired of spam? Yahoo! Mail has the best spam =
protection=20
<BR>> around http://mail.yahoo.com<BR>> ---<BR>> =
Unsubscribe? Mail=20
Majordomo(at)Softimag! e.COM with the following <BR>> text in =
body:<BR>>=20
unsubscribe xsi<BR>> <BR><BR>---<BR>Unsubscribe? Mail=20
Majordomo(at)Softimage.COM with the following text in =
body:<BR>unsubscribe=20
xsi<BR></BLOCKQUOTE><BR><BR><BR>If at first you don't succeed, call =
it version=20
1.0<BR><BR>-Intel Developers t-shirt
<P>
<HR SIZE=3D1>
Brings words and photos together (easily) with<BR><A=20
=
href=3D"http://us.rd.yahoo.com/mail_us/taglines/PMall/*http://photomail.m=
ail.yahoo.com">PhotoMail=20
</A>- it's free and works with Yahoo! Mail.</BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0053_01C6357E.76571DD0--
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi