f3d icon indicating copy to clipboard operation
f3d copied to clipboard

GPU Rendering for Raytracing

Open jemabaris opened this issue 7 months ago • 3 comments

First of all thank you to everyone involved making this great tool. I love it's simplicity and sleekness. I hadn't updated F3D for some time and was very pleased to see that it even includes a Raytracing engine now. Just a quick question: Are there any plans to support Optix for rendering in the future? CPU performance is also not the best from what I can tell so far. It's pretty slow on my 16 core CPU compared to other path traced CPU renderers.

Thanks again and have a good week everybody :)

jemabaris avatar May 06 '25 12:05 jemabaris

Hi @jemabaris !

While we could add support through VTK which supports VisRTX which is based on Optix, this comes with complications because Optix is not open source software which comes with complexities we are not confortable with (Licensing, TOS, redistribution,...)

This is not likely to happen.

That being said Anari is being integrated into VTK as we speak, and we can expect anari to support raytracing at some point, so that may happen.

Another way would be through OSPray 3.0, but intel has not been very active with OSPRay these days, so I don't think this is going to happen.

I'll keep that issue open for now, thanks for opening it!

mwestphal avatar May 06 '25 13:05 mwestphal

Hey, thanks for the fast reply! I'm not familiar with Anari, will have to read up on it. I wonder how Blender does it then as they are also open source?

Would be anyway great to have some form of faster Raytracing :)

Oh and while I'm already here, I have a question about HDRIs in F3D. I know that you can drag an HDRI into F3D but is there a default one if you don't drag your own in? Also which file formats are supported for HDRIs and can the default one (in case there is one) be replaced with a custom one?

jemabaris avatar May 06 '25 13:05 jemabaris

I wonder how Blender does it then as they are also open source?

Optix not being open source doesn't prevent open source software to use it if they want, it's just cumbersome to ship.

I know that you can drag an HDRI into F3D but is there a default one if you don't drag your own in?

Yes! Since F3D 2.5.0 I believe.

Also which file formats are supported for HDRIs can the default one (in case there is one) be replaced with a custom one?

Any image format should work but prefer of course .hdr and .exr for proper HDRI values.

the default one (in case there is one) be replaced with a custom one?

Of course, you can change any default using the config file: https://f3d.app/doc/user/CONFIGURATION_FILE.html

By the way such question are more adapted for our discord: https://discord.f3d.app, see you there I hope :)

mwestphal avatar May 06 '25 14:05 mwestphal

Anari is currently being added to VTK, we should be able to use that in the future

mwestphal avatar Jun 18 '25 05:06 mwestphal