Moosley
@moosley
New Member
Joined: Feb 15, 2024
Topics: 13 / Replies: 90
Reply
RE: I Need a Script to Create a Star field

Copy the following into a new script. When you run the script you simple pick an object from the scene and it will be filled with 100 ‘stars’. If yo…

19 years ago
Forum
Reply
RE: Write own material(maxscript or c++)?

You could use mix materials which lets you mix two materials together using an another material as the alpha…

19 years ago
Forum
Reply
RE: Unwrap UVW Issue driving me crazy!

Just a thought, stab in the dark if you will, but do you need to turn on map support and adding some map verts for channel 2 before adding the modifie…

19 years ago
Forum
Reply
RE: on mouse click function? or on selection?

try this: global theObject, clickno global pickedFaces = #() theObject = selection[1] clickno = 0 fn pickFaces msg ir obj faceNum sh…

19 years ago
Forum
Reply
RE: on mouse click function? or on selection?

I would sugesst taking a look at the polygon counter macroscript (in the UI/MacroScipts folder). You can extend the displayed text to include: ((($.s…

19 years ago
Forum
Reply
RE: Scripting an Edit poly Psuedo Booleen

Perhaps getting all the verts from the edges at the bottom of your building as an array, then looping through each one, raycasting in the -z direction…

19 years ago
Forum
Reply
RE: Select objects through loop??

or this output_file = createfile (“c:\dummys.txt”) –output to path for h in helpers where matchPattern h.name pattern:”Dummy*” do format “…

19 years ago
Forum
Reply
20 years ago
Forum
Reply
RE: toggle a script on and off

macroScript LightTools category:”Light Tools” toolTip:”Turn all lights on/off” icon:#(“Lights”,3) ( lightsOn = true on…

20 years ago
Forum
Reply
RE: Help: Finding the vertex order for a polygon in editable mesh

Hi! If you can, try converting the objects to Poly, then you can use: polyop.getFaceVerts <Poly poly> <int face> which will return an a…

20 years ago
Forum
Reply
RE: Split Loop request

Have you tried using the slice plane tools? also here:

20 years ago
Forum
Reply
RE: Processing arrays in mesh SO mode.

Yeah, I can’t stand the flickers either, but it’s MUCH faster than waiting for the verts to process in SO mode…

20 years ago
Forum
Reply
RE: Processing arrays in mesh SO mode.

Editable_Poly is much much faster at processing the verts when in SO mode… Ah well. I’ve bunged in a workaround involving setting subobjectlevel = 0 …

20 years ago
Forum
Reply
RE: Processing arrays in mesh SO mode.

Here’s the code, in this version it loops from 1 to the number of map verts rather than a bitarray: arr1 = #(“r”,”g”,”b”) arr2 = #(1,2,3) …

20 years ago
Forum
Reply
RE: Processing arrays in mesh SO mode.

The loop is through a bitarray at the moment, though the speed difference is not noticable, we’re talking a few seconds for Editable_Mesh sub-object m…

20 years ago
Forum
Page 6 / 7