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

Add blender support to godot4 #114

Open
croxis opened this issue Jun 22, 2023 · 7 comments
Open

Add blender support to godot4 #114

croxis opened this issue Jun 22, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@croxis
Copy link

croxis commented Jun 22, 2023

GD4's blender importer requires blender to be installed.

@Calinou Calinou added the enhancement New feature or request label Jun 22, 2023
@Calinou
Copy link
Collaborator

Calinou commented Jun 22, 2023

The process is likely similar to the Android setup:

@croxis
Copy link
Author

croxis commented Jun 23, 2023

Is there a specific reason for using focal?

@Calinou
Copy link
Collaborator

Calinou commented Jun 23, 2023

Is there a specific reason for using focal?

I think it's mostly for legacy reasons, as we don't self-compile export templates (so we don't need to be running old Linux to compile binaries that are compatible with old Linux distributions).

That said, we don't recommend using distribution-provided Blender, as it's often outdated and may be modified in undesirable ways. Blender upstream themselves advises downloading Blender from the official source instead.

@lunarlabs
Copy link

lunarlabs commented Jul 17, 2023

You'll also need to get xz-utils in order to extract Blender, it looks like?

edit: Here's what I came up with for the import-assets job:

  stage: import-assets
  script:
    - apt-get update
    - apt-get install -y --no-install-recommends xz-utils
    - wget -nv https://mirrors.dotsrc.org/blender/release/Blender3.6/blender-3.6.0-linux-x64.tar.xz 
    - tar -xf blender-3.6.0-linux-x64.tar.xz
    - cd blender-3.6.0-linux-x64
    - pwd | sed 's/^/filesystem\/import\/blender\/blender3_path = \"/;s/$/"/' >> ~/.config/godot/editor_settings-4.tres
    - cd ..
    - godot -v -e --quit --headless

@croxis
Copy link
Author

croxis commented Jul 18, 2023 via email

@arnaudvergnet
Copy link

Hello, would you be open for contributions for a docker image pre-configured to use Blender ? Or at least a readme section with an example job to set up blender with the existing image.

@lunarlabs
Copy link

I could probably do a readme, sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants