TurboCAD Forums

Turbo Talk => Tips and Tricks => Topic started by: Majo on March 19, 2012, 05:53:53 PM

Title: Tutorial - rendering of RedSDK
Post by: Majo on March 19, 2012, 05:53:53 PM
I have prepared a tutorial (for TC Platinum v19 only) and ePack file describing a procedure. I hope that helps.
If you would like to answer for some questions. If I know ...   :)

Majo
Title: Re: Tutorial - rendering of RedSDK
Post by: Majo on March 19, 2012, 05:54:36 PM
I have prepared a tutorial (for TC Platinum v19 only) and ePack file describing a procedure. I hope that helps.
If you would like to answer for some questions. If I know ...   :)

Majo

next attachment
Title: Re: Tutorial - rendering of RedSDK
Post by: Brad Easterday on March 21, 2012, 11:46:01 PM
Thanks Majo!
Title: Re: Tutorial - rendering of RedSDK
Post by: Kenneth Martin on March 22, 2012, 06:17:43 AM
Thanks for the tutorials. Much needed on my end.
Title: Re: Tutorial - rendering of RedSDK
Post by: Rudl on March 29, 2013, 01:06:40 PM
How can I open the Red files?

Rudl
Title: Re: Tutorial - rendering of RedSDK
Post by: wd on March 29, 2013, 02:41:48 PM
You can download the zip file right click windows can open it.Than open the files in v19.2.I don't see a way to open red files
Title: Re: Tutorial - rendering of RedSDK
Post by: Majo on March 29, 2013, 03:52:25 PM
How can I open the Red files?

Rudl

Hi,

The Red files Material You canīt open, only edit / modify over RedSDK Editor for materials.
See the attachment.

Majo
Title: Re: Tutorial - rendering of RedSDK
Post by: Rudl on March 30, 2013, 03:55:41 AM
I tried to make the first step of your tutorial, but with right click on the material, the Redsdk Editor is grey.
Title: Re: Tutorial - rendering of RedSDK
Post by: Majo on March 30, 2013, 04:50:48 AM
I tried to make the first step of your tutorial, but with right click on the material, the Redsdk Editor is grey.

1. download attachment "Tutorial_render scene with RedSDK.zip" and unzip this file
2. in the directory you must have 5 files - one .tcw and four .red ( not leave the file. tcw from this folder )
3. open the file "Tutorial_render_with_RedSDK.tcw" in TurboCAD v19 or v20
4. now you have in "materials palette" -> in category Tutorial_render_RedSDK four materials Red
( you can also select for example the door -> right mouse click over the materials palette and select -> Find Material of Selection )
5. now you can edit/modify .red materials

If you can create new RED materials, you see this link -> https://turbocaddoc.atlassian.net/wiki/display/TC19UG/Creating+RedSDK+Materials

I try this file testing on three PC's in the TurboCAD v19 too v20 and they work OK.

Majo
Title: Re: Tutorial - rendering of RedSDK
Post by: wd on March 30, 2013, 10:46:22 AM
Majo
Thanks for taking the time to making these tutorials quite beneficial. :)

much appreciated

w.d.
Title: Re: Tutorial - rendering of RedSDK
Post by: Majo on March 30, 2013, 05:20:12 PM
Majo
Thanks for taking the time to making these tutorials quite beneficial. :)

much appreciated

w.d.

You're welcome
Title: Re: Tutorial - rendering of RedSDK
Post by: DonCW on March 30, 2013, 05:40:10 PM
Majo, thanks for the tutorials.
Title: Re: Tutorial - rendering of RedSDK
Post by: Vlad Veselov on April 08, 2013, 12:24:10 PM
I have prepared a tutorial (for TC Platinum v19 only) and ePack file describing a procedure. I hope that helps.
If you would like to answer for some questions. If I know ...   :)

Majo

Hi Majo,

Thanks for the tutorial. A good cabinet should not stand idle. It is perfect for storing a variety of items. I could not resist and decided to try a glass, self-recursion and other interesting effects  :)

Vlad
Title: Re: Tutorial - rendering of RedSDK
Post by: paradisca1 on August 05, 2014, 08:58:49 AM
Hello Majo,

I have not been able to figure out how to open the .red files in your zip package. I would appreciate your help.

