Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: Creating objects internally

if you want to create it from scratch you can use… msh = TriMesh(); creates a mesh with zero verts and zero faces

6 years ago
Forum
Reply
RE: Memory leak when creating faces in Editable Poly?

if you can do it in editable mesh, editable poly is extremely flakey and cannot be trusted.

6 years ago
Forum
Reply
RE: Skip "enter" value in readchar()

i’d be inclined to read it in a line by line way fn filetostring fname = ( fstream = openFile fname mode:”rt”; fstr = undefined; if fstream != und…

6 years ago
Forum
Reply
RE: How to dynamically change the number of modifier parameter blocks for each object?

use data types TYPE_FLOAT_TAB or TYPE_INT_TAB, for variable length data storage. You can then use the TYPE_INTLISTBOX or TYPE_FLOATLISTBOX as the UI …

6 years ago
Forum
Reply
RE: [SDK] pblock from HWND

as far as I can see there’s no way of finding what HWND relates to a IParamBlock and visa versa.

6 years ago
Forum
Reply
RE: Linker error LNK1104 when trying to compile a .dlu plugin

just for clarification is this your own plugins or a sample from the max sdk ?

6 years ago
Forum
Reply
RE: [SDK] pblock from HWND

they wouldn’t have IParamblock2’s either

6 years ago
Forum
Reply
RE: [SDK] pblock from HWND

i was thinking along the lines of DllDir& dlldir = ip->GetDllDir( ); ClassDirectory& cd = dlldir.ClassDir() ; for(int i = 0; i < cd.Co…

6 years ago
Forum
Reply
RE: [SDK] pblock from HWND

alternatively you could iterate through the all ClassDesc and see if they are being edited if so get the IParamMap2 from that Class and test the HWND…

6 years ago
Forum
Reply
RE: [SDK] pblock from HWND

ivanisavich: or the parent HWND might make the solution a little easier… if you find the parent IRollupWindow HWND you can compare it to pblock-&…

6 years ago
Forum
Reply
RE: [SDK] pblock from HWND

it’s ok if it conveniently solved the problem what like killing your landlord so you don’t have to pay the rent ?

6 years ago
Forum
Reply
RE: [SDK] pblock from HWND

looks more like mxs to me

6 years ago
Forum
Reply
RE: [SDK] pblock from HWND

all the ui with edit area or text can be edited by this way if your in the sdk and you want to edit the spinner you’d do it like so… ISpinnerContro…

6 years ago
Forum
Reply
RE: Order Vertex neighbors

whats adjacent order ?

6 years ago
Forum
Reply
RE: Order Vertex neighbors

what’s in “order” ? i.e. what constitutes the first neighbour ? and the next ? and so on

6 years ago
Forum
Page 17 / 85