News:

When replying to a specific statement be sure to quote the previous post.

Main Menu

Unnecessary, time-consuming recalculations

Started by Jeff_in_90620, April 27, 2016, 05:39:18 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Jeff_in_90620

I have a large object that took a long time (as in 6 minutes, minimum) to calculate a RedSDK Draft Render.

I moved it to a separate layer and made it invisible to do some work on other objects.

When I made the object's layer visible again, it took just as long to re-calculate.  The thing is, there was no change in memory usage (which is usual as a rendered scene is calculated).

What this means is that the original Draft Render was still hanging about in memory, waiting to be re-used, but was ignored when I made the layer visible again.

So... what I wish is that TurboCAD would do the opposite of what it is doing now and stop tossing time-consuming calculations out the window.


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)

DTTurbocad

Can you supply a sample drawing for me to test with? 
Also, also can you elaborate on:
QuoteI moved it to a separate layer and made it invisible to do some work on other objects.
For instance, was this brand new layer and was it already visible when you did you initial draft render?

Jeff_in_90620

As I recall, I made the new layer, moved the object to it (in Draft Render mode), then made the layer invisible.

As I said, the memory allocation (which had accumulated while rendering) remained constant (within ~1%) during these operations and subsequent editing while this layer was invisible.

Switching to Wire Frame would, of course, release a lot of that memory.


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)

DTTurbocad

It would still be helpful to have a sample drawing for a number of reasons.  Such as what type of object(s) you are using.  I will test using some of the of more complex objects I have but nothing I comes close to taking six minutes to display in draft render.  This is includes a full interior scene and/or complex mechanical assembly.

Also I do think that once the object is rendered to the GPU it is supposed to remained cached at some level to improve performance when continuing to working draft mode.

Jeff_in_90620

The drawing I was using is about 55 MB in size.  It was an STL import of a 3D scan created from photographs in AutoDesk Memento.

I have a file that will probably exhibit the same behavior, but it is time-stamped a little after my post.  I can make sure it exhibits the same behavior before sending it to you, but what would be the best way to do that?  Do you have an FTP site?


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)

DTTurbocad

We don't have an FTP where you can post.  Any chance you can send it via Dropbox or Box? thanks.

Henry Hubich

Noting that the subject of this thread has been deemed a "complaint," and that it has been moved from the Wish List, I'm moved to observe that a complaint is an implied wish that the problem would be fixed.

Henry H

Jeff_in_90620

As I expressed elsewhere, I believe that this operational quirk is a choice that the programmers made to minimize errors while saving themselves the time and aggravation of making sure that the proper implementation worked.

Personally, I believe the memory allocation for the now-invisible objects should remain. But when they're made visible again, they should just show up immediately without having to be recalculated.


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)

Jeff_in_90620

#8
Well, this is annoying.

TurboCAD's behavior with the (nearly identical file) is now different than I had previously observed.  When I set the layer to invisible, the memory allocation drops significantly.  So, it is no surprise that it takes time to re-render when the layer is turned back on.

Oddly, it took 3:19 instead of 3:06 to recalculate.

I suppose I should only be chagrined instead of surprised, as TurboCAD's behavior frequently changes (mostly seen where some commands that should be active are inactive and the 'fix' is to save, close and re-open the file).

What surprises me is that, when I switched to Advanced Rendering with Global Illumination Fine and verified the Use GPU option was active, it took approximately the same amount of time to render from a freshly-loaded file in Wireframe mode (3 seconds longer, actually).  I am just beginning to get more familiar with RedSDK, so maybe this has something to do with the fact that there was no material assigned to the object.

EDIT ON

Oh, yeah... this time, when I closed the file but kept TurboCAD open, the memory allocation dropped a bit.

EDIT OFF


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)

Orion20036

Try this, not sure if it is my imagination but if you turn the elements you want to turn off into a graphics category and then turn that category off see if it makes a difference, since I have started using graphics categories on a large file and turning sections of the drawing off it appears to work better than just turning the layers off.

Not on my main machine at present but will give it a try myself later.

Let me know if it works for you!.

Jeff_in_90620

#10
Quote from: Orion20036 on May 05, 2016, 02:01:33 PM
... if you turn the elements you want to turn off into a graphics category and then turn that category off see if it makes a difference...

Not sure what you mean by the term 'category' as it applies here.  A search of off-line Help has not been illuminating.

EDIT ON

Never mind.  A continued, case-sensitive, search has presented something that may be of use.

Thanks.

EDIT OFF


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)

Orion20036

If you select a number of objects and then in design director create a new graphic out of them or graphic category, then you can turn those objects off that way instead of turning each layer off individually.

Orion20036


Jeff_in_90620

Thanks.  I am going to experiment with that this afternoon, as time permits.


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)

John R

If it's a single object, you can use the "Graphics" palette in Design Director.
If it's more than one objects, you have to use the "Categories" palette within Design Director. The nice thing with Categories, you can place objects from different layers into a Category and turn the Category off, without affecting the remaining objects on those layers.
John R.

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