Patan77
@patan77
New Member
Joined: Feb 15, 2024
Topics: 41 / Replies: 119
Reply
RE: Making boxes in a line with random width problem

fn fn_boxRow = ( delete objects local b local k = 0 local rng local pos = [0,0,0] local obj = #() for i = 1 to 10 do ( rng = (random 4 10) …

8 years ago
Forum
Reply
RE: Improve speed of "Create box()"

Well I didn’t spend much time writing that script, its just a test not final code, here is another version without the (objects as array, )its still a…

8 years ago
Forum
Reply
RE: Improve speed of "Create box()"

thx definitely useful info

8 years ago
Forum
Reply
RE: Improve speed of "Create box()"

Trying going about it from another angle by using pflow scripting instead with n 15 3375boxes random size I got it down to (0.062 sec) Time: 0.056 s…

8 years ago
Forum
Reply
RE: Improve speed of "Create box()"

Ok, this is what I came up with (recursive attach script) : 3375 objects 0.45sec instead of 9.5sec so that’s much faster fn quickAttachRec inArr = (…

8 years ago
Forum
Reply
RE: Improve speed of "Create box()"

sure if I add converttopoly after box() its 0.7sec so then its slower then instance, but if I have polyop.attach enabled and do just box() then attach…

8 years ago
Forum
Reply
RE: Improve speed of "Create box()"

Didn’t think about that, but for me instance is slower then creating box(), instance: 0.592sec vs box() 0.444sec, but still of the 10sec 9.5 is the at…

8 years ago
Forum
Reply
RE: Improve speed of "Create box()"

Thx, Yeah, but for my real script every box need to be a different size so wont work with instances.

8 years ago
Forum
Topic
Forum
Replies: 70
Views: 62
Reply
RE: Unremovable node?

Here is a bad way to do it (kind of but not really): myTeapot = teapot(); — creates an “undeletable” teapot fn check_if_sel_fn = ( deselect myTeapo…

8 years ago
Forum
Reply
RE: Read BinStream at index, and mix WriteByte WriteShort etc.

denisT: what’s wrong with bin writing/reading? f = fopen @”c:/test.bin” “wb” WriteByte f 255 WriteByte f 88 WriteShort f 777 fclose f f = fopen @”c…

8 years ago
Forum
Reply
RE: Read BinStream at index, and mix WriteByte WriteShort etc.

Thanks, the fseek works, yeah needed to be 2 for third byte counts from 0. I guess I just need to get better at reading the maxhelp…x)

8 years ago
Forum
Reply
RE: Does empty array indexes use memory?

Very interesting responses, If I try : theArray = #() theArray[1000000000] = 8 3ds max in task manager goes from 700mb to 8.5GB so yeah no good. …

8 years ago
Forum
Topic
Forum
Replies: 9
Views: 21
Page 3 / 11