HalfVector
@halfvector
New Member
Joined: Feb 15, 2024
Topics: 3 / Replies: 189
Reply
RE: A few basic script questions…

Should look like this: format “model \”root\” \”%\” ” string_LC_BodyModel to:outputFile

19 years ago
Forum
Reply
RE: setting properties for an object

I think the property is VRay_GI_Receive. But receives a boolean and not a float…

19 years ago
Forum
Reply
RE: dividing polygon edge by verts.

I don’t know MeshTools and I don’t know if this is the best way to do that, but… try ( destroyDialog roDivideEdge ) catch () rollout roDivideEdge “D…

19 years ago
Forum
Reply
RE: Is object in shadow?

There’s another problem with the raycasting method. If the geometry is not enough tessellated, you could be missing shadows. Imagine a big cube built…

19 years ago
Forum
Reply
RE: Is object in shadow?

I think there’s no easy way no know that. In fact the only way I can think of to know if an object is exactly in shadow or not is casting rays from t…

19 years ago
Forum
Reply
RE: Finally abandoned the maxScript editor

I forgot to mention that I edited the maxscript7.reg file that comes with the mxscom distribution. This is the final content: REGEDIT ;;;;;;;;;;;;;;…

19 years ago
Forum
Reply
RE: Finally abandoned the maxScript editor

MAXScript syntax coloring comes with the Crimson Editor installation. PEN: Has any one had any luck using crimsom editor with Max and the com …

19 years ago
Forum
Reply
RE: Adding to a TreeView ActiveX Control

Hi. I don’t know if you’ve seen this but in the MAXScript reference, under the section dedicated to the TreeView ActiveX Control, at the bottom of th…

19 years ago
Forum
Reply
RE: Scalematrix() ?

It’s exactly the same thing, fill the main diagonal of a matrix with the scale factors. Just as the transMatrix function does (fill the row4 with the …

19 years ago
Forum
Reply
RE: How to "update" pos when selecting new object?

You can use the callback mechanism of MAX to know when the selection changes. To do that, you have to register a callback function where you’ll handle…

19 years ago
Forum
Reply
RE: How can I check the existance of SelectionSets?

Try this function: fn deleteSelectionSet selSetName = ( if selectionSets[selSetName] != undefined do ( deleteItem selectionSets selSetName retur…

19 years ago
Forum
Reply
RE: Selection modifyer based on surface normal?

I’ve introduced another variable so now you can specify the start and end values for the angle range. fn selectUpFaces polyObj start end = ( — Arra…

19 years ago
Forum
Reply
RE: Selection modifyer based on surface normal?

Hi. This function selects the faces pointing up with some angle variation: fn selectUpFaces polyObj range = ( — Array where the faces will be stor…

19 years ago
Forum
Reply
RE: Exporting vertex data from Cloth modifier

If I’ve understood correctly, what you want is export the geometry data for each frame so later, in a vertex shader, you can do vertex tweening to rep…

19 years ago
Forum
Reply
RE: get if a material in the medit is assigned to an objects or not

Hi. I don’t know if exists a better way to do it but you could try this: fn mtlExistsInScene mtl = ( for obj in objects do ( if mtl == obj.materi…

19 years ago
Forum
Page 9 / 13