News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Ultra Fast Rendering in Lightworks - Maybe

Started by AussieBloke, March 13, 2021, 05:36:26 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Andy H

Quote from: Darryl W on March 27, 2021, 09:30:51 PM
So give this toipic another go and just use the supplied file and test that one 1st, report your results back here so that we can present a summary of information that either supports my theory or dismisses it, and then get some definitve answers from the programmers/developers as to whats going on.

Fast and slow render zips are videos of what Im doing at my end.  ;D

Hi Darryl

Couple of questions.  Are you interested in what TC version is used.  i.e. are you just wanting a TC 2017 test. or should people state what TC version is used. (I don't have Lightworks for 2017).
Second question.   is the time,  from clicking the render icon (using a stopwatch).  or from what is reported by TC in the bottom left corner.   As the two times can differ a lot.

I tried on a few occasions to download the zip files, but keep getting a cannot download - Network error.  I can download your tcw file no problem.  And I can download other zip files from the forum.  Just not your zip ones.

Tim Stewart

Quote from: Andy H on March 28, 2021, 04:36:32 AM
Quote from: Darryl W on March 27, 2021, 09:30:51 PM
So give this toipic another go and just use the supplied file and test that one 1st, report your results back here so that we can present a summary of information that either supports my theory or dismisses it, and then get some definitve answers from the programmers/developers as to whats going on.

Fast and slow render zips are videos of what Im doing at my end.  ;D

Hi Darryl

Couple of questions.  Are you interested in what TC version is used.  i.e. are you just wanting a TC 2017 test. or should people state what TC version is used. (I don't have Lightworks for 2017).
Second question.   is the time,  from clicking the render icon (using a stopwatch).  or from what is reported by TC in the bottom left corner.   As the two times can differ a lot.

I tried on a few occasions to download the zip files, but keep getting a cannot download - Network error. I can download your tcw file no problem.  And I can download other zip files from the forum.  Just not your zip ones.

Same here Daz.
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

Henry Hubich

In "Sphere Array 1000 v2017.tcw" I do see a speed improvement of about 30% with Multithread disabled. But tests in my own drawings leave me convinced that MT is nearly always faster.

Henry H

Jeff_in_90620

Quote from: Darryl W on March 27, 2021, 09:30:51 PM
Fast and slow render zips are videos of what Im doing at my end.  ;D

Cannot download the files to follow what you are doing.  This has happened before on the Forum, so maybe it will be fixed soon.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

AussieBloke

Thanks Andy, Tim & Henry for taking another look, Andy, Tim I will post the file unzipped for you to test.

I did this drawing in v2020 but saved back as v2017 for a wider audience to test.

On my mobile atm, but will upload soon. I see the same test results in v2020.

If you care to download the excel file and review the results Id like to get your take on those speed results.

Andy yeah re stopwatch ( dont have one ), Im aware that loading graphics and rendering are two discrete operations/actions within Turbocad and that loading graphics can be time consuming. When loading graphics guess that tc is assigning colours and or materials to the objects and this always happens prior to rendering.

For this test Im not taking loading graphics into account as this is not reported in tc's lower left panel. Just  rendering speed alone. More to come.

I will request Vlad take a look and give us his take on this conundrum.

Henry would you describe what drawings youve tested thankyou?

AussieBloke


John R

#56
Quote from: Jeffin90620 on March 28, 2021, 11:42:22 AM
Quote from: Darryl W on March 27, 2021, 09:30:51 PM
Fast and slow render zips are videos of what Im doing at my end.  ;D

Cannot download the files to follow what you are doing.  This has happened before on the Forum, so maybe it will be fixed soon.


Jeff

I couldn't download through Firefox, but got them through Google Chrome.

Something of this size would be better off on YouTube.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

AussieBloke

#57
Okay all files unzipped.

Edit: Just before this morning ( my time ) I noticed that Vlad was online, is there any way that we can flag this topic and get his responses?

Torfinn

I downloaded your last Sphere Array, open v 2021, your drawing and go directly to Q RT F and time was 8 sec, set to Wireframe again, changed the tread to 1 from automatic 8 and then back to Q RT F, time was 11 sec.

If you want Vlad to see the tread, maybe a pm ??

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Andy H

Using the latest sphere file. with 2020 set to lightworks, Q RTF. 

I get the same time with Auto multithreading turned on as I do with it turned off and set to one.  6 seconds for large window, 4 seconds for small window.


Henry Hubich

Quote from: Darryl W on March 14, 2021, 07:12:25 PM
Henry QRT is Lightworks Quality Raytrace Full, my mistake if I confused anyone here.

I did try other modes but didnt get any real benefit in rendering time, its only in Lightworks Quality Raytrace Full that Im seeing any benefit on my machine.

Dean, Ive never tried advanced rendering. Have/can you tried other modes like what I mention here?

Alvin, got it now.

Don Cheke any comments please?

This last image is missing some materials and was just slapped together for reference only.

Daz, that is the render mode I used for the image I posted. Much faster with multithreading.

Henry H

AussieBloke

Thanks for all the replys, its clear to me that my desktop brand Lenovo i7 6700 stock standard performs better with Multithreading Unchecked and threads set to 1 only.

Later today Im continuing on with my animations and will revisit this thread as I get more feedback on the performance. 😀

John R

My two bits on YouTube: Darryl W Fast Render Test. A bit long with various render modes, etc.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Tim Stewart


With the latest sphere file and v2020 set to lightworks Q RTF, I get double the rendering time with multithreading turned on, as I do without, and set to one (1).
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

AussieBloke

Tim would you publish your results for others to compare, maybe even download the excel file for reference?

Andy H

My results.  Below was tested in TC 2019, as its the only modern version I have, Which only has Lightworks installed.  (See attached).

 

AussieBloke

Thanks Andy, Im reading via my mobile atm and its interesting. I dont see your pc specifications in your signature, can you provide them pls.

Fyi it was reported by another senior beta tester in the beta forum that they experimented with MT checked and unchecked on a different file and got similar and faster results with MT unchecked. That was before my posting in this topic. More to come...

Tim Stewart


In this case, if multi-threading with LightWorks confers any advantage, I'm not sure what this might be.
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

AussieBloke

Im not a PC architecture guru, the closest we might come to that is via Jeff's knowledge. Based on Tim's results ( albeit small ) suggest there is some merit in unchecking Multithreads and setting Threads used to the lowest settings at or around 1 only on my two pc systems.

Now its still early days into this investigation on my part and Im gunna dig deeper into this topic with larger files that may highlite what the heck is happening here.

On my 2nd pc system ( Dell notebook ) Ive already installed a Nvidia Studio graphics driver and I will compare my Lenovo desktop Nvidia game graphics driver results based on the files and performance of each.


Andy H

Quote from: Darryl W on March 29, 2021, 07:25:15 PM
Thanks Andy, Im reading via my mobile atm and its interesting. I dont see your pc specifications in your signature, can you provide them pls.


I did another test using a drawing I did back in 2010.  Drawn in Native draw / Lightworks.  plenty of curves and chains, so tool longer to render. One oddity.  Leaving Multithread On, but cranking the threads up to 256 gave the same time as with multithread off. I did crank it up to 512 but didn't get any improvement on 79 seconds.

I've added my system detain in the image. I removed prep time as its pretty much the same throughout +/= 10 seconds. 

AussieBloke

Hey Andy based on results from items 3 & 4 where both are off you are reporting the exact same times, now that is surprising to me given to my way of thinking I would  have expected either to show some substantial difference.

Can you post a picture/image that captures some of the complexity for clarity?

Andy H

Quote from: Darryl W on March 31, 2021, 10:34:42 AM
Can you post a picture/image that captures some of the complexity for clarity?

Erm.., You lost me a bit there Darryl   (probably due to me being on my second can of lager) :)

I'll assume you mean of pic of the render.  Attached is the render done with multithread On, but threads at 256.  the reduced time (65 instead of 79), is because I shrunk down the TC window so the final image would be smaller in file size, for posting on the forum.




AussieBloke

I wish I coukd have a beer but they dont mix the meds atm after surgery. Nice image Andy you are a superb drawer, why are you using 256 threads cos I read from a prev post that youve got a max thread count of 20 if Im not mistaken.

So further that after reading your post on
Quote from: Andy H on March 31, 2021, 10:17:47 AM
Quote from: Darryl W on March 29, 2021, 07:25:15 PM
Thanks Andy, Im reading via my mobile atm and its interesting. I dont see your pc specifications in your signature, can you provide them pls.


I did another test using a drawing I did back in 2010.  Drawn in Native draw / Lightworks.  plenty of curves and chains, so tool longer to render. One oddity.  Leaving Multithread On, but cranking the threads up to 256 gave the same time as with multithread off. I did crank it up to 512 but didn't get any improvement on 79 seconds.

I've added my system detain in the image. I removed prep time as its pretty much the same throughout +/= 10 seconds. 

based on the attached image results you say that 2 & 3 gave the same results of 79 seconds for both MT Off & Threads set to 1, is that correct?

Henry Hubich

I suspect that it's counterproductive to specify a number of threads greater than your machine is capable of, and that "Use automatic number of threads" is generally the optimum setting.

Henry H

Andy H

The 256,  Just a number I pulled out of the air.  It was mentioned earlier in the thread about whether entering higher figure made any difference.  The number of threads box allows 1 to 1000.  Hmm. 1000 threads, now that would be one heck of a computer.

The three figures (tests 3, 4 and 5).  are all 79 seconds. They all have Multithread turned off.  So a conclusion for me, is that with it turned off, it doesn't make any difference what the number of threads there are, with or without auto number of threads ticked. 

Apart from Test 8 (the 256 thread one).  With multithread turned ON it produced longer rendering.  The only thing I can think of is,  sending the data through a separate module, in order to split the render into different threads, then checking the threads match up as far as shadows etc are concerned. may cause the extra delays. 

However.

Things are not that straightforward.  My understanding is that.  The results will differ depending on the scene.   If the scene can be split easily, where one part does not rely on waiting for another part to render first.  Then multithreading would be faster.  For example.  With the image below.  It is easy for some parts of the render to be completed irrespective of other parts of the render.   The result is that with multithreading turned OFF, it takes 6 seconds to render.  But. with multithreading turned ON. (and either auto on, or auto off and thread set to 20).  Then rendering is just 2 seconds.

Confused yet :)

Going off the above, and another test I did using a house.   Drawings with lots of parts, materials, reflectance etc. will render slower with multithreading turned on.   Architectural drawings, and ones with fewer interacting parts, render faster with multithreading turned on.   At least that is how it looks on my computer.

Tim Stewart

Whilst interesting, isn't it true that no one size fits all? 
There are too many variables, both hardware and software, to definitively state which set-up is better than another.

I would guess that TurboCAD does not use multithreading in its code. However, as an addon/plugin, it appears that LightWorks does.
So, there is a likely underlying bottleneck, in what part TurboCAD plays in the rendering process and that of LightWorks.
As Andy has indicated, there will be a great deal of difference in the difficulty of rendering the gamut of drawing objects.

Numerous, large, complex drawings, particularly animations, would be better realised on a seperate, dedicated PC.
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200