f3d 2.5.0 → 3.3.0-RC5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +31 -0
- package/README.md +106 -0
- package/dist/f3d.js +14 -0
- package/dist/f3d.wasm +0 -0
- package/package.json +15 -21
- package/f3d.data +0 -0
- package/f3d.js +0 -19
- package/f3d.wasm +0 -0
- package/favicon.ico +0 -0
- package/index.html +0 -231
package/LICENSE.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
- Copyright 2019-2021 Kitware SAS
|
|
4
|
+
- Copyright 2021-2025 Michael Migliore, Mathieu Westphal
|
|
5
|
+
|
|
6
|
+
All rights reserved.
|
|
7
|
+
|
|
8
|
+
Redistribution and use in source and binary forms, with or without
|
|
9
|
+
modification, are permitted provided that the following conditions are met:
|
|
10
|
+
|
|
11
|
+
- Redistributions of source code must retain the above copyright notice, this
|
|
12
|
+
list of conditions and the following disclaimer.
|
|
13
|
+
|
|
14
|
+
- Redistributions in binary form must reproduce the above copyright notice,
|
|
15
|
+
this list of conditions and the following disclaimer in the documentation
|
|
16
|
+
and/or other materials provided with the distribution.
|
|
17
|
+
|
|
18
|
+
- Neither the name of the copyright holder nor the names of its
|
|
19
|
+
contributors may be used to endorse or promote products derived from
|
|
20
|
+
this software without specific prior written permission.
|
|
21
|
+
|
|
22
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
23
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
24
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
25
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
26
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
27
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
28
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
29
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
30
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
31
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
[](https://github.com/f3d-app/f3d/actions/workflows/ci.yml) [](https://github.com/f3d-app/f3d-superbuild) [](https://codecov.io/gh/f3d-app/f3d) [](https://github.com/f3d-app/f3d/releases) [](https://github.com/sponsors/f3d-app) [](https://discord.f3d.app) [](CODE_OF_CONDUCT.md)
|
|
2
|
+
|
|
3
|
+
# F3D - Fast and minimalist 3D viewer
|
|
4
|
+
|
|
5
|
+
By Michael Migliore and Mathieu Westphal.
|
|
6
|
+
|
|
7
|
+
<img src="https://raw.githubusercontent.com/f3d-app/f3d/master/resources/logo.svg" align="left" width="20px"/>
|
|
8
|
+
F3D (pronounced `/fɛd/`) is a fast and minimalist 3D viewer desktop application. It supports many file formats, from digital content to scientific datasets (including glTF, USD, STL, STEP, PLY, OBJ, FBX, Alembic), can show animations and support thumbnails and many rendering and texturing options including real time physically based rendering and raytracing.
|
|
9
|
+
<br clear="left"/>
|
|
10
|
+
|
|
11
|
+
It is fully controllable from the command line and support configuration files. It can provide thumbnails, support interactive hotkeys, drag&drop and integration into file managers.
|
|
12
|
+
|
|
13
|
+
F3D also contains the libf3d, a simple library to render meshes, with a C++17 API, Python Bindings, and experimental Java and Javascript bindings.
|
|
14
|
+
|
|
15
|
+
<img src="https://media.githubusercontent.com/media/f3d-app/f3d-media/95b76c22d927bb24759bbe0246b6260121f2933b/media/typical.png" width="640" />
|
|
16
|
+
|
|
17
|
+
_A typical render by F3D_
|
|
18
|
+
|
|
19
|
+
<img src="https://user-images.githubusercontent.com/3129530/194735261-dd6f1c1c-fa57-47b0-9d27-f735d18ccd5e.gif" width="640" />
|
|
20
|
+
|
|
21
|
+
_Animation of a glTF file within F3D_
|
|
22
|
+
|
|
23
|
+
<img src="https://user-images.githubusercontent.com/3129530/194735272-5bcd3e7c-a333-41f5-8066-9b0bec9885e8.png" width="640" />
|
|
24
|
+
|
|
25
|
+
_A direct scalars render by F3D_
|
|
26
|
+
|
|
27
|
+
See the [gallery](https://f3d.app/gallery) for more images, take a look at the [changelog](doc/CHANGELOG.md) or go to the [download page](https://f3d.app/download) to download and install F3D!
|
|
28
|
+
|
|
29
|
+
You can even use F3D directly in your [browser](https://f3d.app/viewer)!
|
|
30
|
+
|
|
31
|
+
If you need any help or want to discuss with other F3D users and developers, head over to our [discord](https://discord.f3d.app).
|
|
32
|
+
|
|
33
|
+
# Quickstart
|
|
34
|
+
|
|
35
|
+
Open a file directly in F3D or from the command line by running:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
f3d /path/to/file.ext
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Optionally, append `--output=/path/to/img.png` to save the rendering into an image file.
|
|
42
|
+
|
|
43
|
+
See the [Quickstart Guide](doc/user/QUICKSTART.md) for more information about getting started with F3D.
|
|
44
|
+
|
|
45
|
+
# Documentation
|
|
46
|
+
|
|
47
|
+
- To get started, please take a look at the [user documentation](doc/user/QUICKSTART.md).
|
|
48
|
+
- If you need any help, are looking for a feature or found a bug, please open an [issue](https://github.com/f3d-app/f3d/issues).
|
|
49
|
+
- If you want to use the libf3d, please take a look at its [documentation](doc/libf3d/OVERVIEW.md).
|
|
50
|
+
- If you want to build F3D, please take a look at the [contribution guide](CONTRIBUTING.md).
|
|
51
|
+
|
|
52
|
+
# Support
|
|
53
|
+
|
|
54
|
+
F3D needs your help!
|
|
55
|
+
|
|
56
|
+
If you can, please consider sponsoring F3D. Even a small donation would help us offset the recurring maintenance costs.
|
|
57
|
+
With enough sponsors we would be able to make F3D grow faster and stronger! Read more about it [here](https://f3d.app/thanks).
|
|
58
|
+
|
|
59
|
+
If you are an industry user of F3D and want to make sure it can keep growing and being maintained, [please reach out](https://f3d.app/thanks)!
|
|
60
|
+
|
|
61
|
+
In any case, please star it on github and share the word about it!
|
|
62
|
+
|
|
63
|
+
## Sponsors
|
|
64
|
+
|
|
65
|
+
Many thanks to our sponsors for supporting F3D
|
|
66
|
+
|
|
67
|
+
<a href="https://nlnet.nl/project/F3D/" target="_blank"><img src="https://nlnet.nl/image/logos/NGI0Core_tag.svg" height="45"/></a>
|
|
68
|
+
<a href="https://www.lambdatest.com/?utm_source=f3d&utm_medium=sponsor" target="_blank"><img src="https://www.lambdatest.com/blue-logo.png" height="45" /></a>
|
|
69
|
+
<a href="https://www.opendronemap.org/" target="_blank"><img src="https://f3d.app/assets/images/opendronemap-95d4ad6e24c091a06ec00e1828e1eb38.png" height="45" /></a>
|
|
70
|
+
|
|
71
|
+
# Vision
|
|
72
|
+
|
|
73
|
+
As a minimalist 3D viewer F3D aims to:
|
|
74
|
+
|
|
75
|
+
- Support as many 3D file formats as possible
|
|
76
|
+
- Support many types of renderings (textures, edges, etc... ) and visualizations (meshes, volumic, point sprites)
|
|
77
|
+
- Support any and all use-cases dealing with 3D datasets
|
|
78
|
+
- Let any user easily and quickly view any model with good defaults
|
|
79
|
+
- Be as configurable as possible
|
|
80
|
+
- Be fully controllable from the command line and configuration file
|
|
81
|
+
- Be usable non-interactively
|
|
82
|
+
- Be as modular as possible to be built with a small number of dependencies
|
|
83
|
+
|
|
84
|
+
but there is no plan to:
|
|
85
|
+
|
|
86
|
+
- Provide a classic mouse-based UI, with menus and buttons
|
|
87
|
+
- Provide data processing tools
|
|
88
|
+
- Provide export feature
|
|
89
|
+
|
|
90
|
+
# Contributing
|
|
91
|
+
|
|
92
|
+
F3D as a community-driven, inclusive and beginner-friendly project. We love to see how the project is growing thanks to the contributions from the community. We would love to see your face in the list below! If you want to contribute to F3D, you are very welcome to! Take a look at our [contribution documentation](CONTRIBUTING.md), [governance documentation](https://f3d.app/dev/GOVERNANCE) and [code of conduct](CODE_OF_CONDUCT.md).
|
|
93
|
+
|
|
94
|
+
<a href="https://github.com/f3d-app/f3d/graphs/contributors">
|
|
95
|
+
<img src="https://contrib.rocks/image?repo=f3d-app/f3d" />
|
|
96
|
+
</a>
|
|
97
|
+
|
|
98
|
+
# Acknowledgments
|
|
99
|
+
|
|
100
|
+
F3D was initially created by [Kitware SAS](https://www.kitware.eu/) and is relying on many awesome open source projects, including [VTK](https://vtk.org/), [OCCT](https://dev.opencascade.org/), [Assimp](https://www.assimp.org/), [Alembic](http://www.alembic.io/), [Draco](https://google.github.io/draco/), [OpenUSD](https://openusd.org/release/index.html), [OpenVDB](https://www.openvdb.org/), [OSPRay](https://www.ospray.org/) and [ImGui](https://github.com/ocornut/imgui/).
|
|
101
|
+
|
|
102
|
+
# License
|
|
103
|
+
|
|
104
|
+
F3D can be used and distributed under the 3-Clause BSD License, see the [license](LICENSE.md).
|
|
105
|
+
F3D integrate the sources of other libraries and tools, all under permissive licenses, see the [third party licenses](THIRD_PARTY_LICENSES.md).
|
|
106
|
+
F3D packages relies on other libraries and tools, all under permissive licenses, all listed in the respective packages.
|