f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Clipping during animations

Open mwestphal opened this issue 3 years ago • 1 comments

The bones transformation is not taken into consideration when VTK is computing the clipping planes. If there is a large scaling transform, clipping artifacts are visible.

mwestphal avatar Nov 12 '21 22:11 mwestphal

https://gitlab.kitware.com/f3d/f3d/-/issues/250

mwestphal avatar Nov 12 '21 22:11 mwestphal

I've reworded this issue @Meakk, I thanks it is an important one.

mwestphal avatar Feb 04 '23 11:02 mwestphal

Some data to test with: untitled.zip

stl: stl

glb: glb

dae: dae

fbx: fbx

So there seems to be an issue specific to fbx, and a more generic issue with importers in general

mwestphal avatar Feb 04 '23 11:02 mwestphal

Do you have an idea for a fix @Meakk ? If not will move it back

mwestphal avatar May 14 '23 06:05 mwestphal

I don't have a solution right now, it will need some research

Meakk avatar May 14 '23 07:05 Meakk

Unless I'm mistaken, we "just" need to recovert the right bounding box for the data. I think the mapper could compute it and provide it, what do you think @Meakk ?

mwestphal avatar Jan 22 '24 07:01 mwestphal

Yes, we need to override ComputeBounds() in the F3D mapper and take into account the bone positions.

Meakk avatar Jan 22 '24 07:01 Meakk

Do you think you could improve the description in order to make it clear how this could be implemented ?

mwestphal avatar Jan 22 '24 07:01 mwestphal