Jump to content

UV unwrapping extension


Josh
 Share

Recommended Posts

@reepblue pointed out this library for UV unwrapping:
https://github.com/jpcy/xatlas

68638607-d4db8b80-054d-11ea-8238-845d94789a2d.gif.d27feeb9e23407b6e9a69425b4b8ad92.gif

I added these values to the AssetEditor class:

  • asseteditor.model: the open model, if it exists.
  • asseteditor:Invalidate(): Triggers a viewport redraw.
  • asseteditor:Modify(): Causes the file to be set as "modified".
  • asseteditor.modelmenu: Menu displayed when a model is loaded.

The event EVENT_INITASSETEDITOR is emitted when an asset editor window is initialized, so you can add a menu item to the modelmenu at this time.

Since Lua can call functions from a DLL, that should be everything needed to create an unwrapping extension.

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
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.

 Share

×
×
  • Create New...