f3d icon indicating copy to clipboard operation
f3d copied to clipboard

grid do not work with raytracing

Open mwestphal opened this issue 3 years ago • 3 comments

Describe the bug grid do not work with raytracing

To Reproduce Steps to reproduce the behavior:

  1. Open the file using f3d --dry-run -rng
  2. Rendering is incorrect

a

Expected behavior Like this but raytracing:

a

System Information:

  • OS: Archlinux

F3D Information 1.3.1

Additional context Interactively disabling and enabling raytracing makes the filenames appears. Grid never appears.

mwestphal avatar Nov 13 '22 09:11 mwestphal

@Meakk any idea if we can ever fix that for the grid ?

Text actor will be fixed once we have #1077

mwestphal avatar Jan 23 '24 07:01 mwestphal

I think I already fixed the text actor by running OSPRay pass for 3D objects only and have another OpenGL pass for the overlay.
Regarding the grid, it might be possible if we can retrieve the depth buffer from OSPRay and composite the grid on top of it.

Meakk avatar Jan 23 '24 09:01 Meakk

I think I already fixed the text actor by running OSPRay pass for 3D objects

Indeed!

mwestphal avatar Jan 23 '24 13:01 mwestphal