denisT
@denist
New Member
Joined: Feb 14, 2024
Topics: 218 / Replies: 11426
Topic
Forum
Replies: 10
Views: 47
Reply
2 years ago
Forum
Reply
RE: Align UV script optimizations

and finally: fn shiftPolyMapAllElements node ch:1 = ( local faces = #{1..node.numfaces} local numtverts = polyop.getnummapverts node ch local ver…

2 years ago
Forum
Reply
RE: Align UV script optimizations

Thanks! I will try to make this UV shift thing based on fast element search using only MXS… the same I do in my cpp code

2 years ago
Forum
Reply
RE: Align UV script optimizations

Serejah, do you remember that MXS algorithm to find all mesh geom elements? You already found it once on this forum…

2 years ago
Forum
Reply
RE: Align UV script optimizations

I think that is possible to make pure MXS version which can do the job for about 40-60 sec

2 years ago
Forum
Reply
RE: Align UV script optimizations

walls are 137464 elements… what I found

2 years ago
Forum
Reply
RE: Align UV script optimizations

king-david: Here is an example file. Katwijk.max (25.9 MB) I’ve made the test – do all using c++ : roofs : CPP SDK elements:22610 time:205 wall…

2 years ago
Forum
Reply
RE: Align UV script optimizations

It’s easy not to use a snapshot for a mesh, as well as any conversion to mesh geometry at all. I do this in order to use the methods of meshop mapface…

2 years ago
Forum
Reply
RE: Align UV script optimizations

Could you post an example of the scene you usually work with? (preferably MAX 2020 version). I need to see the type of data you have. How best to opti…

2 years ago
Forum
Reply
RE: Align UV script optimizations

fn getMapElements node channel:1 = if iskindof node Editable_Poly or iskindof node.baseobject Editable_Poly do ( if polyop.getmapsupport node channel…

2 years ago
Forum
Reply
RE: Align UV script optimizations

denisT: there is a thread on this forum about how best to find mesh geometry elements. I remember Serejah already found this topic once Thanks …

2 years ago
Forum
Reply
RE: Align UV script optimizations

Do I understand correctly that you want to align the bottom-left corner of the UV cluster’s bounding box to [0,0]? … and to specify the uv cluster by…

2 years ago
Forum
Reply
RE: Align UV script optimizations

I just want to say that what you are doing (code above) is pretty reasonable, but the built-in methods and their representation in MXS is not very goo…

2 years ago
Forum
Reply
RE: Align UV script optimizations

I haven’t touched Unwrap UVW for a long time, but I remember that they “drastically improved” something about it, and the performance numbers I see fo…

2 years ago
Forum
Page 12 / 777