Jump to content

cinomadic

Splitting Selections & Point Order

Recommended Posts

Hello,
I’m trying to combine UVW tags so I can use one texture for several objects (without having to use the Bodypaint wizard). I have found a method that is successful:

  1. Run the Connect command on the objects
  2. Run the UVCommand “Realign
  3. Separate the objects
  4. Copy the UVW tag of the separated object to the original object

 

I’m trying to write a script that does this. The trouble comes with step 3: Separate the objects. When I use the “Polygon Groups to Objects” command, this method works.
Point_Order0.thumb.png.3f6250d75c2cd563bd920b6556deeb9e.png

 

Often, though, I don’t want to explode the object into smaller objects; I just want to realign the existing UV islands and keep the polygon groups as one object. So I tried a different method: combining them with polygon Selection Tags for each object, selecting each object with a Selection Tag, then running the Split modeling command.

 

For some reason, Split seems to rearrange the points, because when I drag the split object’s UVW tag to the original geometry, many of the points jump to the same UV position [0,0].
Point_Order1.thumb.png.1dc2036f80c6fbcccc3fb806730fa906.png

 

Can you please help me separate objects using Selection Tags (or another method) without separating all the polygon groups while maintaining the point order so I can copy the UVW tag to the original object? My scene file is attached.

Connect.zip

 

Thank you!

Share this post


Link to post
Share on other sites

10 hours ago, Hrvoje said:

That seems like quite complicated script. Do you already have something written?

Hi @Hrvoje, thanks for the response. I do have something written, but rather than focus on the Python, I'm trying to get it working manually.

 

I've recorded a 1.5 minute screencast of the issue:

Screenshot.thumb.png.82b527701830c18902b06ff86ce6f450.png

 

https://youtu.be/JGIKvoX4XjY

 

In this example, the Cube and the Platonic work correctly when I drag the UVW tags to the original objects. There is an issue with the Pyramid's UVs, however, and as you can see in my original post, there were UVs issues when I dragged the UVW tags to the original objects with the Figure I split as well.

 

The scene I used is uploaded here:

Steps.zip

Share this post


Link to post
Share on other sites
53 minutes ago, cinomadic said:

There is an issue with the Pyramid's UVs

 

What exactly is the issue you have with the Pyramid's UVs?

From the screenshot I don't see any issue.

 

 

Share this post


Link to post
Share on other sites
39 minutes ago, Hrvoje said:

It says video is unavailable :)

@Hrvoje, thanks, I had my video's visibility set to Private. It should be working now.

 

@C4DS thank you for the reply. In the screenshot, the connected object is selected and all of the UVs are correct. The issue happens when I split that object by its auto-generated selection tags and drag the resulting UVW tags to the original objects. The video I linked shows the issue.

 

Thank you! 

Share this post


Link to post
Share on other sites
1 minute ago, Hrvoje said:

That looks like a bug. Please report this to MAXON...

@Hrvoje I have. Thank you!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

YOUTUBE CHANNEL:

ABOUT US:

C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :) Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, get your own private messenger, post status updates, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, Cafe is the right place.
×
×
  • Create New...