SyncViewS
@syncviews
New Member
Joined: Feb 14, 2024
Topics: 20 / Replies: 280
Reply
RE: slow vertices collection

Hi Raphael, if you need to keep vertices position values for undo, you better collect them in the single for loop where you perform other tests too. Y…

16 years ago
Forum
Reply
RE: slow vertices collection

Hi Raphael, the code does extra calculations really not needed. 1: If you don’t need to store VertPositionsRaw for other calculations, there’s no nee…

16 years ago
Forum
Reply
RE: SDK help, is there anything up to date?

Hi losbellos, the IntervalArray example in 3dsMax SDK Help is broken, as stated by its author Chris Johnson in this thread because of transcription to…

16 years ago
Forum
Reply
RE: Define plane from normal vector

Hi Rorschach, if you need 3 generic points on the plane defined by position and normal vector, you can use the matrixFromNormal MaxScript function. Th…

16 years ago
Forum
Reply
RE: which facets are visible?

Here they are. I just uploaded a new version of both functions. They’ve been revised and should work in every situation with Polys and Meshes, in Pers…

16 years ago
Forum
Reply
RE: which facets are visible?

Hi Uri, my last function doesn’t work right in ortho views, I’m fixing it right now, but I’ve got strange results when I tried it on an Editable Poly …

16 years ago
Forum
Reply
RE: which facets are visible?

Hi Uri, if you’re working with Editable Poly, face normals aren’t always obvious since polys are made of tri faces and the poly normal is the average …

16 years ago
Forum
Reply
RE: which facets are visible?

Hi Uri, I just corrected a bug in the old function and added a new one that checks normals and face centers occlusion only, for Editable Poly and Mesh…

16 years ago
Forum
Reply
RE: which facets are visible?

Hey Uri, are you in a hurry? I just uploaded a better version of the function, try it, works better and slightly faster. There’s an optional paramete…

16 years ago
Forum
Reply
RE: which facets are visible?

Hi Uri, the function I posted is not perfect, it doesn’t take into account some cases. The problem you’re reporting seems to be tied to threshold accu…

16 years ago
Forum
Reply
RE: which facets are visible?

Hi Uri, I just finished to write the whole function. It takes into account face direction and occlusion. It’s still a bit messy, not fast, and not com…

16 years ago
Forum
Reply
RE: which facets are visible?

Hi Uri and welcome, here is a function to just look for faces orientation, it doesn’t consider occlusion, but it’s a starting point. It works with Edi…

16 years ago
Forum
Reply
RE: Long arrays display truncated

As was mentioned in this previous thread, you can use the context with printAllElements on ( format “Array: % ” myArray ) Enrico

16 years ago
Forum
Reply
RE: Removing Edges and Vertices

Hi harefort, I wish I could help you, but I don’t know the answer. I stumbled upon the same issue, and couldn’t solve it by scripting. When I need to …

16 years ago
Forum
Reply
RE: Removing Edges and Vertices

How do you delete verts? I usually do it with the method: ( iFlag = bit.set 0 32 true polyOp.setVertFlags EditPoly baVertToRemove iFlag mask:iFlag …

16 years ago
Forum
Page 17 / 20