Klunk1
@klunk1
New Member
Joined: Feb 14, 2024
Topics: 34 / Replies: 650
Reply
RE: Plugin implementing TriMesh?

when you say “plugin” are referring to mxs or the sdk ?

11 years ago
Forum
Reply
RE: Horizontal Branching Help

i do my branching in the following way tm = matrixFromNormal prevdir; — dir of the branch we are growing off tm.translation = branchpos; — po…

11 years ago
Forum
Reply
RE: expanding file paths using .Net

if you have access to the sdk you can check for yourself as the source code can be found in maxsdk\samples\maxscript\mxsdotnet\ if you have visual stu…

11 years ago
Forum
Reply
RE: how to count polygones in selection ?

null in mxs is just another undeclared varible and always returns undefined. We only need “true” statement here ei. (isProperty $ #mesh) but that’s …

11 years ago
Forum
Reply
RE: how to count polygones in selection ?

null or false seams to work this same. eh ? IsProperty returns true or false and null is not the same as false ! try the following in the listene…

11 years ago
Forum
Reply
RE: how to count polygones in selection ?

shouldn’t that read false not null ?

11 years ago
Forum
Reply
RE: SDK: SimpleObject::Display no longer called when modifiers present

yeah I tried it on one of mine, I have a quad cloud generator which inherits from simpleobject2 and uses several differing emitters which I handle wi…

11 years ago
Forum
Reply
RE: SDK: SimpleObject::Display no longer called when modifiers present

I think you’ll need to implement your polyline draw in the virtual int BaseObject::Display ( TimeValue t, INode * inode, ViewExp * vpt, int…

11 years ago
Forum
Reply
Reply
RE: Get edge using connected verts?

(polyop.getEdgesUsingVert $ v1) * (polyop.getEdgesUsingVert $ v2) will return a bitarray with the shared edge. the “*” operator basically performs a …

11 years ago
Forum
Reply
RE: Useful mxs sdk extension functions

no idea, the spline accessing code is boiler plate stuff ripped straight from avg_DLX.cpp from the mxsagni project in the samples.

11 years ago
Forum
Reply
RE: Loop through elements?

recursion and a function argument is an elegant solution… for an editable poly something like… ( smg = 1 fn setElementSmoothGroup pobj face…

11 years ago
Forum
Reply
RE: UVW Unwrap unknown Error

here’s the mesh building script with some more UV options and a picture quad. Also the overall size is based on the frame interior eddge/picture size …

11 years ago
Forum
Reply
RE: UVW Unwrap unknown Error

this is how you may handle it as script only creation… fn lerp a b s = (a + s * (b – a)) — sets edge vis fn mxssetedgevisflags m face fla…

11 years ago
Forum
Reply
RE: UVW Unwrap unknown Error

Hey thanks for the responses, I’m looking at the code and I get that you’re changing the coordinates, but I’ve never really worked with meshes. I’v…

11 years ago
Forum
Page 4 / 46