News:

Please remember to do a search before you ask a question!

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.

Alternative file formats for large renders

Started by Orion20036, October 30, 2012, 04:15:31 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Orion20036

This posting is out of curiosity, as I have a few large files lately that require extra memory, but have not decided on my new system yet, so has anyone tried saving their file as a different format, and then reloading and rendering with a better success rate in relation to memory. I have been looking at the obj file format, and am fairly new to surface mesh rendering and techniques, but think that some of the large renders may well work out with shortage of memory if a turbocad file is saved as a different format, reloaded and rendered.

Has anyone tried saving in different formats, and then comparing the render times with the alternative format, as well as quality?


Any input or feedback appreciated!.

Kenneth Martin

What I have found is that there always isnt control of the faceting when exporing from solid to mesh. With that said, I have not done this for rendering in TC, but for import into other applications. I will have to try this out & see what happens.
TurboCAD user since v3
TurboCAD on flickr || My twitter ||

Orion20036

Kenneth, I have tried hundreds of variations in the last few days, with step, sat, 3ds, obj, and 3dm, and the main problem appears to be large radiuses at a good quality when saved as a mesh or surface object. Smaller radius and fillets come in acceptable, but any large radius objects have major faceting which means that the resolution to render has to be so high that all the memory is used up. Not sure about this, but maybe if large radius objects were created out of smaller curved segments, then the resolution of the mesh object would increase with the problem parts.

Being able to create more nodes for larger radius solids before saving as a mesh format or exploding to a surface would be really handy.

Henry Hubich

Quote from: Michael Geraghty on October 30, 2012, 07:30:59 PM
Kenneth, I have tried hundreds of variations in the last few days, with step, sat, 3ds, obj, and 3dm, and the main problem appears to be large radiuses at a good quality when saved as a mesh or surface object. Smaller radius and fillets come in acceptable, but any large radius objects have major faceting which means that the resolution to render has to be so high that all the memory is used up. Not sure about this, but maybe if large radius objects were created out of smaller curved segments, then the resolution of the mesh object would increase with the problem parts.

Being able to create more nodes for larger radius solids before saving as a mesh format or exploding to a surface would be really handy.

Mike, if the solid is created from a 2D arc, have you considered dividing the arc and then exploding the result into a set of Polylines?

Henry H

Orion20036

I was thinking about adding more nodes to an arc if that is possible Henry, I have just partially solved some of the problems with an Ingenius  object mesh save routine in Moi, which subdivides curves larger than a certain length as an option when you save, and hopefully something similar will be available in Turbocad as a future possibility. I had though about saving the offending objects at a higher acis setting to an obj file, and then importing those objects into the main obj drawing.

All in all, I think you have to plan the creation of your parts if you intend to save them as meshes, allowing lesser facets for solids with smaller curves or facets, and as you say dividing larger arcs into more segmented pieces.

I have only had about 14 hours sleep in the last four or five days trying all the possibilities that came to mind, and am off to bed soon, but will be trying your suggestion tomorrow, I will also post the info on Moi's mesh save options.

Many thanks everyone!.

Mike Geraghty.

lloydnb

I'm not familiar enough yet with TCAD rendering engine, but in most other rendering software, the softening of all necessary faceting in the original model object is controlled in the render itself  regardless of the actual faceting of the object it works on.  In the rendering soft I use primarily it is called "phong" setting and it seems likely that there is  something like this in TCAD's rendering engine - as a separate setting per object.  If so you will be able to control from 0 degrees to over 90 degrees angles in order to render out without any faceting showing up - on an object by object basis .  For instance, all angles below the adjustable threshold will be softened to a continuous curve while angles above the threshold on the same object will be correctly represented as a angle.

I'm curious about this in TCAD too so later I'll have a look into it.
Version 20.2, BUILD 51.3, Pro Plat, Windows 7 Pro 64 bit, GigabyteMB with AMD 6 core cpu - 3.4ghz, 8 gb ram, 1 gb Nvidia GeForce GTS 450.

