News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

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.

Out of Memory solutions ?

Started by Jack Zimmer, July 01, 2010, 07:48:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jack Zimmer

Ran out of memory trying to get this done for 2010 competion and missed deadline.... that's ok.

I apologize to Don Cheke for causing problems at a time that he doesn't need them.

+++++++++++++++++++++++++++++++++++++++++++++++++

I was wondering if anyone had thoughts at what is the biggest memory hog in this example. I was able to turn off half the US lights and Canada and Cuba to get it to work.

Is memory being 'wasted' on large object size. The Earth was sized to 4000' ft radius. ?
Or are there just too many 'point lights' as Lums? (would setting to high ambinet and turning off light source make a difference?) I suspect that TCAD can just handle so many objects)
Or does the roughness of added to the sphere cause to much varied reflections , that eats up memory?

I would guess it is a combination of some or all of these but was wondering if anyone had suggestion, my goal was the whole Earth  (night x1 iamge) and now I don't know which way to go, if I should continue at all.

thanks

Jack

Orion20036

With something very large in components Jack, I would render in the biggest size chunks by area, and then save as a background image, and then the next render session with the background saved as a new background image etc. The main model components can then be manipulated with most of the peripheral part being a background image. With my Turbocad Challenge entry, I found that I ran out of memory, but when I reduced the area that the components fitted in, I could render without a problem, so actual size of bounding area does play a major part in cpu and memory usage. Try scaling the model down Jack, and see if it makes a noticeable difference. I also reduced the decimal places in space units but still left the acis at quality.

I do not have a problem with your entry Jack, maybe others will feel the same under the circumstances, but also know that Don has to abide by the rules he has set down. maybe a majority of voters can voice their opinion as to whether it should be allowed. Leave your entry in for voting, but let the majority in favour allow or deny the entry. Hope I am not making this complicated Don !.

Jack Zimmer

#2
QuoteTry scaling the model down

Thanks Micheal,

I'm surprised that you had success reducing the area in your rendering. I can see how reducing size would reduce surface areas but didn't think that would affect memory as much as polygon count.

Hey, maybe I should use squares for the points of light instead of a sphere???

Reducing size wouldn't hurt either as it is just an experiment.

thanks for the ideas Micheal.

Jack

ps I do really like your 'pipe layout' , it is one of my favorites!!


Don Cheke

#3
If I may.

Jack's entry was as attached. It is indeed beautiful. It came in an hour before the deadline and I emailed him to see if it was done with viewports or assembled in an image editor. I posted it last night in the participant gallery with a note indicating that I had an email out to him asking about the creation and would keep or delete this morning based on the answer. When I woke this morning I did not have a reply yet so I removed it. I did hear back later that he had tried to do it with viewports but it did not work out as well as he liked, so it was assembled in an editor, which is not allowed for the challenge. Jack asked if he could post a different, but similar image, but I had to say no because it was already many hours after closing and that would cause issues for some viewers (and votes had already begun to come in). I learned during the 2005 challenge that people watch the challenge very closely and don't hesitate to email if they think something is unfair, etc. Since then I have stuck very close to the guidelines and everyone has pretty much had a good time through each challenge.

I hope that Jack doesn't mind my adding our discussion here but I thought it important to explain.

Beautiful work Jack! Sorry you couldn't enter sooner and we could have had this worked out prior to the close of submissions.
Don Cheke
My Blog: One Man's Meanderings

Jack Zimmer

No problem Don,

As I wrote to you, it was more of a chance to play around with TCAD than to win a competition. I did want to present 'something different' by displaying it in the competion but that's OK.

Putting the lights on a 'curved surface' is worse than node editing. Getting them to 'blend together' as I was able to do in places like Chicago was a chore. Amazing how a light on a 4000' radius sphere raised to 15" gives a whole different affect than one raised to 6". Then of course I go to render the whole of it and I get the OOMemory and the deadline is near.

You have better things to do than deal with this further. And there are much nicer presentation in the competition. Nice of you to put in all the effort.

thanks,

Jack


Josh T.

That is a really neat idea, Jack, and what you have so far is beautiful.  Maybe one day when IMSI/Design takes care of our memory problem, you'll be able to render the whole thing as intended.
Josh T.
meatballrocketry.com
TC Pro 18.2 & Platinum 2016

Jack Zimmer

 I guess this subject has come up recently. It was suggested that I convert the spheres to surfaces instead of solids. I did that in the original and had a better rendering without a crash but doing so screwed up my lighting.

So, I started anew. This time using a cube instead of a sphere for the lums and also setting them to surfaces.

Kind of unreleated, I left the sphere 'unlocked' and when combined with snap 'nearest on facet' / auto workplane by face and show magnetic point, I am now able to rubber stamp the 'lights' to the spheres surface. Actually I also move the Reference Point to about 4" below the cubes and the lights 'height above the sphere' is automatic. I can zip along pretty good.

Before with the 1502 Lum Spheres, Full Render took minutes to 'start' and then slowly generated the image. Of course with all lights on I got the Memory error.

Now with the new technique, rendering starts almost immediatly and finishes   /// so far. I'll let you know when a crash occurs.

Bottom line is that the memory problem isn't size or lighting related but does seem to be polygon count related. At least that's what Im seeing.

Jack

Jack Zimmer

I lost the original rendering of the final image but was able to open the v17 tcw file in v20 and render.
I had a request for tcw download, so here it is.

All was accomplished with Point lights and a NASA (satellite) view of hemisphere at night for snap points of light concentration.

If you download the tcw, use Replace for materials and lights. Render takes nearly 30 min on my computer.

Z 

Dean

Quote from: Jack Zimmer on July 04, 2013, 05:49:26 AM
I lost the original rendering of the final image but was able to open the v17 tcw file in v20 and render.
I had a request for tcw download, so here it is.

All was accomplished with Point lights and a NASA (satellite) view of hemisphere at night for snap points of light concentration.

If you download the tcw, use Replace for materials and lights. Render takes nearly 30 min on my computer.

Z

Hi Jack,
Quality lightworks render > 22 minutes using V20 platinum 64 bit on a generic (off the shelf) Hp laptop 2.4 GHz >4.00 Gb > windows 7. I never get an “out of memory warning” with the 64 bit version. 32 bit is another story. I sacrifice some commands using 64 bit but for large renders it does the trick. I wish IMSi would create independent “Built â€"in” folders for the 32 and 64  bit  versions this way you could easily utilize the power and functionality of either version for specific design goals.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0