Should look like this: format “model \”root\” \”%\” ” string_LC_BodyModel to:outputFile
I think the property is VRay_GI_Receive. But receives a boolean and not a float…
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…
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…
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…
I forgot to mention that I edited the maxscript7.reg file that comes with the mxscom distribution. This is the final content: REGEDIT ;;;;;;;;;;;;;;…
MAXScript syntax coloring comes with the Crimson Editor installation. PEN: Has any one had any luck using crimsom editor with Max and the com …
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…
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 …
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…
Try this function: fn deleteSelectionSet selSetName = ( if selectionSets[selSetName] != undefined do ( deleteItem selectionSets selSetName retur…
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…
Hi. This function selects the faces pointing up with some angle variation: fn selectUpFaces polyObj range = ( — Array where the faces will be stor…
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…
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…