3D space by @vveary on oncyber. Built in Annex0. 77 visits. Updated .
Gm, Anon. This is an in-metaverse tutorial on extracting meshes from .blend files to use in your own buidls. The free mint that unlocks this tutorial level can be found at oncyber.io/tutorial
Featuring chank_2, vveary, !CAUTION: BUIDL IN-PROGRESS, sick ash fonts.
Getting Blender animations to work as desired can get a bit... weird. For example, Blender 3.4 seems to have issues exporting animations for GLB/GLTF files, yet 3.2 and 3.3 export animations from the same .blends without issue. (Note: 3.5 was released recently, and the animation export is fixed in that version.) Check your Blender version if you're having issues with animated exports. Another place where things can get ~weird~ involves re-importing animations to Blender. Though parenting complex animations to an Empty works for duplication and movement within the same .blend, re-imports…
If you've haven't used Blender, it's an incredible open-source program for 3D development that's free - and complex. The 3D file extraction process in this tutorial has been created with the intent of being used without prior knowledge of Blender. However, to build your own metaverse worlds and use these files, you'll need to be somewhat familiar with Blender. Though a full "Blender 101" course is out of scope for this tutorial level, there are plenty of excellent guides for absolute beginners out there already -- for example:
In cases where a complex object consists of many individual meshes, it may be preferable to simplify that object into a single mesh by performing a "Join" operation (as opposed to parenting each mesh to an empty). There are situational pros and cons to each, but joined meshes are often best in cases where the need to edit individual components is overridden by ease of use. Several complex objects in this file have been joined and can be exported by their mesh alone, without an Empty.
This tutorial will aim to cover a general range of experience levels, and assumes a beginner-to-intermediate baseline. Depending on your familiarity with 3D software and metaverse development, you may be able to skip some/all of this guide. To extract the meshes in this tutorial, you'll first need to download the .blend file and open it in Blender. As a remindooor, the .blend file can be found in the token-gated area referenced in the token's metadata.
"What's that _pbr tag you keep slapping at the end of mesh file names?" I should have a better answer for this. Forgive me, as there are probably some best practices here being ignored. I'll update this if I wise up on this point. Basically, appending _pbr lets oncyber "catch" light on meshes, which makes stuf look fancier. I just slap it on most stuf for good measure, juuust in case. Get wise(r than I) on the next screen:
The structures in this file can be extracted, modified, and repurposed in your own builds. Though you can break up the pieces further and modify them as you like, the main structures have been parented to "Empties" for convenience. An Empty can be thought of as a file folder for 3D objects: if you move the "folder," whatever you've placed inside it moves as well (unless you specifically move one of the "files" inside).
"Uhm -- question, ser." Thank you for raising your hand, anon -- v. polite. Yes? "How do I... like... you know... make new stuf out of these." o. Didn't cover that, did I? If you're familiar with Blender, it should be fairly straightforward. If not... well. I may replace this with a tutorial video at some point. For now, consider this a placehodlooor.
Storing files in empties is called "parenting." This file follows a parenting structure specific to oncyber, while also using empties to group complex objects for easy import/export. For example, to export the first ramp you crossed over: > Expand the "collision" Empty > Expand "RampA-Empty" > Select that empty and the three meshes inside
This flipped and modified version of the stairs may serve as a platform, and has also been simplified into a joined mesh. It can be found and exported from the primary Empty tree "collisions" as "static-steps-joined-upside-down_pbr"
The staircase on the "cover" of this tutorial's token has been simplified into a single mesh using the join function. It can be found and exported from the primary Empty tree "collisions" under the name "complex-steps-joined_pbr"
The export process for individual animated objects in this file is mostly the same as the prior items, except you need to check the Animation box, and make sure that "Group by NLA" isn't selected.
Animations keyframed with static location will need to be parented to an Empty to be moved or repurposed. These floating frames, for example, use parented Empties:
Next, click: > File > Export > glTF 2.0 (.glb/.gltf) Then expand: > Include > Animation Check "Selected Objects" and UNCHECK all boxes under "Animation."
psst: this token? you're standing on it. well... what's inside the token, at least -- front-end collisions in oncyber: \o/
Enjoyed this tutorial? Wanna see more stuf like it exist? (a very weary hopefool make more stuf -- rent, for example):
<<< fun fact: the file size of this JPEG thumbnail (~160kb) is larger than the 3D file you're standing on (~35kb).