Gravey
@gravey
New Member
Joined: Feb 14, 2024
Topics: 51 / Replies: 575
Reply
RE: loop through all slots in material

this should do what you want for any material type fn CleanMaterial mat = ( for i = 1 to getNumSubMtls mat do ( subMat = getSubMtl mat i …

15 years ago
Forum
Reply
RE: deleting a category

delete the macroscript file. restart max

15 years ago
Forum
Reply
RE: How <bitmap>.hasAlpha works?

bm1 bitmap 256 256 filename:”C:\Alpha.tga” means that you are creating a new bitmap which would be saved to the file: C:\Alpha.tga IF you wrote: sa…

15 years ago
Forum
Reply
RE: Convex Hull Script

too bad its an encrypted script, I would love to learn about the algorithm to make this work

15 years ago
Forum
Reply
RE: Dotnet: Updating a UI control from a different thread

i believe you’re looking for: <Control>.BeginInvoke() MSDN has an example: EDIT: or maybe <Control>.Invoke() MSDN example:

15 years ago
Forum
Reply
RE: Double Clicking…

DaveWortley: Lol, to confirm… I want double click and right click options…. well like I said before, I couldn’t get the double click to work w…

15 years ago
Forum
Reply
RE: Double Clicking…

can’t get it to work for a button either but it does work for a PictureBox EDIT: I just re-read your post – you say you want a single click AND doubl…

15 years ago
Forum
Reply
RE: Help finding 3dsMax default installation and Bit version

after googling “c# get file associations” and poking around i found this nice dll at codeproject download the dll and then getting the path to the 3d…

15 years ago
Forum
Reply
15 years ago
Forum
Reply
RE: How create a external File?

PEN: if you’re interested in speed, my guess would be that formatting everything to a stringstream and then formatting the resulting stringstream t…

15 years ago
Forum
Reply
RE: translating c++ function into maxscript gives different results.

ok so my next guess is that cam->GetFOV(t) returns the vertical FOV where as cam.fov in maxscript returns the horizontal fov. to get the vertical F…

15 years ago
Forum
Reply
RE: translating c++ function into maxscript gives different results.

I am not really familiar with the sdk but from the looks of your code I am guessing that cam->GetFOV(t) returns the angle in radians which is why y…

15 years ago
Forum
Reply
RE: Polygon Triangulation

ah yes my bad. I don’t think its possible to access the ‘hidden’ edges in an editable poly so I’d use Denis’ mesh based function instead. What do you…

15 years ago
Forum
Reply
RE: Polygon Triangulation

check all of them! this should to the trick: fn GetHiddenEdges poly faces = ( edges = polyop.getEdgesUsingFace poly faces for i in edges where poly…

15 years ago
Forum
Page 12 / 42