Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: SDK IntersectRay

the mxs version works in world space the sdk routine it uses works in local object space here’s the function… and yes it is relatively slow

10 years ago
Forum
Reply
RE: graphicwindow::marker

I did implement the VertexBuffer method

10 years ago
Forum
Reply
RE: graphicwindow::marker

just adding gw->startMarkers(); and gw->endMarkers(); improved things x8 thanks for the heads up Io though the documentation is non-exist…

10 years ago
Forum
Reply
RE: graphicwindow::marker

I do most dev in 2010 as it’s the last max that allow unloading dll, whats a marker buffer ? ok seen it in epoly object. will check it out

10 years ago
Forum
Topic
Forum
Replies: 11
Views: 48
Reply
RE: SDK: Help with GW memory leaking?

that’s the trouble with bitmaps nothing is easy and always more work than you expect and boy do they eat memory !!!

10 years ago
Forum
Reply
RE: SDK: Help with GW memory leaking?

looking in the sdk the DIB function is called like this texHandle = thmaker.MakeHandle(GetVPDisplayDIB(t,thmaker,texHandleValid)); return texHandl…

10 years ago
Forum
Reply
RE: Max OLE from a console exe

word of caution, don’t run this code if max is not running… unless of course you like “white out” max or add a check to see if max is running first t…

10 years ago
Forum
Topic
Forum
Replies: 1
Views: 45
Reply
RE: Setting Scale != Scale….

gets even more bonkers $.transform = (matrix3 [1,0,0] [0,-2,0] [0,0,1] [0,0,0]) $.scale -> [-1,-2,-1] $.transform.scalepart -> [1,2,1] $.sca…

10 years ago
Forum
Reply
RE: Setting Scale != Scale….

not even the first value, if any are negative all are $.transform = (matrix3 [1,0,0] [0,-1,0] [0,0,1] [0,0,0]) $.scale -> [-1,-1,-1]

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

interestingly missing from the default meshop.turnEdges function could return the “other” edge (and hence the other face) so here’s the correction… d…

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

looking at the text prim they cache their hierarchy so not to call OrganizeCurves if they don’t have to so it maybe best to rewrite the above code to …

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

it does some kind of on the fly analysis (organisecurves function)… if a curve is entirely enclosed by another curve it’s considered it’s child.

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

discovered something new to me today… shapes have an internal hierarchy (which I don’t think is exposed to mxs… so here it is // GetChildCurves <s…

10 years ago
Forum
Page 39 / 85