paradisca1
Title: Re: Tutorial - rendering of RedSDK
Post by: paradisca1 on August 05, 2014, 09:02:44 AM
Pls ignore my last question. I did not read far enough.
paradisca1
Title: Re: Tutorial - rendering of RedSDK
Post by: Dave Taylor on August 05, 2014, 10:04:52 AM
Many Thanks Majo!
Title: Re: Tutorial - rendering of RedSDK
Post by: Jeffin90620 on October 26, 2014, 10:09:27 PM
This is the closest to a rendering benchmark discussion as I have found on this forum (because two people said how long it took), so I opened the file in TCPro Platinum 21 and saved it as a JPG on my system to see what I'd get.

My system (old and about to be replaced) is as follows:
CPU: i5-2500K @ 3.30GHz (quad core, if anyone is interested)
RAM: 2GB
Video Card: GeForce 7600GS
System Drive: Samsung SSD 840 120G
Windows 7 Pro (32-bit)
Motherboard: ASUS P8P67

I verified that the RedSDK settings were identical, selected View_1 (which is slightly different from what Majo posted) and got the following in 291 seconds.

Oh, yeah... the time is for rendering to the saved file (which was specified to be the same dimensions as the one Majo posted), not the generation of the render in the window (I used a small window to minimize that rendering time, which is not included in the total).


Jeff
Title: Re: Tutorial - rendering of RedSDK
Post by: Brad Easterday on November 12, 2014, 02:29:16 PM
Jeff,

I built this computer just over two years ago and it's been great for the work I do. Multi-threading is such a blessing. Do you remember the days when it was nearly impossible to stop a rendering you had started in TC without closing down the program? The 64-bit version has put an end to "out of memory" errors as well.

TC Version: TC Pro Platinum 21.2

Render Time: 91 seconds

CPU: Core i7-3930K CPU @ 4.20GHz (6 core with 12 processing threads)
RAM: 32GB 1333 DDR3
Video Card: FirePro V5900
System Drive: Crucial M4 256GB SATA III SSD
Windows 7 Pro (64-bit)
Motherboard: BIOSTAR TPOWER X79
Title: Re: Tutorial - rendering of RedSDK
Post by: Majo on November 19, 2014, 02:40:35 AM
Hi,

I tested too and my result is (TC Version: TC Pro Platinum 21.2, resolution 805x786)

Render Time: 124 seconds if I did render with the assistance QualityRender,
but if I did render with the assistance Render Style - Global Ilumination with HDR and The Time is 88 seconds

CPU: Core i7-4770 CPU @ 3.40GHz (4 core with 8 processing threads)
RAM: 16GB DDR3
Video Card: Nvidia GeForce GTX 760
Windows 8.1 (64-bit)

Majo
Title: Re: Tutorial - rendering of RedSDK
Post by: Jeffin90620 on December 18, 2014, 12:55:48 AM
I have a new system (i7-5820K with 16GB and a GTX 970).  Haven't played around with Overclocking, yet, so this is a 'stock' system.

With the same settings (View_1, Quality Rendering, Global Illumination Fine setting and an 805 x 768 image size), my new time is 81 seconds to create a JPG.

When I set Advanced Mode with Global Illumination Fine Tone HDR, it saved in 59 seconds.

