Serejah
@serejah
New Member
Joined: Feb 14, 2024
Topics: 34 / Replies: 1221
Reply
RE: Fast way to get selected face outer 'border' edges on Trimesh / Editable Mesh

(esel2 – esel1).isEmpty and (esel1 – esel2).isEmpty returns false I clearly see the difference between the two

5 years ago
Forum
Reply
RE: Fast way to get selected face outer 'border' edges on Trimesh / Editable Mesh

sure ( delete objects tri = Teapot segments:4 convertToMesh tri setFaceSelection tri #{25..40, 97..112, 153..168, 225..240, 281..296, 353..368, 391…

5 years ago
Forum
Reply
RE: Fast way to get selected face outer 'border' edges on Trimesh / Editable Mesh

it doesn’t produce the same exact result but it is indeed much more performant

5 years ago
Forum
Reply
RE: Fast way to get selected face outer 'border' edges on Trimesh / Editable Mesh

oh, so you need to fence faces tri = $ fsel = getFaceSelection tri esel = meshop.getEdgesUsingFace tri fsel meshopGetEdgesReverseEdge = meshop.getEd…

5 years ago
Forum
Reply
RE: Converting simple renderer script to max sdk plugin

so what about VertexPaint modifier, did you try it? standard 4 segment Teapot runs at about 10fps with 2 lights and shadows on (but it feels like it h…

5 years ago
Forum
Reply
RE: Converting simple renderer script to max sdk plugin

If you want to move everything then caching will be mostly useless caching functions is something that you already did with GetFaceCenter I use Share…

5 years ago
Forum
Reply
RE: Converting simple renderer script to max sdk plugin

if none of the objects are moving or animated you can cache out faceVerts, verts poisitions, faceCenters … etc here’re my numbers (nothing is cached …

5 years ago
Forum
Reply
RE: How To remove Hidden Objects for Selection Set

maybe there’s a better way of doing it for ss in selectionsets do ( selectionsets[ ss.name ] = for s in ss where not s.isHidden collect s )

5 years ago
Forum
Reply
RE: How to press the OK button in JPEG IMAGE CONTROL window?

works for 2014 max function DMONotification = ( windowHandle = DialogMonitorOPS.GetWindowHandle() if windowHandle != undefined do …

5 years ago
Forum
Reply
RE: [C#] Vertex count in sight MXS to C#. Wrong MapScreenToView in C#

yep, rows can be accessed like this here’s another way to go cam = cameras[1] cam.fovType = 1 half_x_angle = cam.curfov / 2.0 cam.fovType = 2 half_…

5 years ago
Forum
Reply
RE: [C#] Vertex count in sight MXS to C#. Wrong MapScreenToView in C#

you can probably check whether vert is in front of the camera in mxs get2DPoint function … local x = ( p.x – xMin ) / ( sX – ( xM…

5 years ago
Forum
Reply
RE: [C#] Vertex count in sight MXS to C#. Wrong MapScreenToView in C#

Didn’t check your sources yet, but here’s the possible maxscript alternative that doesn’t need MapScreenToView ( — fn get2DPoint pos yTop:true = …

5 years ago
Forum
Reply
RE: [C#] Vertex count in sight MXS to C#. Wrong MapScreenToView in C#

This is from ViewExp class изображение.png919x323 20.4 KB If you check sdk examples there’re plenty of examples how it is used. Without c# code po…

5 years ago
Forum
Reply
RE: Fast way to find/locate /delete apart of an array?

google is your everything GeeksforGeeks – 27 Nov 18 Check whether an Array is Subarray of another Array – GeeksforGeeks …

5 years ago
Forum
Page 46 / 84