  | | | user normals errors | user normals errors 2004-07-19 - By Brinkley, Marc
Back Hey Helge, nice tool! Thanks! But I seem to be getting an error. I downloaded the zip and installed the addon . Created a sphere and hit addNormals button on the userNormalsTools toolbar. I get the following error(s): 'ERROR : 2000 - Argument 0 (Target) is invalid
'ERROR : 2001-GetValue - Argument 0 is invalid
'ERROR : 2000 - Argument 0 (Target) is invalid
'ERROR : 2001-GetValue - Argument 0 is invalid
'ERROR : 2000 - Argument 0 (Target) is invalid
'ERROR : 2001-GetValue - Argument 0 is invalid
'ERROR : 2000 - Argument 0 (InputObjs) is invalid
'ERROR : 2001-PROP-InspectObj - Argument 0 is invalid
'ERROR : Invalid procedure call or argument: 'INspectObj' - [line 61 in c: \users\mbrinkley\Softimage\XSI_4.0\Addons\userNormalAddon\Data\Scripts \addUserNormals.vbs]
addUserNormals
Am I missing something?
Marc Brinkley - EA | Chicago mbrinkley [at] ea.com 847.884.2000 x118
__ __
From: kim aldis [mailto:kim@(protected)] Sent: Monday, July 19, 2004 3:45 AM To: XSI@(protected) Subject: RE: user normals Every time someone shakes Helge a tool drops out. ;-) I've not looked at the tool, Helge, but a couple of thoughts all the same. Years ago, when I had the tools to manipulate normals on the models I was building, the most useful stuff was not so much the ability to manipulate normals directly so much as those that provided tweaks that calculate normals in a more useful way. One example of where you might need something like this lies in the old cube/bevel thing. Currently applying bevels on cubes either completely screws the shading or forces you to jump through hoops to get decent shading along those bevels. Normal calculation is done by averaging plane equation normals on a point's neighbouring faces and one way to give the appearance of rounded bevels along edges is to flag the bevel faces as not contributing to the normal calculation. This is something I've been meaning to do for months but if you've already got the guts in place, it may be something you can add quite quickly. just a thought,
__ __
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Jamie McDonnell - Rigging / Animation / www.jm3d.co.uk Sent: 18 July 2004 22:31 To: XSI@(protected) Subject: Re: user normals Great tool Helge! Thanks again man! Jamie
-- -- Original Message -- -- From: Helge Mathee <mailto:helge.mathee@(protected)> To: XSI@(protected) Sent: Friday, July 16, 2004 3:24 PM Subject: Re: user normals
I see. Yeah, you can deform them, or even shape animate them. works pretty well.
-- -- Original Message -- -- From: Jérôme Couture-Gagnon <mailto:jcgagnon@(protected)> To: XSI@(protected) Sent: Friday, July 16, 2004 4:05 PM Subject: RE: user normals
Hi Helge, The fact that UserNormals are not used with subdivs is a limitation, simply because the UserNormal support in XSI is still in early stages (since v3). The primary usage for UserNormals was to give some ways to enhance the shading of low-poly models, and in that perspective, support over subdivision surfaces was not a priority. Obviously it would be nice to have UserNormals supported for subdivs, the same way that it would be nice to have them following animation. These are things that we wish to add in the future, but I can't say when, as will depend on the priority relatively to all areas of XSI... Using your trick of having a hidden mesh controlling the tip of the UserNormals, it would be interesting to see how it behaves if you apply the same deforms / enveloping to the displayed and the hidden mesh; the normals may be behave relatively well. Thanks for your tool, Jerome Couture-Gagnon. Modeling Dev.
-- --Original Message-- -- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf Of Helge Mathee Posted At: Friday, July 16, 2004 8:23 AM Posted To: xsi Conversation: user normals Subject: user normals HI list, I just finished an interactive user normal addon. Can anyone point me in a direction concerning that: When using user normals, and turning on geometry approximation, the user normals simply disappear and are not used for shading anymore. Is that the way it is supposed to be? I thought the geoapprox mesh's normals are simply interpolated user normals (as long as there are user normals, so to speak) Helge
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV dir=ltr align=left><SPAN class=668010922-19072004><FONT face=Arial color=#0000ff size=2>Hey Helge, nice tool! Thanks!</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=668010922-19072004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=668010922-19072004><FONT face=Arial color=#0000ff size=2>But I seem to be getting an error. I downloaded the zip and installed the addon. Created a sphere and hit addNormals button on the userNormalsTools toolbar.</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=668010922-19072004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=668010922-19072004><FONT face=Arial color=#0000ff size=2>I get the following error(s):</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=668010922-19072004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=668010922-19072004><FONT color=#82140f size=2> <P>'ERROR : 2000 - Argument 0 (Target) is invalid</P> <P>'ERROR : 2001-GetValue - Argument 0 is invalid</P> <P>'ERROR : 2000 - Argument 0 (Target) is invalid</P> <P>'ERROR : 2001-GetValue - Argument 0 is invalid</P> <P>'ERROR : 2000 - Argument 0 (Target) is invalid</P> <P>'ERROR : 2001-GetValue - Argument 0 is invalid</P> <P>'ERROR : 2000 - Argument 0 (InputObjs) is invalid</P> <P>'ERROR : 2001-PROP-InspectObj - Argument 0 is invalid</P> <P>'ERROR : Invalid procedure call or argument: 'INspectObj' - [line 61 in c:\users\mbrinkley\Softimage\XSI_4.0\Addons\userNormalAddon\Data\Scripts \addUserNormals.vbs]</P> <P>addUserNormals</P></FONT></SPAN></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=668010922-19072004>Am I missing something? </SPAN></FONT></DIV><!-- Converted from text/rtf format --> <P><FONT face=Arial size=2>Marc Brinkley - </FONT><FONT face=Arial color=#000000 size=2>EA | Chicago</FONT> <BR><FONT face=Arial size=2>mbrinkley [at] ea.com</FONT> <BR><FONT face=Arial size=2>847.884.2000 x118</FONT> </P> <DIV> </DIV><BR> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> kim aldis [mailto:kim@(protected)] <BR><B>Sent:</B> Monday, July 19, 2004 3:45 AM<BR><B>To:</B> XSI@(protected)<BR><B>Subject:</B> RE: user normals<BR></FONT><BR></DIV> <DIV></DIV> <DIV dir=ltr align=left><FONT face=Arial color=#008080 size=2><SPAN class=843311608-19072004>Every time someone shakes Helge a tool drops out. ;-)</SPAN></FONT></DIV> <DIV dir=ltr align=left><FONT face=Arial color=#008080 size=2><SPAN class=843311608-19072004></SPAN></FONT> </DIV> <DIV dir=ltr align=left><FONT face=Arial color=#008080 size=2><SPAN class=843311608-19072004>I've not looked at the tool, Helge, but a couple of thoughts all the same. Years ago, when I had the tools to manipulate normals on the models I was building, the most useful stuff was not so much the ability to manipulate normals directly so much as those that provided tweaks that calculate normals in a more useful way. One example of where you might need something like this lies in the old cube/bevel thing. Currently applying bevels on cubes either completely screws the shading or forces you to jump through hoops to get decent shading along those bevels. Normal calculation is done by averaging plane equation normals on a point's neighbouring faces and one way to give the appearance of rounded bevels along edges is to flag the bevel faces as not contributing to the normal calculation. This is something I've been meaning to do for months but if you've already got the guts in place, it may be something you can add quite quickly.</SPAN></FONT></DIV> <DIV dir=ltr align=left><FONT face=Arial color=#008080 size=2><SPAN class=843311608-19072004></SPAN></FONT> </DIV> <DIV dir=ltr align=left><FONT face=Arial color=#008080 size=2><SPAN class=843311608-19072004>just a thought,</SPAN></FONT></DIV> <DIV dir=ltr align=left><FONT face=Arial color=#008080 size=2><SPAN class=843311608-19072004></SPAN></FONT> </DIV> <DIV dir=ltr align=left><FONT face=Arial color=#008080 size=2><SPAN class=843311608-19072004></SPAN></FONT> </DIV><BR> <BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>Jamie McDonnell - Rigging / Animation / www.jm3d.co.uk<BR><B>Sent:</B> 18 July 2004 22:31<BR><B>To:</B> XSI@(protected)<BR><B>Subject:</B> Re: user normals<BR></FONT><BR></DIV> <DIV></DIV> <DIV><FONT face=Arial size=2>Great tool Helge! Thanks again man!</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Jamie</FONT></DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT : #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From: </B> <A title=helge.mathee@(protected) href="mailto:helge.mathee@(protected)">Helge Mathee</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=XSI@(protected) href="mailto:XSI@(protected)">XSI@(protected)</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 16, 2004 3:24 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: user normals</DIV> <DIV><BR></DIV> <DIV><FONT face=Arial size=2>I see.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Yeah, you can deform them, or even shape animate them.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>works pretty well.</FONT></DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER -LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B >From:</B> <A title=jcgagnon@(protected) href="mailto:jcgagnon@(protected)">Jérôme Couture-Gagnon</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=XSI@(protected) href="mailto:XSI@(protected)">XSI@(protected)</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 16, 2004 4:05 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: user normals</DIV> <DIV><BR></DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2>Hi Helge,</FONT></SPAN></DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2>The fact that UserNormals are not used with subdivs is a limitation, simply because the UserNormal support in XSI is still in early stages (since v3). The primary usage for UserNormals was to give some ways to enhance the shading of low-poly models, and in that perspective, support over subdivision surfaces was not a priority.</FONT></SPAN></DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2>Obviously it would be nice to have UserNormals supported for subdivs, the same way that it would be nice to have them following animation. These are things that we wish to add in the future, but I can't say when, as will depend on the priority relatively to all areas of XSI...</FONT></SPAN></DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2>Using your trick of having a hidden mesh controlling the tip of the UserNormals, it would be interesting to see how it behaves if you apply the same deforms / enveloping to the displayed and the hidden mesh; the normals may be behave relatively well.</FONT></SPAN></DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2>Thanks for your tool,</FONT></SPAN></DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2>Jerome Couture-Gagnon.</FONT></SPAN></DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2>Modeling Dev.</FONT></SPAN></DIV> <DIV><SPAN class=249035713-16072004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)]<B>On Behalf Of </B>Helge Mathee<BR><B>Posted At:</B> Friday, July 16, 2004 8:23 AM<BR><B>Posted To:</B> xsi<BR><B>Conversation:</B> user normals<BR><B>Subject:</B> user normals<BR><BR></FONT></DIV> <DIV><FONT face=Arial size=2>HI list,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I just finished an interactive user normal addon.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Can anyone point me in a direction concerning that:</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>When using user normals, and turning on geometry approximation,</FONT></DIV> <DIV><FONT face=Arial size=2>the user normals simply disappear and are not used for shading anymore.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Is that the way it is supposed to be? I thought the geoapprox mesh's </FONT></DIV> <DIV><FONT face=Arial size=2>normals are simply interpolated user normals (as long as there are user</FONT></DIV> <DIV><FONT face=Arial size=2>normals, so to speak)</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Helge</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE>< /BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
|
|
 |