Don Cheke

Quote from: lloydnb on October 31, 2012, 11:16:57 AM
I'm not familiar enough yet with TCAD rendering engine, but in most other rendering software, the softening of all necessary faceting in the original model object is controlled in the render itself  regardless of the actual faceting of the object it works on.  In the rendering soft I use primarily it is called "phong" setting and it seems likely that there is  something like this in TCAD's rendering engine - as a separate setting per object.  If so you will be able to control from 0 degrees to over 90 degrees angles in order to render out without any faceting showing up - on an object by object basis .  For instance, all angles below the adjustable threshold will be softened to a continuous curve while angles above the threshold on the same object will be correctly represented as a angle.

I'm curious about this in TCAD too so later I'll have a look into it.

Hi Lloyd,

Check out tip 15) ACIS Facetor Modes and tip 22) Solids or Surfaces on my tips page. It talks about this type of thing. http://www.textualcreations.ca/Don_Cheke%27s_TurboCAD_Tips.html
Tip 22 has some quotes straight from one of our TurboCAD programmers.
Don Cheke
My Blog: One Man's Meanderings

Darrel Durose

#7
I personally would not deviate from the default TCW format.

Use the tips found on here, the ACIS faceter settings Don mentions.
Untick "degenerative faceting" as this will reduce the mesh translation time and maybe save a bit of memory creating the geometry in Lightworks.

Select the geometry that is only going to be visible in the render as stuff out of the camera view or behind other stuff get built into the translated mesh.

Take care with materials, avoid heavy bumping/height maps, large images used in wrapping....try and keep them to a max of 300 x 300 pixels.

Reduce the amount of lights/luminances. With environments, keep the sample value low. Advanced Rendering can smooth out the rays so high values are not really necessary or make much difference in AR...

That's a few things that you may or may not already do/know....  :)
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

lloydnb

Thanks very much both of you...really good info for when I have the time to get into Lightworks.
Best.
Version 20.2, BUILD 51.3, Pro Plat, Windows 7 Pro 64 bit, GigabyteMB with AMD 6 core cpu - 3.4ghz, 8 gb ram, 1 gb Nvidia GeForce GTS 450.

Orion20036

Darrel, I agree about using faceter mode, and do on a regular basis, but the advantage of increasing the resolution of a curved solid has evaded me until today, I had the same idea as Henry, about dividing up the arc into segments and exploding into a polyline , but it still leaves facets.

Today I tried something that I had been thinking about for a while, and it worked partially, I created a quadrant of a circle and as I thought, when it was extrude it had a higher resolution because the whole circle is divided into a number of facets, and the quadrant is divided into a larger number of facets. My idea was to try 4 quadrants as a compound profile and then extruded, however it turned the resulting extrude back into the same number of facets as the original circle.

Now the solution, extrude a quadrant, and it has more facets, but don't array and add them to form a circular extrude, explode the quadrant into an acis solid, then array and add, and the resulting acis is of a higher resolution.

See below, a circle extruded and then exploded into an acis solid, and next a quadrant extruded, turned into an acis solid, then arrayed and 3d added.


Darrel Durose

Michael

Have you played with the Draft/Quality/Custom settings in the ACIS settings....this reduces/increases the facet count on curves to....
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Orion20036

Increasing the resolution even higher is easy also, just make the extruded quadrant into a lesser angle extrude, explode, array and 3d add, possible extreme high resolution , even in draft mode.

Orion20036

Yes I have Darrel, but with this method, I can then save a file which is too big to render in quality mode as an obj file, and then load and render the obj file in high res without any problem and also knowing the curves are high res before I start.

Orion20036

just tried a chamfer on both of the objects, and the higher resolution one turns back to the same resolution as the the faceted circle, so you would have to add the chamfer to the quadrant first to maintain the resolution. I also tried a circular extrude and subtracted it from the high res version, and the high res facets remained intact on the circumference of the solid.It appears that any operations that are involved on the objects perimeter such as fillet or chamfer will reduce the object to lower res again, so any of those operation need to be done on the quadrant or segment before adding.


