Forum

Blend4web Demo on Hololens

11 April 2017 15:21
Just suffered the blend4web site on Microsoft Hololens’ Edge browser, due to Edge's support WebGL, most of the official demos can run directly with small shortages.
It's an interesting experience to play blend4web demo on Hololens.


Demo car_bv_eb164 Screenshots:




Demo Space_disaster Screenshots:
The Space disaster demo can't rotate the camera.


11 April 2017 15:53
Lijun, thanks for sharing your experience! Great to know Blend4Web works with Hololens.
The Founder | Twitter
12 April 2017 17:13
Hi, Yuri, it's my pleasure. I'd like to Explore more possibilities of Blend4Beb.
11 May 2017 07:24
Guys,

This is not B4W 'working' on hololens.
Hololens runs windows 10 which runs Edge.
This is B4W working on Edge Browser which is not worth celebrating really ;)

Visual Studio & Unity export to hololens and you are immersed in the 3D scene the same as VR.
https://developer.microsoft.com/en-us/windows/mixed-reality/galaxy_explorer

We should be thinking similar to the way that b4w integrates with HTC-Vive.

Take the Blend4Web Solar system demo and instead of having a 3D background make it transparent.
Is it possible to get the canvas to be completely transparent in chromium?

(update!)
all you need to do to achieve the holographic effect is transmit any screen on to a transparent glass at 45 degree angle, the background you use doesn't matter but black seems to work best.
(update!)

You could achieve a similar effect on a phone by replacing the background with the input from the camera. Make canvas transparent and put camera video behind it?
11 May 2017 18:16
https://www.youtube.com/watch?v=RatFVf7LqUw
11 May 2017 19:23
Yes, v3ny.

I totally agreed with that b4w is only working on Edge browser. I said that due to Edge's support WebGL, that b4w demo page can run directly, and Microsoft Edge only has preview support for WebVR now.

As the "galaxy_explorer" demo, it's totally developed in unity and visual studio, it a native application for HoloLens. It's a different process with blend4web workflow. It depends on HoloLens's SLAM ability that you can go into the immersive galaxy.

But for opening b4w demo on a web page, it's like you can place several new windows in an immersive environment, each one has a 3D content. As open multiple Edge thread is allowed in HoloLens Windows, so you can place multi 2D windows at different space area.

Just a test for b4w.

For more HoloLens develop process, Microsoft gave out their workflow, all for unity. I have test one, it's complicated and at present can't be easily used by designers.
Here are the links:
https://developer.microsoft.com/en-us/windows/mixed-reality/academy
https://developer.microsoft.com/en-us/windows/mixed-reality/development
12 May 2017 03:18
I've used hololens and I've seen a game working on it.

You can get a similar effect to hololense holographic display like this
https://www.youtube.com/watch?v=2PH_WpO0_Io
https://youtu.be/SKIdY-cOAz0
Instead of a youtube video on the phone replace with a custom b4w player with 4 canvases perhaps.

If the code for HTC Vive gives access to a gyro, accelerometer and 9 Degrees of Freedom (DOF) sensor then you can make it feel like the 3d room around you is static by applying head movement to b4w camera.

move the b4w camera exactly like the head movements of the user and give the impression that the objects and the whole room is in a static location in 3D space.

Granted, hololens scans your surroundings and lets your mesh objects interact with the scanned environment. Hololens AR and HTC-Vive VR are not that much different in the way they work.

What I'm trying to get at is that it would be possible to simulate some of these effects now with b4w.

A phone has gyro and b4w can access it so even this example
https://youtu.be/CM3X4b4NBnQ
could be done better with b4w by moving b4w camera using opposite motion of detected phone gyro. You could give the effect that the object is independent and static in the scene flying camera around with gyro feedback.
12 May 2017 07:56
Interesting, AR uses SLAM

https://www.youtube.com/watch?v=_cmPFsBOquk
14 May 2017 22:01
It appears that there might be a way to fully integrate Blend4Web Apps inside HoloLens with 3d objects rendered as though they were really in the scene so essentially holographic rendering…

Microsoft created an MIT licensed solution;
https://github.com/Microsoft/HoloJS

This will… host Chakra to run JavaScript code, and also hosts ANGLE to handle OpenGL ES graphics calls. OpenGL ES calls are translated from WebGL calls by the JavaScript app. When running on a Microsoft HoloLens, HoloJS supports holographic rendering.

I will try to test Blend4Web with this although I do not have a HoloLens but there is an emulator.
16 May 2017 20:23
Great find drew!

thanks!

I think that is still only for 2 dimensional planes not 3d environments.
 
Please register or log in to leave a reply.