HalfVector
@halfvector
New Member
Joined: Feb 15, 2024
Topics: 3 / Replies: 189
Reply
RE: Pause script, till radiosity complete?

Hi. I’ve tried with this script: fn fnDoSomething = ( callbacks.removeScripts #radiosityProcessDone id:#radiosityDone messageBox “Radiosity Proces…

19 years ago
Forum
Reply
RE: Pause script, till radiosity complete?

Hi. The only thing I can see is wrong is the line: callbacks.removescripts #radiosityProcessDone “” id:#radiositydone callbacks.removeScripts recei…

19 years ago
Forum
Reply
RE: Trouble getting vertex normals

I’ll try that, thank you very much.

19 years ago
Forum
Reply
RE: Trouble getting vertex normals

Bobo: Of course, you could calculate the vertex normal from the adjacent faces’ normals using the smoothing groups yourself. Yeah, that’s exactly…

19 years ago
Forum
Topic
Forum
Replies: 4
Views: 51
Reply
RE: Scale Selected polys Editable poly?

To get the center of the current selection would be: selection.center HalfVector. PS: ok, I think you mean the center of the current selection of f…

19 years ago
Forum
Reply
RE: search a command .

If you want to select all the nodes in your scene do: select $* If you want to collect all nodes in your scene do: for o in $* collect o HalfVecto…

19 years ago
Forum
Reply
RE: Force file path, even on error?

I guess this is what you need (or something similar): thePath = getFilenamePath mEditMaterials[1].maps[2].fileName theFileName = getFilenameFile mEdi…

19 years ago
Forum
Reply
RE: how I get diference between to arrays?

Looking the MAXScript reference, the only overloaded operators for arrays are the index and the addition operator so no trace of the subtract operator…

19 years ago
Forum
Reply
RE: A layer question

Imagine you have a box named “Box01”. And this box is in the default layer “0”. To get the layer where the box is in, you should call the function I w…

19 years ago
Forum
Reply
RE: A layer question

If I’ve understood correctly what you want is a way to get the layer where a node is in, right?. If so… fn getNodeLayer node = ( local nLayer = 0 …

19 years ago
Forum
Reply
RE: help finding an object's height??

You are right, the code will only return the correct height of objects whose pivot points are on their base. So I’ve modified the function: fn getLoc…

19 years ago
Forum
Reply
RE: help finding an object's height??

Hi. I want to revise something about the second method I proposed to point out an obvious optimization. You can precalculate the inverse of the trans…

19 years ago
Forum
Reply
19 years ago
Forum
Reply
RE: help finding an object's height??

Hi. Right now I can think of two ways to calculate the local height of an object. First method: fn getHeight node = ( oldTransform = node.transfo…

19 years ago
Forum
Page 12 / 13