wanted: Script to display UV seam on mesh without having to put an unwrap modfiier
Just display the UV seam (thick display) on poly mesh without the need for an unwrap modifier.
-need the ability see the seam easily so I can rotate problem areas away from viewable area.
thanks
By
Comments (15)
Comment policy
.
Miauu, you're very skilled. One day, I will have to buy all your script packs.
I don't think your reply was for me, but in case it was, then I wasn't asking if it was possible to see the seems while working on the mesh (even though its a very useful feature).
I was rather wondering if there was a way to see the corresponding UV when you are selecting polys on a mesh. I don't know if you are aware of the way Maya works. You can work on UVs and poly meshes parallel.
Currently, I have to add a Unwrap modifier, select the faces I need to select, collapse and have them selected in the physical mesh.
.
Thank you.
Can you give a link to video where I can see what you mean?
What are the advantages of the workflow that you have described?
.
Unfortunately I couldn't find any video that shows exactly what I said, but I could try to explain the benefits.
Basically, it is like the UVWUnwrap, but in maya, you are still in Edit Poly. In other words, you can physically modify a mesh while seeing the UV.
In max, you cannot do both. Each time when you need to see the UV, you will have to add an Unwrap UV. Then you collapse, continue
Imagine the ability to have an open UV Editor plus the regular mesh tools.
A wild idea is that you have a popup window, which actually is a viewport with an isolated reference object that is "physically unwrapped" (you know, like in the old days when you did physically cut the object, put a planar map on it and then morph it back to the original shape).
This could be a hack, allowing you to see the "UV" while still able to edit the mesh.
Or that was maybe way too crazy? :-/
Really cool script!
Something else I have been wondering about is to see the UV like in maya, in other words, without having a unwrap modifier on it, allowing one to see the uv's in edit poly mode.
Is that doable in max?
.
Watch:
EasyPeel_01
EasyPeel_02
EasyPeel_03
Here is a script that might be useful. Haven't tested too much, but it seems to work, although it's slow.
There is room for optimization and improvements so I hope someone can get their hands on it.
Hope someone find it useful.
That's it!!
nice job, I didn't notice any slow down on my machine?
Thanks :)
The only thing i would suggest to have is an automatic update. When i tweak the mesh I need to click the 'update' button, it should update on its own and loose the update button all together.
Still just like that it's very workable for what i wanted it to do.
Here is a start. Just fiddle around and collect the tVerts and assign those point3 values to the gw.Polyline and you have yourself a display.
delete objects
myBox = box width:10 height:10 length:10 pos:[0,0,50] wirecolor:blue
convertToPoly myBox
unRegisterRedrawViewsCallback showObjectNames
fn showObjectNames = if (gw.wTransPoint [0,0,0]) != undefined do
(
gw.setTransform (Matrix3 1)
gw.setColor #line green
-- gw.polyLine #([5,5,5],[10,10,10],[50,50,50]) true
for o in objects where classof o == Editable_Poly do
(
vertsPts = for i = 1 to o.numVerts collect polyop.getVert o i
gw.polyLine vertsPts true
)
-- Update the viewports
gw.enlargeUpdateRect #whole
gw.updateScreen()
)
registerRedrawViewsCallback showObjectNames
forceCompleteRedraw()
its a start...
...finding a need for this more and more, anyone willing to give it a whirl?
much appreciated
I would like a visual display of the uv seams on the poly mesh(highlighted edges, same as when you're in unwrap>configure>display: Map Seams)
If you could control the thickness of the highlighted edges and make it a toggle, on/off UV seam display.
yes, but there are multiple ways this could be handled.. so please elaborate on the last paragraph, how you'd like to work with it, from a to z, in order to display them
As an example,
In the game industry(where I work) there is alot of use of primitive type shapes and objects spheres, tubes, etc.
In most cases I would like to have the UV seam in a specific spot, away from the player view etc.
So, if I have a tube and need to know where that uv seam is I have to an unwrap modifier on it to see the seam highlighted, then go back to poly or delete the unwrap so i can then rotate or adjust the mesh.
I would just like to be able to have a toggle to see uv seams visible(highlighted) on poly meshes without having to use an unwrap modifier. An option to thicken visible highlighted seam would also be beneficial.
Much Appreciated,
Jeff
well then let's approach this from a UX point, and let me know what your preferred workflow for this would be.
anyone care to take a crack at it?
- already a couple times this week alone it would have been helpful
thx