Jump to content

Recommended Posts

Posted

@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

Let's build cool stuff and have fun. :)

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.

×
×
  • Create New...