f3d
f3d copied to clipboard
Add a `--normalize-coordinates` CLI option
Is your feature request related to a problem? Please describe. F3D (and VTK) is not great a showing data located on larger bounds or on small bounds but far away from the origin. This is a typical issue with rendering and 3D computation.
Lets add a --normalize-coordinates CLI option that will normalize the coordinates of the displayed models
Describe the solution you'd like
- Add a new
--normalize-coordinatesCLI options - Add a new corresponding libf3d options
- Implement this options in the right location (see notes)
- Add testing and doc
Notes It is not clear where the implementation should happen, there is three possibilities:
- At specific importer level: Not possible, this require changes in VTK
- At vtkF3DMetaImporter level: Possible but will normalize each actor, not the whole scene
- At vtkF3DRendererLevel: Possible, but special care for the sciviz mode is needed
I drafted command line option support. I got stuck since rendering issue persists after I apply the shift.