Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FBX Geometry Importer #44

Open
Tracked by #5
STREGA opened this issue Oct 1, 2023 · 0 comments
Open
Tracked by #5

FBX Geometry Importer #44

STREGA opened this issue Oct 1, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@STREGA
Copy link
Contributor

STREGA commented Oct 1, 2023

Create a new GeometryImporter for FBX files.
This is a moderate difficulty issue.
If you have no experience working with geometry data there will be a learning curve.

Use the uFBX module which is already a part of GateEngine.
import uFBX

Name this new importer FBXImporter.

Add your loader to the geometry importers here. This is where built-in importers are located.

Use only GateEngine APIs for data loading, do not use any file APIs included in the uFBX module.
See the OBJ loader as an example of how a geometry importer works.

Use Blender to create an FBX file to test with. It can simply be the default cube or whatever you wish.

Create an executable package to test with. It would be easy to copy the RotatingCube code to your test package and replace the cube with your fbx test file.

Xcode Tip:
In Xcode if your project package and the GateEngine package exist in the same xcworkspace document, then it will build with that local copy of GateEngine as you make changes.
Make a new workspace in Xcode then open your package in Xcode, and drag the package icon into the workspace.
Repeat for your GateEngine fork.
Dragging the Package.swift file does not work, you need to open it then drag the package icon in the project navigator.

@STREGA STREGA added enhancement New feature or request good first issue Good for newcomers labels Oct 1, 2023
This was referenced Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant