Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: [SDK] Register Dialog for docking

here’s my sdk version of meshtocode which i did specifically to create a dockable toolbar #include “pgTools.h” //#include “types.h” #include MAXSCRIP…

6 years ago
Forum
Reply
RE: How to generate quads meshes?

plugin simpleObject simplequad name:”quad” classID:#(0x680719e7, 0x127ffe63) category:”Scripted” ( parameters main rollout:params ( width typ…

6 years ago
Forum
Reply
RE: How to generate quads meshes?

create 2 triangles side by side and hide the intervening edges and voila a quad.

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

a_bits = #{1..24} b_bits = #{6..9} c_bits = #{25..128} d_bits = a_bits * b_bits — and bitarrays e_bits = a_bits – b_bits — subtract f_bits = e_bit…

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

are finding stuff like vert or face indices ? if you are then using bitarrays does this stuff far far faster and effieciently.

6 years ago
Forum
Reply
RE: [SDK] Vertex Colors, how to create them?

mesh.setNumVertCol(4); mesh.setNumVCFaces(2); mesh.setMapVert(0, 0, Point3(0.5f, 0.5f, 0.5f)); mesh.setMapVert(0, 1, Point3(0.5f, 0.5f, 0.5f)); mesh….

6 years ago
Forum
Reply
RE: [SDK] ResumeEditing() Can we guess the set of notifications?

then i imagine it probably calls a stack iterator which probably calls ->ModifyObject() for the resume function not sure what it would call on the …

6 years ago
Forum
Reply
RE: [SDK] ResumeEditing() Can we guess the set of notifications?

put your own modifier in the stack run it under the debugger or have it print to the listener what messages it receives when you call SuspendEditing/R…

6 years ago
Forum
Reply
RE: Buildmesh handler keeps being called when nothing changed

Henjin: is there a way to figure out what triggers the handler? for us not without seeing your code.

6 years ago
Forum
Reply
RE: Snapshot without destroying edge-index order

seems to be an issue with snapshot conversion to mesh from poly… tmpCylA = Cylinder radius:5 sides:5 height:15 heightsegs:1 pos:[0,0,0] isSelected:on…

7 years ago
Forum
Reply
RE: Snapshot without destroying edge-index order

it’s to do with how a cylinder is converted to a mesh or a poly… when converting to poly the vert in the center of the cap is removed but when convert…

7 years ago
Forum
Reply
RE: [SDK] network / workstation rendering mode

yeah I still use the old 2010 chm reference as it’s far faster, easier to use, better laid out and convenient than the dreadful online crap AD dish ou…

7 years ago
Forum
Reply
7 years ago
Forum
Reply
RE: [SDK] network / workstation rendering mode

have a look at listjobs.cpp and jobassign.cpp in the netrender folder of the sdk should have some pointers in there on the howtos…

7 years ago
Forum
Reply
RE: Is there a way to save the undo buffer?

just save the scene before you start the process, simples autosavedir = ((GetDir #scene) + “/AutoSave”) if not doesfileExist autosavedir then makeDi…

7 years ago
Forum
Page 22 / 85