Open Hanning-Liu opened 7 months ago
Thank you for your reply! I'm considering adding a feature to the StereoKit Ink APP that would allow importing 3D models for painting. I think it's really hard to do AR/VR development without a GUI like Unity. So are you seriously speaking of “StereoKit is an alternative to Unity.”?
Sounds cool! :)
StereoKit's objectives and motivations are different from Unity, but it is still a serious alternative to those who jive with it :)
My personal experience with Unity was that on all the projects I worked on, I would always build custom editors. The scene editor GUI was not a good experience for most of the tasks I needed to do, and the code architecture was very opinionated in a direction that encouraged bad programming practices.
StereoKit makes it very easy to build custom editors, and design an architecture that is right for your specific application. I design SK's API with the idea in mind that it's the UX of the engine, and that makes the code API a pretty nice experience. It does mean that designers who can't code may need to pair with a programmer to get designer friendly tools for the project, but that's not unusual, just a little extra necessary here.
Hi maluoi! I'm tring to do some AR sketch work just as the video I uploaded. https://github.com/StereoKit/StereoKit-PaintTutorial/assets/42676581/38bece8b-8ccd-43c7-bd16-96c80e8eb637
And I tried to import a .glb model case1.zip to the Ink APP and the snapshot of the code change I made is below. But the app will crash as long as I open it on my HoloLens 2. Do you know the possible reason or solution to this model import problem? Thank you in advance!
StereoKit uses an asset folder prefix to help smooth out differences between platforms. You should call FromFile
with just the "Assets/"
folder relative name, so: Model.FromFile("case1.glb")
You should also be able to see messages about this in the debug output window :)
Thank you maluoi, I deployed this app to HoloLens 2 without debuging yesterday. 🤦♂️ I will give it a try after my recent rush time! I also find an alternative choice which is a Unity hand drawing project https://github.com/mertusta1996/Drawer-Hololens2-Unity This is a draft level project but I added the feature of outputing the point list to a txt file. It can solve my pressing needs for now.
StereoKit is an alternative to Unity. Porting an app to and from StereoKit / Unity would require knowledge of both engines, and a good chunk of re-architecting.