jkwiatkowski
@jkwiatkowski
New Member
Joined: Feb 15, 2024
Topics: 0 / Replies: 13
Reply
RE: accessing splines in splines?

Hi, let say we have selected shape : for s = 1 to (numSplines $) do ( for k = 1 to (numKnots $ s) do ( — in example print “knot p…

15 years ago
Forum
Reply
RE: selecting and transforming lights

Yes, add some light and geometry to scene, run something like this: $TPhotometricLight01.parent = $Box01 $Box01.rotation.x_rotation += 45 Next ste…

15 years ago
Forum
Reply
RE: selecting and transforming lights

Hi, maybe linking lights/targets to some heleper/gemetry and setting its pivot/rotation will do the job. jk

15 years ago
Forum
Reply
RE: Scripting rotation of objects in maxscript

Hello, could you specify more “set the orientation of one object to match that of another (point)” – maybe I don’t get the problem… This will make b…

15 years ago
Forum
Reply
RE: Bitmap, copy Blue channel from one bitmap to another

Hi, Anyway there’s also a section ‘MAXScript FAQ > How To Make It Faster > Never get a single pixel when you can get a whole line’ in docs – r…

15 years ago
Forum
Reply
RE: Binary generator 0000001 input

Hi, In simplification you can always get representation of any number in any number system i.e binary system. So, the idea could be to generate rando…

15 years ago
Forum
Reply
RE: Find algorithm?

Hi, Maybe this will help: . jk

15 years ago
Forum
Reply
RE: a changing interface

Hello, addSubRollout and removeSubRollout methods would help you, also you can always simple eneble/disable controls when some state changes. Here i…

15 years ago
Forum
Reply
RE: how to change render imagefile squencefile prefix?

Hi, I suggest you to use some batch file rename with some external program. Also, mayby this threadwill help. I had to do something like that but it…

15 years ago
Forum
Reply
RE: Select by Polycount

Definitely right Johan. I wonder if there’s better way to get exactly quads – ( 1. convert object to EPoly ) 2. loop through all faces 3. check if fa…

15 years ago
Forum
Reply
RE: Select by Polycount

Hi, You can also use getPolygonCount <node> function – so you don’t have to convert nodes to EPoly: fn selectByPolygonCount arra…

15 years ago
Forum
Reply
RE: How to move Box to vertice with good orientation

It depends on way you “move boxes to vertices”. Also, the question is do you want to animate these vertices. If not, probably the simple solution is t…

15 years ago
Forum
Reply
RE: "addModifier $ (CameraMap CameraNode:$Camera01)" doesn't work

Something like this works fine: arr = for s in selection collect s for a in arr do ( local cam = getNodeByName “ProjectionCam” …

16 years ago
Forum