PDA

View Full Version : poly -> subd trans uv for adpative -suv polys


ktpr
05-25-2003, 09:18 AM
This is more related to texturing, which is kinda related to rendering. But it does involve dag networks, which is more of a render thing ;)

I'm going to try to state my problem concisely:

Problem: Attempting to transfer adaptive poly uvs (-f
1) created via subdToPoly -suv 1 -f 1 to original Subdiv
surface.

Reason: Much easier and faster/stable to edit poly uvs
than directly on hierch. subd. Both poly and subd
share uvs so there should be 1-1 relationship to
enable transfer of uv edits. (note subdToPoly
-convertComp is not implemented)

Attempted: With subd surf: subdToPoly -suv 1 -f 1 -ch
0; create a polyUVTweak node and attach uvpt0; create
subdUVTweak node and attach pUVTweak uvpt0 to same in
subdUVTweak. Finally, attach subUVTweak's sub tweak0
to subdShape's UvSet[0].UVsetpoints[0]. Move
poly.map[0] and nothing happens.

Question: How can i set up a one to one total uv
correspondence or a least relationship between a
polygon -suv and subd surface such that I can lay out
the poly and transfer the results to the subd surf. I
assume that I could set node state to prevent
processing until I'm done laying out the poly surface.

Any and all help will be greatly appreciated! I know
for a fact that several 3d artists would love to be
able to this.

thank you for your time
cheers
ktpr

ktpr
05-25-2003, 05:59 PM
hmmm ... i note that the attribute called faceUVIds "Explicit UVs on subdiv surfaces are stored on a per-face per-vertex basis. This attribute is used to specify the UV ids on a per-face per-vertex for each UV set that exists on the surface. The values on this attribute are to be used in conjunction with the UVSetPoints"
but...

$test = `getAttr subdivSphere1Shape.faceUVIds[0]`;
// Error: line 1: The data is not a numeric or string value, and cannot be displayed. //

is it possible to use this data? I think it would contain the all the visible uvs and their mapping to uvset.

cheers
ktpr

CGTalk Moderation
01-15-2006, 06:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.