miauu
@miauu
New Member
Joined: Feb 14, 2024
Topics: 122 / Replies: 1116
Reply
RE: Assign Renderer depending on kind of Material used in scene [SOLVED]

It works for me. When I set the rendererr to MentalRay and there are only standard materials in the scene the script change the rendere to Scanline an…

6 years ago
Forum
Reply
RE: Assign Renderer depending on kind of Material used in scene [SOLVED]

( mats = for m in scenematerials collect m stopLoop = false for m in scenematerials while stopLoop== false do ( matStr = m as string if ((ma…

6 years ago
Forum
Reply
RE: Use pattern with specific string

Try this: ( fn FindAndReplace str fnd rpl = ( addpos = findString str fnd if (addpos != undefined) do (replace str addpos fnd.count rpl) …

6 years ago
Forum
Reply
RE: Bounding box for an array of vertex or faces

gtafan, this is directly copied from maxscript help file: The case expression is used to select an expression to be evaluated from a set of labeled …

6 years ago
Forum
Reply
RE: NEW LOOK of this site. Do you like it?

Does anyone know how to edit a post posted few months ago?

6 years ago
Forum
Reply
RE: Another favour and snippet to run

From here you can download the produced scene saved in max 2018. It is saved for max 2015. The result is the same in Max 2019. I can check for 2016 an…

6 years ago
Forum
Reply
RE: Can someone with max 2019 run the following command for me?

Klvnk: damper.ispb2based damper.ispb2based false In the maxscript editor the command is not colored in any special way(like objects, polyop, etc….

6 years ago
Forum
Reply
RE: getFaceMatID wrong return value

gtafan: b=box() convert to editable_mes b for i=1 to b.numfaces do format “%\n” getFaceMatID b i This code: ( b=box() converttoMesh b for i…

6 years ago
Forum
Reply
RE: Add vertizes to mesh

Does your code finish with: update meshObject

6 years ago
Forum
Reply
RE: Maxscript draw custom outline in viewport

The size of the lines can’t be changed using maxscript. I don’t know if c++ will help also. To see the outlines in non active viewport – draw them usi…

6 years ago
Forum
Reply
RE: Maxscript draw custom outline in viewport

Yes. Search the maxscript help file for Viewport Drawing Methods.

6 years ago
Forum
Reply
RE: Ray Direction

After the HitPos is found check if it is in positive X axis of the object. if (HitPos * Target.transform).x > 0 then “posotive X” else “negative x…

6 years ago
Forum
Reply
RE: NEW LOOK of this site. Do you like it?

I want to report a bug with some of my first post in some of my old threads. The old formated post are not displayed properly. They looks like this: …

6 years ago
Forum
Reply
RE: Detect Whether convertToPoly "Fails"

Check the count of the faces. For example: ( spl = $Shape001 splAsPolyObj = convertToPoly spl if splAsPolyObj.numfaces != 0 t…

6 years ago
Forum
Page 28 / 83