aaandres
@aaandres
New Member
Joined: Feb 14, 2024
Topics: 52 / Replies: 726
Reply
RE: Improve speed of "Create box()"

Patan77: C# version boxes with UVs: with UV: (n 15 time: 0.008sec Mem: 432L | n 50 time: 0.513sec Mem: 432L) 0.513sec for n=50? Don’t you mean n…

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

Patan77: This is very interesting, (think when you pasted the code to cgs some stuff got messed up with the code, I get plenty of compile errors), …

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

You win! :bowdown: I get about 6 sec for 25 teapots… and I haven’t included yet map coords. So I give up.

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

Tomorrow I’ll share a new version for any primitive… I get 1,25 sec. for n=15 teapots.

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

A little more… pure C#: ( fn compileCString = ( SuperCubeClassName = “PathScripts.SuperCube” classStr = ( ” using System; using Autodes…

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

Wow! :applause: So from your initial 10sec you have now 0.073sec… +137% speed!!! That’s a great job. Congratulations. I know nothing about particles…

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

Perhaps you should try building mesh from scratch: timeStart = timestamp() — Verts: theElementVerts = #([-0.5,-0.5,-0.5], [0.5,-0.5,-0.5], [-0….

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

If Patrik is interested, here’s the function I’ve used to compare: fn customAttach nodes = ( fn qsfn v1 v2 = v1.numVerts – v2.numVerts qSor…

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

I’ve tryed the ‘canonical’ and the result is the same, possibly because all meshes are boxes with the same number of verts. The only improvements I’ve…

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

Search for ‘Fast attach’ in this forum. Possibly you have a performance problem in the attach command.

9 years ago
Forum
Reply
RE: Collect unique arrays/compound values?

Probably I’m wrong, but for further checks of new items, you need to have an updated array of used hash values. Using findItem + append gives me the s…

9 years ago
Forum
Reply
RE: Collect unique arrays/compound values?

It’s incredibly fast! dataList = #( #(1, true, 1, 1, 1, false, false, false, false, false, true, true, 0, false, false, 1), #(1, true, 1, 1, …

9 years ago
Forum
Reply
Reply
RE: Replace "Render button/max quick render" sequence with custom function?

Hi Kevin. You are making me work! I was working in 3dsMax Design 2014. I confirm this is the (bad) behavior. Now, trying in 3dsMax 2016, I see this …

9 years ago
Forum
Reply
RE: Replace "Render button/max quick render" sequence with custom function?

I’ve done some tests again and I’ve found a few things that may be interesting, 1/ When you do: L1 = copy src; L1.name = “L1”; L1.shadowGenerator = (A…

9 years ago
Forum
Page 22 / 52