Orion20036

For those who use Moi in conjunction with Turbocad, save your file as sat, open in moi, save as obj, and a dialogue box will come up for setting polygon resolution, a further option menu is available in the save dialogue called meshing options, have a read through the Moi command reference for info. The advantage of using Moi for saving as an obj file is the save options which can increase the number of facets on large curves.

Wish IMSI had Michael Gibson(Moi Creator) on board, a real genius with nurbs and surface modelling!.

Orion20036

I have just found some idiosyncrasies with the new method, if you use a 90 degree quadrant for the extrude, start off with a circle and use the divide command as it creates more nodes, do not create an arc of 90 degrees or trim a circle to 90 degrees, as it will not work.

I have tried using a smaller size segment which was 30 degrees, again increased resolution, but not as good as 90 degrees for some reason, it needs some trial checking what number of degrees in the segment, to see which numbers work.

Henry Hubich

Drew a 90° arc; drew the radii; Divided the arc into 90 pieces; selected all the pieces and exploded (reducing the original arc to 90 Line segments); extruded everything; chamfered the "Curved" edge. Result -- attached herewith -- looks pretty dang smooth. And it looks exactly the same after exploding to a TCad Surface.

Henry H

Orion20036

#17
I agree Henry, my problem was I could only use acis(draft) render mode in my drawing, it was a massive drawing, but most of the components had smaller radius's and faceting was not observable, but on the larger radius's it was. Your method is still a valid method though. Glad I started this thread Henry, as I have made all my components into separate drawings, and am using xrefs in the master drawing now. I have to do a few trials yet, but it appears that the xref takes on board the acis setting from their own file, so I can set my master assembly drawing to acis(draft) and the same with all the other xref drawings except the ones that I want at acis(quality), when it renders, it renders all in draft except the xrefs with acis quality set in the component drawings.

I managed last night with the help of Michael Gibsons routine in Moi to save a sat from Moi as a 110mb obj file which rendered in acis quality for everything when opened in Turbocad. Before using Michael Gibsons routine, I produced a 391mb obj file at a higher res, but it still had observable faceting.

Something else very strange also, obj files work in the drafting palette  and behave like a solid, they are hatched when a section is taken and also have hidden lines.

I have also tried using obj files as xrefs without any problem.

Orion20036

I know what I did wrong with your method Henry, I never divided the arc, just exploded it with maybe 20 nodes.

lloydnb

Quote from: Michael Geraghty on October 31, 2012, 09:04:31 PM
I agree Henry, my problem was I could only use acis(draft) render mode in my drawing, it was a massive drawing, but most of the components had smaller radius's and faceting was not observable, but on the larger radius's it was. Your method is still a valid method though. Glad I started this thread Henry, as I have made all my components into separate drawings, and am using xrefs in the master drawing now. I have to do a few trials yet, but it appears that the xref takes on board the acis setting from their own file, so I can set my master assembly drawing to acis(draft) and the same with all the other xref drawings except the ones that I want at acis(quality), when it renders, it renders all in draft except the xrefs with acis quality set in the component drawings.

I managed last night with the help of Michael Gibsons routine in Moi to save a sat from Moi as a 110mb obj file which rendered in acis quality for everything when opened in Turbocad. Before using Michael Gibsons routine, I produced a 391mb obj file at a higher res, but it still had observable faceting.

Something else very strange also, obj files work in the drafting palette  and behave like a solid, they are hatched when a section is taken and also have hidden lines.

I have also tried using obj files as xrefs without any problem.

Excellent ....The xref thng!  I'll remember this.
Version 20.2, BUILD 51.3, Pro Plat, Windows 7 Pro 64 bit, GigabyteMB with AMD 6 core cpu - 3.4ghz, 8 gb ram, 1 gb Nvidia GeForce GTS 450.