Create GLB Object

rdolishny-6146
rdolishny-6146 Community Member Posts: 34 ☆ Roadie ☆
What's the best way to create (or export) a GLB object?

We're using Blender and Lightwave and can't find a GLB export option.

Comments

  • carlfink
    carlfink Community Member Posts: 947 ♦ Idol ♦
    I created a couple of of objects in Blender, then converted to GLB using this site: https://anyconv.com/glb-converter/

    It works really well.
  • rdolishny-6146
    rdolishny-6146 Community Member Posts: 34 ☆ Roadie ☆
    That site is a treasure. Thanks for sharing.
  • t_johnb
    t_johnb [email protected] Community Member Posts: 295 ☆ Roadie ☆
    Blender has a GLTF export, which is just the unpacked format of GLB. There are lots of sites that will pack that into a GLB.
  • tlcwithval
    tlcwithval Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 16 ☆ Roadie ☆
    Howdy all,
    I'm ready to start using the 3D options in CVR, but not a great variety to pick from? Are there any creative commons libraries for GLB's?
  • johnb
    johnb Community Member, Administrator, Rockstar Manager Posts: 71 eLearning ROCKSTAR Admin Team
    Sketchfab (https://sketchfab.com/) has over 300,000 models listed as Creative Commons. They all can be downloaded as gLTF. As mentioned above these can all be "packed" into a single file GLB.

    One note, I use the gLTF shell extension for Windows, makes it super easy to go from gLTF to gLB and vice versa (https://github.com/bghgary/glTF-Shell-Extensions/releases). You literally just right click on the file and select "Pack to Binary GLB".
  • tlcwithval
    tlcwithval Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 16 ☆ Roadie ☆
    @johnb AMAZING, took me all of 20 minutes to access Sketchfab and the gLTF shell ext from Windows....I did notice it took CVR a bit of time to let me play with them once I added. But EXCELLENT :smile:
  • carlfink
    carlfink Community Member Posts: 947 ♦ Idol ♦
    @tlcwithval, suggestion: test your new 3D models in whatever your target publishing format is, on all your target device platforms, before you spend too much time on development. I found that many of them produce unacceptable behavior on Apple iOS devices when published to SCORM, and some just plain don't work right in CVR at all. The Sketchfab ones by and large worked, but not every one.

    As John B. mentioned to me a while back, there's also some sort of incompatibility between (at least older) Oculus headsets and some SVG files to test for as well.
  • tlcwithval
    tlcwithval Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 16 ☆ Roadie ☆
    edited April 20, 2021
    @carlfink thanks for the heads up, will definitely keep it in mind. Wouldn't be great if @eLearningbrothers had some fun way of putting us together in a virtual room to "play" and learn new CVR applications together.... ;)
  • tlcwithval
    tlcwithval Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 16 ☆ Roadie ☆
    edited April 20, 2021
    Besides The Green Room of course...
  • carlfink
    carlfink Community Member Posts: 947 ♦ Idol ♦
    I like the idea of a virtual environment ... I wonder if that's in the game plan for CVR.
  • tlcwithval
    tlcwithval Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 16 ☆ Roadie ☆
    edited April 20, 2021
    @carlfink if we keep up this comment string they @elearningbrothers will have to give it to us....right @johnb :D
  • johnb
    johnb Community Member, Administrator, Rockstar Manager Posts: 71 eLearning ROCKSTAR Admin Team
    No comment....... ;-)
  • tlcwithval
    tlcwithval Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 16 ☆ Roadie ☆
    Hi all,
    Having some issues with the GLB's, I bring them into CVR and they are "invisible" I see the handles but the object isn't there???
  • carlfink
    carlfink Community Member Posts: 947 ♦ Idol ♦

    Hi all,
    Having some issues with the GLB's, I bring them into CVR and they are "invisible" I see the handles but the object isn't there???

    I have reported similar issues in the past.
    https://rockstars.elearningbrothers.com/discussion/comment/451476/#Comment_451476
    https://rockstars.elearningbrothers.com/discussion/448540/perspective-way-off-and-resizing-is-weird

    I've also had issues with specific GLBs. CVR can't handle certain models that display fine in other viewers. I used Blender to simplify the models (reduce the number of triangles) and merged as many subcomponents as possible, and that fixed the problem.
  • tlcwithval
    tlcwithval Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 16 ☆ Roadie ☆
    @carlfink that's a bummer. Also, shouldn't i be able to move the object around in preview mode, without adding any actions or variable?
  • carlfink
    carlfink Community Member Posts: 947 ♦ Idol ♦

    @carlfink that's a bummer. Also, shouldn't i be able to move the object around in preview mode, without adding any actions or variable?

    Yes. Yes, you should. As I say, I had a similar problem some months ago, which spontaneously vanished a few days later.
  • johnb
    johnb Community Member, Administrator, Rockstar Manager Posts: 71 eLearning ROCKSTAR Admin Team
    @tlcwithval 2D and 3D objects can be used as drag and drop items, and 3D objects can be set to be "spinnable". Just create your object as a hotspot and set it to "Interactive". You then have options of drag item, drop spot, or spin item. 3D objects by themselves are not interactive.
  • tlcwithval
    tlcwithval Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 16 ☆ Roadie ☆
    edited April 28, 2021
    @johnb that makes sense :) I thought I could do more ;) .
    What about my invisible problem with glb's?
    And what if a glb won't add as a hotspot?
  • johnb
    johnb Community Member, Administrator, Rockstar Manager Posts: 71 eLearning ROCKSTAR Admin Team
    On the "invisible" issue, not all 3D objects are "created equal", and those created in other formats and auto converted are not always up to par. If there is an issue with the object itself not being quite right, I've had some luck with random objects I've gotten off the internet by opening and re-saving them using Paint 3D on Windows. BTW, Paint 3D is actually a really cool way to create your own 3D objects as well, and they have quite an object library to choose from.

    Any GLB that can be added as a 3D Model can also be added as a hotspot, so not sure what you are seeing there.
  • carlfink
    carlfink Community Member Posts: 947 ♦ Idol ♦
    Thanks for the tip on Paint 3D.