Texel Density Tool

5 votes
Version: 
1.0
Date Updated: 
06/01/2018

A small tool for working with your texel density and scaling your UV-shells.

Some features:
Has a minimalistic Interface (similar to Maya)
Can Get and Set texel density.
Saves all of your settings (including window position) every time you close it.
Shows the most understandable values (px/m).
Works with different system untis (including non-metric).
Can scale UV-Shells horizontally or/and verically using custom pivot.

Requires Unwrap UVW modifier applied and active.

Works bad when:
UV-Shell is not convex (has no seams).
When you try to work with multiple nodes (Objects).

This script is free.

Installation:

Drag/Drop it on 3ds max viewport or run it via 'Max Script-> Run Script...'.
Go to "Customize User Interface", in 'Category' select 'Custom', there will be 'Texel Density Tool' assing a hotkey for it or drop it on your custom toolbar.

A short video showing this process:
https://youtu.be/23mGM_u5Anw

Additional Info: 

Additional credits:
In the core of this script I've used "UV Normalizer" which was made by Manu Pratap ([email protected]).

Here is the link to it: http://www.scriptspot.com/3ds-max/scripts/uv-normalizer

AttachmentSize
texeldenstool.jpg76.71 KB
texeldensitytool.ms19.24 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
FishMan's picture

I tested it on 2024.2.1 It

I tested it on 2024.2.1
It works perfectly fine.

Please describe what is the issue and what you were expecting.

FishMan's picture

Please when you do posts like

Please when you do posts like these - describe what's the actuall issue. "Doesn't seem to work" can have millions of meanings.

meteorkid's picture

Doesnt work with 2024

Doesn't seem to work with 3dsmax 2024.2. If anyone could update this would be much appreciated.

mdenton512's picture

Not working Correctly

When I run the texel set function my UVs don't shrink cleanly. They all end up overlapped over each other. Is this a new bug? I'm using Max 2020.

I tried doing a Reset XForm and it didn't help. I hit it multiple times and it wasn't shrinking more so it's not that issue.

AttachmentSize
uvsbefore.png 61.16 KB
uvsafter.png 58.58 KB
FishMan's picture

Problem with monitor space.

Hey guys there can be a problem if you change your second or third monitor. The problem is - script remember the position of the window.

But it not takes in a consideration that this space can no longer exist, because it remember the coordinates.

And those coordinates can be too big for your current hardware setup (if you change it for example because of the Work from home thing).

Solution is simple. Every time script closing, it saying where it saving all the stuff in listener. Like this:

Open this directory. Close max. And delete ini file. Then start max again. 

AttachmentSize
shot_200421_211223.png 27.04 KB
sampei's picture

2020.3 here, works perfectly

2020.3 here, works perfectly thanks

FishMan's picture

RE(2):Doesn't work on 3ds max 2020.3

Checked on my side on 2020.3 everything works as it should do.

Could you please describe your problem?

AttachmentSize
shot_200205_143003.png 24.81 KB
FishMan's picture

RE: Doesn't work on 3ds max 2020.3

Thanks. I'll check it.

Also. Could you tell me what exactly happening when you trying to launch it?

CTLN7's picture

Doesn't work on 3ds max 2020.3

After i updated max to the 2020.3 update, it doesn't run the script anymore.

FishMan's picture

RE: Bug with splines converted to editable poly

Can you send me this?
Also which max u're using?

Here I did it on my side:
https://i.imgur.com/gH46eVe.png

Also sometimes there is a problem with UV's. It is some kind of 3ds max bug, when default UV's are bad for some reason (I think it can't figure area correctly for that shell and I don't know how to fix that yet. I might need to make my own algorithm to calculate area).

Here's how you can understand that UV's have some sort of a problem - If you select and press "set" button multiple times and every time you press the button your shell become smaller and smaller - that's mean that this shell is "broken". You need to redo it, for example apply "Flatten Mapping". After you do it - it should solve the problem.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.