New Add-on: A-Frame Exporter for Native WebXR Experiences #105429

Open
Banyapon Poolsawas wants to merge 1 commits from daydev/blender-addons:main into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
First-time contributor

This pull request introduces a new Blender add-on designed to streamline the creation of native WebXR experiences using A-Frame. The exporter simplifies the process of converting your Blender scenes into interactive 3D content that can be viewed directly in web browsers supporting WebXR.

Key Features and Functionality:

Seamless Export: One-click export of Blender scenes to A-Frame HTML and GLB files.
WebXR Optimization: Includes A-Frame components for VR controller interaction and optimized rendering for WebXR devices.
Collision Detection: Built-in collision detection using A-Frame's physics system for interactive experiences.
Camera Controls: Provides WASD controls for easy camera navigation in the A-Frame scene.
Future-Proof: Leverages the latest A-Frame and WebXR standards for compatibility with current and upcoming browsers and devices.
Extensibility: The generated A-Frame code is easily customizable, allowing developers to add more complex interactions and features.
Technical Implementation Details:

GLTF Export: Utilizes Blender's GLTF exporter to generate optimized 3D models.
Geometry Conversion: Converts Blender geometry to THREE.BufferGeometry for compatibility with the latest A-Frame and three.js versions.
A-Frame Components: Adds essential A-Frame components for VR interaction, physics, and camera controls.
HTML Generation: Dynamically generates A-Frame HTML code that includes the exported model, scene setup, and necessary scripts.
This add-on aims to empower Blender users to create immersive WebXR experiences without requiring extensive knowledge of A-Frame or WebXR development. It provides a solid foundation for building interactive 3D content that can be easily shared and accessed on the web.

This pull request introduces a new Blender add-on designed to streamline the creation of native WebXR experiences using A-Frame. The exporter simplifies the process of converting your Blender scenes into interactive 3D content that can be viewed directly in web browsers supporting WebXR. **Key Features and Functionality:** **Seamless Export:** One-click export of Blender scenes to A-Frame HTML and GLB files. WebXR Optimization: Includes A-Frame components for VR controller interaction and optimized rendering for WebXR devices. Collision Detection: Built-in collision detection using A-Frame's physics system for interactive experiences. Camera Controls: Provides WASD controls for easy camera navigation in the A-Frame scene. Future-Proof: Leverages the latest A-Frame and WebXR standards for compatibility with current and upcoming browsers and devices. Extensibility: The generated A-Frame code is easily customizable, allowing developers to add more complex interactions and features. Technical Implementation Details: **GLTF Export:** Utilizes Blender's GLTF exporter to generate optimized 3D models. Geometry Conversion: Converts Blender geometry to THREE.BufferGeometry for compatibility with the latest A-Frame and three.js versions. A-Frame Components: Adds essential A-Frame components for VR interaction, physics, and camera controls. HTML Generation: Dynamically generates A-Frame HTML code that includes the exported model, scene setup, and necessary scripts. This add-on aims to empower Blender users to create immersive WebXR experiences without requiring extensive knowledge of A-Frame or WebXR development. It provides a solid foundation for building interactive 3D content that can be easily shared and accessed on the web.
Banyapon Poolsawas added 1 commit 2024-08-06 05:28:20 +02:00
Export GLB, favcion, vr controller
First-time contributor

You need to remove wasd-controls here. movement-controls provides keyboard-controls already. movement-controls is coming from aframe-extras so be sure to include the script https://cdn.jsdelivr.net/gh/c-frame/aframe-extras@7.5.1/dist/aframe-extras.min.js
And static-body coming from https://github.com/c-frame/aframe-physics-system

You need to remove `wasd-controls` here. movement-controls provides keyboard-controls already. movement-controls is coming from aframe-extras so be sure to include the script `https://cdn.jsdelivr.net/gh/c-frame/aframe-extras@7.5.1/dist/aframe-extras.min.js` And static-body coming from https://github.com/c-frame/aframe-physics-system
First-time contributor

Fyi this addons-repository is read-only from blender 4.2 ongoing. From my understanding only high prio bugfixes for existing addons for the active blender lts releases will get accepted.
For new addons please make them a blender 4.2 extension and upload them to https://extensions.blender.org/ if not already done.
How-Tos for extensions can be found here: https://docs.blender.org/manual/en/4.2/advanced/extensions/index.html

Fyi this addons-repository is read-only from blender 4.2 ongoing. From my understanding only high prio bugfixes for existing addons for the active blender lts releases will get accepted. For new addons please make them a blender 4.2 extension and upload them to https://extensions.blender.org/ if not already done. How-Tos for extensions can be found here: https://docs.blender.org/manual/en/4.2/advanced/extensions/index.html
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u main:daydev-main
git checkout daydev-main
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#105429
No description provided.