Gravey
@gravey
New Member
Joined: Feb 14, 2024
Topics: 51 / Replies: 575
Reply
RE: GetDirectories bug?How to fix?

batchrender: print (getDirectories (@“C:\bug”+”\.”)) it is not a bug. it doesn’t match because you have a dot in your matching pattern and there …

5 years ago
Forum
Reply
RE: Order Vertex neighbors

i’m sure there was an old nvidia program to calculate the an optimal triangle strip rendering a given closed mesh in directx or opengl. can’t find it…

5 years ago
Forum
Reply
RE: Need help 🆘 On Finding the Way to " Rollout Return/Broadcast the Event Handle into others ,but they are independent"

i think this is what you want ( rollout MainChild “Main Child” width:200 height:200 ( fn OnMainMoved pos = ( setDialogPos MainChild (pos + […

5 years ago
Forum
Reply
RE: Using .NET BackgroundWorker with MAXscript

Ok so we’re back to performance then. Is it actually worth it? Do you have comparison numbers with what your trying to do?

6 years ago
Forum
Reply
RE: Using .NET BackgroundWorker with MAXscript

Looks like I CAN modify object within BackgroundWorker well there you go! i completely forgot about the CSharpUtilities.SynchronizingBackgroundWork…

6 years ago
Forum
Reply
RE: Using .NET BackgroundWorker with MAXscript

you can not modify max objects on a background worker thread but you can use multithreading for non-max related things. for example, i made a tool to …

6 years ago
Forum
Reply
RE: Reset or reload max script?

fileIn ( getSourceFilename() ) EDIT: i am presuming your script has some kind of destroyDialog call at the top like most of mine do. otherwise you wi…

6 years ago
Forum
Reply
RE: Querying Vray License info

nothing to detect license availability that i know of. re: “output_on” i don’t think you need a license to read/write the settings via maxscript but …

7 years ago
Forum
Reply
RE: Malicious maxscript

you would probably have to use something like Sandboxie when opening a file from an unknown or untrusted source.

7 years ago
Forum
Reply
RE: dotnet.addEventHandler not works in Structs in 3ds Max 2019.

Does it work in other versions of max? I am still using 2015 for the moment and it doesn’t work either. The workaround in my case was to move the eve…

7 years ago
Forum
Reply
RE: .NET: GetCOREInterface returns incorrect interface?

First thing I would do would be use ILSpy to check the implementation. Based on what you’ve said it sounds like there’s some kind of caching going on …

8 years ago
Forum
Reply
RE: Unique Sessions IDs for 3dsmax

You were close: (dotnetclass “System.Diagnostics.Process”).GetCurrentProcess()

8 years ago
Forum
Reply
RE: List of objects merged

i would go for the finditem method over the inode handle or at the least check all scene nodes and find the maximum value first. IIRC the max value is…

11 years ago
Forum
Reply
RE: List of objects merged

Neil have you actually tested the finditem method for performance? I doubt testing with an array of 10000 objects would take more than 1 second. EDIT…

11 years ago
Forum
Reply
RE: Nearest vertex near point

how about using MeshProjIntersect interface’s ClosestFace function and loop over that face’s verts, checking distance for each one. On a large mesh it…

11 years ago
Forum
Page 1 / 42