New Add-on: A-Frame Exporter for Native WebXR Experiences #105429
No reviewers
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105429
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "daydev/blender-addons:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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 scripthttps://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
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
Checkout
From your project repository, check out a new branch and test the changes.