3D rendering using GPU cores

This topic has been viewed 21164 times and has 12 replies
Thread status: Active
Features you would like to see [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
411621
Posts: 19
Joined: Sun Aug 22, 2021 10:09 pm

3D rendering using GPU cores

Post by 411621 »

3D rendering using GPU cores

What would be a wonderful solution for the rather extreme slow rendering of 3D images. Especially the very long rendering time when images are needed in higher resolutions i.e. 4000 pixel.
A 3D rendering engine that uses all the GPU cores of a modern video card i.e. Nvidia.
That would be awesome!
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: 3D rendering using GPU cores

Post by Keet »

Something like the Cycles renderer as used by Blender, Poser, Rhino. Open Source so well suited for Sweet Home 3D.
I have a brand new RTX4070 waiting in the box for my new machine to get back from repairs. That would make it fly [:)]
Dodecagon.nl
1300+ 3D models, manuals, and projects
enigmaxg2
Posts: 3
Joined: Fri Jun 03, 2022 8:28 am
Country: El Salvador

Re: 3D rendering using GPU cores

Post by enigmaxg2 »

This has just released, I think it could be of help since makes Java apps to run on GPUs, FPGAs and more.

https://github.com/beehive-lab/TornadoVM
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: 3D rendering using GPU cores

Post by Daniels118 »

The render engines used in SH3D aren't written in java, they are external native code called using JNI.

By the way I'm working on a solution to unload our CPUs while rendering, I will provide more details in the next weeks. Stay tuned!
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3D rendering using GPU cores

Post by Puybaret »

Sorry, but SunFlow is written in Java.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: 3D rendering using GPU cores

Post by Daniels118 »

@Puybaret
Thanks for having pointed it out, I wrongly assumed that it uses a DLL like Yafaray does.

About porting java code under TornadoVM, I ask myself how much easy could it be. From a first look it seems that it's easy to port pieces of code that already looks like code that should run on a GPU (such as kernel operations), so I wonder how much of SunFlow is affine to this porting, considering that it has been designed to run on a CPU and may have just few routines that match the requirement.

A relatively easy improvement could be to not change SunFlow at all, but to implement an additional denoising step that would allow to have smooth images without having to render at larger resolution than required just to shrink them back to destroy the scratches. This could be applied after the rendering made with any engine, so the denoising code can be shared for both SunFlow and YafaRay. However, to reach the state of art in denoising algorithms, the render engine should be modified to output not just the pixel colors, but also the normal vectors of the rendered surfaces.

By the way I also wonder if anyone is going to try this integration.
User avatar
GaudiGalopin3324
Posts: 729
Joined: Sat Aug 13, 2022 9:58 am
Country: Russia

Re: 3D rendering using GPU cores

Post by GaudiGalopin3324 »

I'm reading with bated breath. Dear gurus. Please do something else for all of us. I will make a wish for the New Year so that the rendering will be faster). And we really need a fast YafaRay.
Loule
Posts: 3
Joined: Sat Jan 07, 2023 4:45 pm
Country: FR

Re: 3D rendering using GPU cores

Post by Loule »

The render engines used in SH3D aren't written in java, they are external native code called using JNI.

By the way I'm working on a solution to unload our CPUs while rendering, I will provide more details in the next weeks. Stay tuned!
Hi, any news about that? :)
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3D rendering using GPU cores

Post by Puybaret »

Don't believe too much in Santa Claus.
If it was simple, it would have been avalaible for a long time.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: 3D rendering using GPU cores

Post by Daniels118 »

I can give a little anticipation: the solution I'm working on will be cloud based, that means that you won't need to buy costly hardware to speed up your renderings. But, even more worthly, you can continue working on your home, or just power off your PC while the rendering is executed in the cloud. And, moreover, you will be able to render files made with SweetHome 3D Online, without the need to install the program on your PC.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest