Re: getting subsurface index
Looks like this methodhttp://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.html?url=si_om/NurbsSurfaceMesh.GetSubSurfaceIndexArray.html,topicNumber=si_om_NurbsSurfaceMesh_GetSubSurfaceIndexArray_htmlwould be useful to you if it was implemented in ICE. It'd be perfect with the UV to Location node. It's the opposite issue with polygons. You can extract the polygon index from the location but it's missing the polygon UV. I was hoping to be able to build a location from scratch using those two attributes. But I couldn't find anything about polygon UVs, even in the sdk. Maybe Grahame knows? On Mon, Jun 10, 2013 at 7:22 PM, Matt Lind ml...@carbinestudios.com wrote: And to follow – I wish the subsurface index wasn’t encapsulated in the location. It should be exposed as a port on the reinterpret location and UV to location nodes so you can perform one-to-many and many-to-one remappings. Reinterpret location should expose a UV coordinate port as well. ** ** ** ** Matt ** ** ** ** *From:* softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] *On Behalf Of *Matt Lind *Sent:* Monday, June 10, 2013 3:16 PM *To:* softimage@listproc.autodesk.com *Subject:* RE: getting subsurface index ** ** I need to remap with an offset in the UV coordinate. Reinterpret doesn’t allow for that. ** ** Matt ** ** ** ** ** ** ** ** *From:* softimage-boun...@listproc.autodesk.com [ mailto:softimage-boun...@listproc.autodesk.comsoftimage-boun...@listproc.autodesk.com] *On Behalf Of *Grahame Fuller *Sent:* Monday, June 10, 2013 12:53 PM *To:* softimage@listproc.autodesk.com *Subject:* RE: getting subsurface index ** ** An ICE location on a surface mesh essentially consists of the subsurface index and the UV parameters on that subsurface, in other words, the subsurface index is built in to the location. So, you should be able to simply use Reinterpret Location to New Geometry. Is that not working? *** * ** ** gray ** ** *From:* softimage-boun...@listproc.autodesk.com [ mailto:softimage-boun...@listproc.autodesk.comsoftimage-boun...@listproc.autodesk.com] *On Behalf Of *Matt Lind *Sent:* Monday, June 10, 2013 03:03 PM *To:* softimage@listproc.autodesk.com *Subject:* ICE: getting subsurface index ** ** I have to write a tool which remaps a position from a surface mesh onto another surface mesh. I am hoping to use ICE, but am running into a barrier – how to obtain the subsurface index of a surface mesh which a location was found. ** ** Anybody? ** ** ** ** Matt ** ** ** **
RE: getting subsurface index
You only need that method when comparing PointLocators across multiple subsurfaces to make decisions. In my case I only need the nearest location on the surface mesh. NURBSSurfaceMesh.GetClosestSurfacePosition2() returns the subsurface index as part of the PointLocator object. In the case of ICE, the subsurface index can be specified in the UV to Location node to apply a location on a surface mesh, but there is no way to read the subsurface index from a PointLocator on a surface mesh - that is the problem. I spent most of last night at home scratching my head on various ways to determine the subsurface index. I tried using group geometry, metadata in weightmaps and so forth. Bottom line is no matter what workaround I attempted, I needed the subsurface index to be delivered from the PointLocator. The only option in ICE is to use the Reinterpret Location node, but it doesn't expose the subsurface index which makes it impossible to apply a UV offset as I need to do. Since the ICE SDK doesn't expose locators, looks like I'll have to use C++ or a scripted operator. Matt From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Vincent Fortin Sent: Tuesday, June 11, 2013 12:48 PM To: softimage Subject: Re: getting subsurface index Looks like this methodhttp://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.html?url=si_om/NurbsSurfaceMesh.GetSubSurfaceIndexArray.html,topicNumber=si_om_NurbsSurfaceMesh_GetSubSurfaceIndexArray_html would be useful to you if it was implemented in ICE. It'd be perfect with the UV to Location node. It's the opposite issue with polygons. You can extract the polygon index from the location but it's missing the polygon UV. I was hoping to be able to build a location from scratch using those two attributes. But I couldn't find anything about polygon UVs, even in the sdk. Maybe Grahame knows? On Mon, Jun 10, 2013 at 7:22 PM, Matt Lind ml...@carbinestudios.commailto:ml...@carbinestudios.com wrote: And to follow - I wish the subsurface index wasn't encapsulated in the location. It should be exposed as a port on the reinterpret location and UV to location nodes so you can perform one-to-many and many-to-one remappings. Reinterpret location should expose a UV coordinate port as well. Matt From: softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Monday, June 10, 2013 3:16 PM To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com Subject: RE: getting subsurface index I need to remap with an offset in the UV coordinate. Reinterpret doesn't allow for that. Matt From: softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Grahame Fuller Sent: Monday, June 10, 2013 12:53 PM To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com Subject: RE: getting subsurface index An ICE location on a surface mesh essentially consists of the subsurface index and the UV parameters on that subsurface, in other words, the subsurface index is built in to the location. So, you should be able to simply use Reinterpret Location to New Geometry. Is that not working? gray From: softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Monday, June 10, 2013 03:03 PM To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com Subject: ICE: getting subsurface index I have to write a tool which remaps a position from a surface mesh onto another surface mesh. I am hoping to use ICE, but am running into a barrier - how to obtain the subsurface index of a surface mesh which a location was found. Anybody? Matt
RE: getting subsurface index
BTW - you get the UVW coordinates from the polygon node index array returned from the PointLocator. The UVW coordinates are stored in a ClusterProperty of type 'uvspace'. You need to use the Polygon Node Indices returned from the PointLocator to look them up in the uvspace property. Matt From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Tuesday, June 11, 2013 2:10 PM To: softimage@listproc.autodesk.com Subject: RE: getting subsurface index You only need that method when comparing PointLocators across multiple subsurfaces to make decisions. In my case I only need the nearest location on the surface mesh. NURBSSurfaceMesh.GetClosestSurfacePosition2() returns the subsurface index as part of the PointLocator object. In the case of ICE, the subsurface index can be specified in the UV to Location node to apply a location on a surface mesh, but there is no way to read the subsurface index from a PointLocator on a surface mesh - that is the problem. I spent most of last night at home scratching my head on various ways to determine the subsurface index. I tried using group geometry, metadata in weightmaps and so forth. Bottom line is no matter what workaround I attempted, I needed the subsurface index to be delivered from the PointLocator. The only option in ICE is to use the Reinterpret Location node, but it doesn't expose the subsurface index which makes it impossible to apply a UV offset as I need to do. Since the ICE SDK doesn't expose locators, looks like I'll have to use C++ or a scripted operator. Matt From: softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Vincent Fortin Sent: Tuesday, June 11, 2013 12:48 PM To: softimage Subject: Re: getting subsurface index Looks like this methodhttp://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.html?url=si_om/NurbsSurfaceMesh.GetSubSurfaceIndexArray.html,topicNumber=si_om_NurbsSurfaceMesh_GetSubSurfaceIndexArray_html would be useful to you if it was implemented in ICE. It'd be perfect with the UV to Location node. It's the opposite issue with polygons. You can extract the polygon index from the location but it's missing the polygon UV. I was hoping to be able to build a location from scratch using those two attributes. But I couldn't find anything about polygon UVs, even in the sdk. Maybe Grahame knows? On Mon, Jun 10, 2013 at 7:22 PM, Matt Lind ml...@carbinestudios.commailto:ml...@carbinestudios.com wrote: And to follow - I wish the subsurface index wasn't encapsulated in the location. It should be exposed as a port on the reinterpret location and UV to location nodes so you can perform one-to-many and many-to-one remappings. Reinterpret location should expose a UV coordinate port as well. Matt From: softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Monday, June 10, 2013 3:16 PM To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com Subject: RE: getting subsurface index I need to remap with an offset in the UV coordinate. Reinterpret doesn't allow for that. Matt From: softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Grahame Fuller Sent: Monday, June 10, 2013 12:53 PM To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com Subject: RE: getting subsurface index An ICE location on a surface mesh essentially consists of the subsurface index and the UV parameters on that subsurface, in other words, the subsurface index is built in to the location. So, you should be able to simply use Reinterpret Location to New Geometry. Is that not working? gray From: softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Monday, June 10, 2013 03:03 PM To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com Subject: ICE: getting subsurface index I have to write a tool which remaps a position from a surface mesh onto another surface mesh. I am hoping to use ICE, but am running into a barrier - how to obtain the subsurface index of a surface mesh which a location was found. Anybody? Matt
RE: getting subsurface index
An ICE location on a surface mesh essentially consists of the subsurface index and the UV parameters on that subsurface, in other words, the subsurface index is built in to the location. So, you should be able to simply use Reinterpret Location to New Geometry. Is that not working? gray From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Monday, June 10, 2013 03:03 PM To: softimage@listproc.autodesk.com Subject: ICE: getting subsurface index I have to write a tool which remaps a position from a surface mesh onto another surface mesh. I am hoping to use ICE, but am running into a barrier - how to obtain the subsurface index of a surface mesh which a location was found. Anybody? Matt attachment: winmail.dat
RE: getting subsurface index
I need to remap with an offset in the UV coordinate. Reinterpret doesn't allow for that. Matt From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Grahame Fuller Sent: Monday, June 10, 2013 12:53 PM To: softimage@listproc.autodesk.com Subject: RE: getting subsurface index An ICE location on a surface mesh essentially consists of the subsurface index and the UV parameters on that subsurface, in other words, the subsurface index is built in to the location. So, you should be able to simply use Reinterpret Location to New Geometry. Is that not working? gray From: softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Matt Lind Sent: Monday, June 10, 2013 03:03 PM To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com Subject: ICE: getting subsurface index I have to write a tool which remaps a position from a surface mesh onto another surface mesh. I am hoping to use ICE, but am running into a barrier - how to obtain the subsurface index of a surface mesh which a location was found. Anybody? Matt