UVEditor v1.2


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Mark Joey Tang
UVEditor is simplify the steps of create uv tile or udim setup in nuke, provide the visual of uv tile in uv space of the geo, export udim texture, extract mattepainting projection in udim, paint fix the texture and map it back to the geo.
Requirements:
11.0, 10.5, 10.0 or later
Linux, Mac, Windows
13 Mar 2019
123

UVEditor is simplify the steps of create uv tile or udim setup in nuke, provide the visual of uv tile in uv space of the geo, export udim texture, extract mattepainting projection in udim, paint fix the texture and map it back to the geo.

 

For what is uv tile / udim and how to get it works in nuke. Please check here :
https://www.facebook.com/pg/MJTlab/photos/?tab=album&album_id=348648709050290

 

Download zip included this tool in gizmo and group format, UVEditor_demo.nk, demo geo (please re-link the geo file).

 

############################################

Changelog

1.2
- preview in uv space set limited in 1024 resolution for not drag down speed purpose. 
- added show tile number
- changed uv combine to uv stitch in export group
- code update
- scan size reduce, speed up process

############################################

 

Panel description:

01

texture size
- Define the texture resolution in here.

filter
- uv output has to go through scanlineRender, this filter is same as all the transformation pixel filter

antialiasing
- uv output has to go through scanlineRender, this antialiasing is same as antialiasing setting as scanlineRender

show tile number
- show the number of tile, helps for indicate udim frame.

view wireframe
- Enable this wireframe option will preview uv in wireframe instead of texture. Give user an idea of how the look of geo in uv space.

wireframe size
- The thickness of wireframe to show. Only enable when view wireframe is checked.

output
- preview in uv space

  • This will displace uv tile in uv space. For preview purpose.

    a02

-udim

  • This will separate uv tile in udim format (base on frame number start from 1001). When selected udim as output, ‘export’ button will able. That will scan through all available udim and return the frame range of the udim. It will generate a group with all udim combined for nuke to work with, and also a write node to show where should render if udim need to be export as texture sequence.

    a03

- uvtile

  • Output the uv in tile format, can map to the geo directly without any process. If user work with uvtile for texture modification, user need to work with overscan size manually.

    a04

- uv pass

  • Output uv data as texture, same as 3D software will provide in render. Since the tool is working n 10x10 uv tile, so the uv pass will also support 10.0x10.0 uv data. Then user can use this to work with stmap for texture mapping.

    a05

 

=================================================

 

Demo Script :

Screen Shot 2019-03-12 at 11.29.36 PM 

 

You might work with matte painting as texture or fix the texture from current render. You can do you projection setup and connect to ‘tex’ input. The process is just connect the tex to geo through apply geo inside the tool.

a06

 

If you check the texture under preview in uv space output, you will find that the modification already baked in uv space.

a07

 

You can map the geo directly through uv tile output.

a08

 

Upper view is the final render output. Lower view is the paint I projected on single frame, same as work with matte painting.

a09

 

Upper view, another camera angle of the result.

a10

 

If you want to modify any texture, you can find the texture in udim before the udim combine group, swap your modification on that udim. Then udim combine group will replace your fix in uv tile and map it back to the geo.

a11

 

Result

a12

 

Remarks:

3D view in nuke, can only able preview a single tile uv (as the picture shown as below). So when you work with uv tile, don’t trust the 3d viewer. Better check that after scanlineRender.

a13

 

Please login in order to download these files.

Comments   

 
# Slava Ponomarev 2019-02-28 10:50
Hi, your gizmo is crashed when i connect the viewer node to it and Nuke сrashes =(

My Nuke is 10.0.4
 
 
# Mark Joey Tang 2019-03-08 14:19
I think it's because the oversize too big for your computer handle. I will re-visit the tool again and see if I can trigger this or any optimization. That would be great if you can let me know some information or let me have your script to investigate.

is your geo able to view in nuke with any problems?
how is the texture size you set in the tool?
does it work with a blank script with only geo and this node?

Thanks.
 
 
# Slava Ponomarev 2019-03-12 12:25
hi, Mark.
I just create your node in a nodegraph and try to connect to your node. I don't even connect any geometry to your node.
 
 
# Mark Joey Tang 2019-03-13 04:11
Thanks for the report. That would be great if there has any crash log. I have no idea the cause yet. Just make sure you are using Nuke10 +, it's because wireframe node exists after Nuke10.

btw, I updated the tools to v1.2 , optimize some stuff. The default view , 'preview in uv space' , force to 1024 resolution. This helps viewer load faster.

In v1.2, I also included a demo script, see if you can open it without crash.
 
 
# Slava Ponomarev 2019-03-14 09:59
Thank you, man. now it works. ) good
first time after your update my nuke again was crashed, but after that I cleared all cashes. I created your node again and it worked.
 

You have no rights to post comments

We have 2337 guests and 80 members online