BabylonJS / BabylonToolkit

Home of the community maintained Unity & Unreal exporters for Babylon.js
173 stars 46 forks source link

No default project file selected ? #33

Closed pxim closed 3 years ago

pxim commented 3 years ago

image

I've clearly selected the model file

unity 2020.2 unityExporter Babylon Editor Toolkit (Early 2020).unitypackage

8

MackeyK24 commented 3 years ago

It look like you dont have the project export folder setup properly. I have outlined the project export folder section.

Screen Shot 2021-07-28 at 10 27 14 AM

pxim commented 3 years ago

It look like you dont have the project export folder setup properly. I have outlined the project export folder section.

image

https://github.com/prefrontalcortex/UnityGLTF This plug-in is less powerful, but at least it can export GLTF normally in unity2020

MackeyK24 commented 3 years ago

Now it looks like you dont have default light settings

Screen Shot 2021-07-28 at 6 39 38 PM

MackeyK24 commented 3 years ago

Her is a video i made for baking lightmaps. But the beginning part of this video does all the actual project setup...

All the project settings and Light Settings to get started

https://babylontoolkit.com/videos/testlightmaps.mp4

pxim commented 3 years ago

Her is a video i made for baking lightmaps. But the beginning part of this video does all the actual project setup...

All the project settings and Light Settings to get started

https://babylontoolkit.com/videos/testlightmaps.mp4

First of all, thank you very much for this detailed video . But,This looks like a lot of trouble .

Is there an easy to use method,like https://github.com/BabylonJS/Exporters/releases . This plugin for exporting GLTF is especially useful in Max , and it's easy to get started .


unity 2020.2 + Babylon Editor Toolkit 2019.unitypackage Can be used normally. image image

But the exported scene is only in Babylon format . I want the GLB format .


unity 2020.2 + Babylon Editor Toolkit (Early 2020).unitypackage unity 2020.2 + 2021/Babylon Editor Toolkit.unitypackage None of them work properly


This is the example https://drive.google.com/file/d/1AY6DyfkfVoEKOQciKTLlAb00jAPJMIvy/view?usp=sharing

MackeyK24 commented 3 years ago

My latest toolkits are for creating entire babylon projects right in the unity editor. It focus on using the babylon.mamanger.js extension to make game development in BabylonJS more Unity Like. We use Script components on top of that to add logic.

You can actually turn off all the meta data and set to right handed export... that we produce a PLAIN GLTF (Like UnityGLTF). But you dont get ANY of the extras i add to the toolkit that the scene manager parses... like lightmaps.

Anyways... the latest versions work as expected. It is what we use daily at my job to create 3D content. Check out what you can make with the toolkit: https://www.vx360events.com/

But you can always just use blender or max or what ever to make your standard gltf content.

You could also try fixing up the UnityGLTF exporter to your liking

My toolkit is for creating content for the babylon.manager.js extension

Best of luck with whatever you decide to use :)

pxim commented 3 years ago

Ok, thank you for advice .

unity 2020.2 + Babylon Editor Toolkit (Early 2020).unitypackage Now I have added the light map , then GLB and scene can export normally .

But the model animation is not brought out .


Select the entire scene, then Babylon → Scene Exporter → Project Publishing → Export File Format → GLB → Export Scene . image

I put the exported GLB on this website and found it has animation https://gltf-viewer.donmccurdy.com/

This method can be used to export animations from Unity

Very good !

MackeyK24 commented 3 years ago

As i mention... You can turn OFF METADATA, select RIGHT HANDED and PRIMITIVE MESHES from the options... That will make a regular right handed GLTF without extra unity metadata... Basically a plain old GTLF with PBR materials and it also includes animations

pxim commented 3 years ago

As i mention... You can turn OFF METADATA, select RIGHT HANDED and PRIMITIVE MESHES from the options... That will make a regular right handed GLTF without extra unity metadata... Basically a plain old GTLF with PBR materials and it also includes animations

Yes, as you said, thank you very much .


Can add a function configuration Draco compression when exporting GLB .