Home Technical Talk

Texture editor in Maya, one grid line every 256 pixels

polycounter lvl 2
Offline / Send Message
spexel polycounter lvl 2
I'm trying to layout my UV's to match an Atlas I made in substance designer and it would be very convenient to have the grid in the texture editor to be 256x256 squares so I could just snap most of my island to the grid. Anybody know how to do that?

Thanks!

Replies

  • Scruples
    Offline / Send Message
    Scruples polycounter lvl 10
    UV editor>View>Grid options

    0.25 for a 1024 size atlas, 0.125 for a 2048, 0.0625 for a 4k, and so on.

  • JDyer
    Offline / Send Message
    JDyer polycounter lvl 5
    Maya's UV window is resolution independent, so there is no way to just set it to 256 pixels.  What you can do though is a little bit of math to figure out where to put the grid lines.   Take your snap size and divide it by the total texture size.  For example if you have a 2048 map, and want lines every 256 pixels do 256 / 2048 = 0.125.

    Now in the UV editor click the view tab then click the Option box beside Grid.  In the "Grid Lines Every:" box, put the number you got in the previous step, in this case 0.125
Sign In or Register to comment.