I should point out that I received a warning that the RedSDK drivers have not been modified for the GTX 970 video card (it's too new), so a 'generic' driver was used, so performance may increase in the future.

****** Added Text ******
Did a bit of math and noticed that the vastly improved graphics card didn't contribute that much to my improved timing.  The decrease in processing time, if only due to the increase in the number of cores over my original system (12 cores vs 4 cores, both @ 3.3 GHz), would have resulted in 97 seconds.

My actual time of 81 seconds is a further 16% reduction, but at a cost of 229% over the original graphics card.  On the other hand, my new processor was actually cheaper than the one it replaced.

CORRECTION: I have since noticed that TurboCAD Pro Platinum V21 does not make significant use of hyperthreading, with most of the rendering taking place in 1 of the 12 processor cores.  As my new cpu has the same clock speed as my previous system's cpu, that means the ~3.6x improvement in rendering speed is due entirely to my graphics card.

****** End of Added Text ******


CPU: Core i7-5820K @ 3.3 GHz (6 core with 12 processing threads)
RAM: 16 GB DDR4-2133
Video Card: Gigabyte GTX 970
Windows 7 Pro (64-bit) SP1


Jeff
Title: Re: Tutorial - rendering of RedSDK
Post by: Darrel Durose on December 20, 2014, 12:42:26 PM
Jeff


As I understand it RedSDK utilises the GPU/CPU for the GI phases. The raytracing final phase is handled by the CPU only.

I could be corrected though... :P
Title: Re: Tutorial - rendering of RedSDK
Post by: Jeffin90620 on March 05, 2015, 12:19:09 PM
I upgraded to TurboCAD 2015 yesterday and just re-ran Majo’s tutorial to get a new benchmark.

I am pleased to note that Windows Performance Monitor shows that all 12 cores ran at 100% (after some spotty startup) and my new result is now 33 seconds.

This is 2.45 times faster than 64-bit V21 with the same hardware (aka a 59.3% reduction).

Way to go, IMSI (and RedSDK, which is probably supporting my new video card directly instead of generically).


Jeff

Title: Re: Tutorial - rendering of RedSDK
Post by: Jason B on March 05, 2015, 05:32:08 PM
      I too ran the tutorial in TC 2015, to explore whether or not I should upgrade my system.
      I didn't make any changes to the materials, just loaded the drawing, adjusted the view, and used Red SDK Advanced Render, Quality, Global Illumination Fine Tone HDR. My on screen resolution is 1920 x 1080, render time was 67 seconds. If I saved to  805 x 768 JPEG, the time was 19 seconds. This was the total time going from wireframe to Advanced Render. How can that be? I didn't think my 2 year old system would result in those times.
     I monitored my CPU and verified that all 8 threads were at 100%. The GPU load top out at 80% during the ray tracing sequence. One thing I noticed is that when using Quality Render, Global Ill. Fine, my time was about the same. During this render, TC reports 8 threads. The same thing happens in Adv. Render, Global Ill. Fine Tone HDR, but TC reports 2048 threads(!?).
     I tried doing the same with Anti Aliasing set midway to 4x. It didn't seem to affect the times in Quality Render, but would
not render with Advanced Render.
     Bottom line is I'll stay with what I have. I don't do much in the way of rendering anyway.
Title: Re: Tutorial - rendering of RedSDK
Post by: Jeffin90620 on March 05, 2015, 06:01:46 PM
To get consistent times, I am only counting the time to save to JPEG (805x768 @ 100% quality setting).  Rendering to a full-screen window on a 1920x1200 screen takes a bit longer (43 seconds), but everybody can run different window sizes (my video card supports Ultra HD, just at a slower frame rate), so that is not a good basis for comparison.

I think your advantage is that your video card (GTX 660) is well-supported by RedSDK.  My GTX 970 may not be completely supported, yet.  The 2048 threads you saw listed are probably the CUDA cores in your graphics card (I see the same number).


Jeff

Title: Re: Tutorial - rendering of RedSDK
Post by: Jason B on March 06, 2015, 03:46:25 AM
   Jeff, I think I was mistakenly comparing my times in TC 2015 to your times in TC v21.  But I see your times improved greatly with and upgrade to TC 2015. This is probably due to the use of Hyper Threading and an improved Red SDK engine.
   Now I realize that a difference of 34 seconds for this tutorial may not seem like a big deal, but a 50% reduction in render times for large drawings will be a significant improvement. I imagine those who have render times in the hours may have a different view on upgrading their systems.
   Later, as time permits, I will run the tutorial with TC v20 Plat to compare times with TC 2015 on my PC. This should verify what you stated about TC v21 to TC 2015.

  The 2048 threads you saw listed are probably the CUDA cores in your graphics card (I see the same number).

   This is probably true, but the GTX 660 has only 960 CUDA cores, so I think the number reported is some multiple of that or erroneous.
Title: Re: Tutorial - rendering of RedSDK
Post by: Jeffin90620 on May 18, 2017, 03:20:08 AM
I have re-done the benchmarks with Pro Platinum 2017.

The results are different than I expected.  Earlier, it seemed apparent that 2017 made the leap to using the CPU under Quality renders and the GPU when choosing the Advanced renders, but observation of the CPU and GPU did not reveal any differences, and the render times were identical for the same type of render.

As before, I am only counting the time to save to JPEG (805x768 @ 100% quality setting) so that we can all get comparable timing.

Sure seems odd that 2015 provided results slightly more than half the time (33 seconds instead of 60 in 2017).  I wonder what the explanation for this is (did I make a mistake?).


Jeff


Title: Re: Tutorial - rendering of RedSDK
Post by: Majo on May 18, 2017, 02:03:12 PM
Jeff,

Tomorrow I will look on it detailed. I mean that in last version RedSDK 4.2 are bigger changes (mainly in the materials) opposite previous version.
The base file is very, "very", "VERY" old!  ;D ;D ;D

Maybe is time for "new" version  ;)