Shenmue - 360º Panoramas

(Modding and other series related projects)

Shenmue - 360º Panoramas

Postby ner0 » Sat Feb 18, 2017 5:46 pm

I'm playing around with panorama software and thought it would be interesting to try and stitch together Shenmue panoramas. It turns out that it is much harder to accomplish than in most 3D games, where you can control the camera steadily. Nevertheless, here's one test that didn't turn out as disastrous as the previous ones:

Hazuki Residence's front yard

The most useful camera mode is zoom mode but it has a few issues of it's own. For one it zooms in and locks onto objects of interest (none on this angle fortunately). The other issue with this camera mode is when you point the camera towards the ground it starts zooming in much further than on other angles.

The normal camera mode is worse though. With normal camera, even though you can make Ryo invisible and make it look as an FPS view, the camera rotation is limited to something like 180º and besides the camera zooms in when reaching it's limits. Rotating the character itself is also not good enough for two reasons, one is that it's limited to the X axis, the other is that the player moves a bit around it's own X axis which changes the angle enough to screw the final result.

If anyone knows any trick/code to rotate the camera axis steadily, that would help make awesome panoramas.
Last edited by ner0 on Mon Feb 20, 2017 4:50 pm, edited 2 times in total.

ner0
Asia Travel Representative
Asia Travel Representative
 
Joined: January 2017
Favorite title: Shenmue
Currently playing: Shenmue

Re: Shenmue - 360º Panoramas

Postby Jibby » Sun Feb 19, 2017 11:54 am

Looks great!
User avatar
Jibby
I see.
Alpha Trading Boss
 
Joined: February 2014
Location: Scotland
Favorite title: Shenmue II

Re: Shenmue - 360º Panoramas

Postby ner0 » Sun Feb 19, 2017 4:09 pm

Thanks.
I did a new stitch with proper aspect ratio. It looks much better.
ner0
Asia Travel Representative
Asia Travel Representative
 
Joined: January 2017
Favorite title: Shenmue
Currently playing: Shenmue

Re: Shenmue - 360º Panoramas

Postby Yokosuka » Mon Feb 20, 2017 10:15 am

Please, make this compatible with VR!!!!!!!!!!!!!
User avatar
Yokosuka
Machine Gun Fist
Machine Gun Fist
 
Joined: August 2014
Location: France
Favorite title: Shenmue II
Currently playing: Rocket League

Re: Shenmue - 360º Panoramas

Postby ner0 » Mon Feb 20, 2017 5:02 pm

Yokosuka wrote: Please, make this compatible with VR!!!!!!!!!!!!!

In fact I had thought about it just a while ago but unfortunately I can't test it because I don't have VR hardware. In any case, I leave bellow the original and maybe someone can either convert it or use it with their VR panorama software viewer.

Image

I came across this bit of information about some of the existing support for 360 panoramas for VR headsets too, see bellow.

RIFT & DK2:
To View on the RIft/DK2 through the Oculus Store:

1. Unzip and move the folder to
C:\Users\YourName\Pictures\OculusPhotos

2. Open Oculus app "360 photos" in the Oculus store/home
3. Press the B button to bring up the menu
4. Go to "my photos" and browse into "iOMoonPanos"

You can pause the slideshow with A button, and advance with left analog or dpad


GEARVR:
1. Unzip and Copy or move the folder to (this example is on sd card)
\Card\Oculus\360Photos\

2. Open Oculus app "360 photos" in the Oculus store
3. click Back button on Gear VR to bring up menu
4. Go to "my photos" and browse into "iOMoonPanos"

HTC VIVE:
Try Whirligig on STEAM: http://store.steampowered.com/app/451650/

Source: http://www.headtripgames.com/blog/5/2/year


Also, this panorama viewer is very cool in that it supports some form of gyroscopic sensor*: https://cdn.pannellum.org/2.3/pannellum ... oRotate=-5

*unsure if that is useful for VR headsets other than those powered by mobile devices

ner0 has received a thanks from: Yokosuka
ner0
Asia Travel Representative
Asia Travel Representative
 
Joined: January 2017
Favorite title: Shenmue
Currently playing: Shenmue

Re: Shenmue - 360º Panoramas

Postby Yokosuka » Mon Feb 20, 2017 5:14 pm

Have you the same panorama for the right/left eye? This way, maybe I can get a 3D panorama.
User avatar
Yokosuka
Machine Gun Fist
Machine Gun Fist
 
Joined: August 2014
Location: France
Favorite title: Shenmue II
Currently playing: Rocket League

Re: Shenmue - 360º Panoramas

Postby ner0 » Mon Feb 20, 2017 5:29 pm

Yokosuka wrote: Have you the same panorama for the right/left eye? This way, maybe I can get a 3D panorama.

No, I do not. But the information I read led me to believe that existing 360º panorama viewers for VR headsets would do that on the fly.

EDIT: I read a bit more information online and so far everything suggests that the image that I provide should work just fine for VR. Here's an example of such discussions: http://stackoverflow.com/questions/4212 ... or-cubemap

By the way, the image that I provided is equirectangular, I can convert to cubemap too but don't see the point at the moment.
ner0
Asia Travel Representative
Asia Travel Representative
 
Joined: January 2017
Favorite title: Shenmue
Currently playing: Shenmue

Re: Shenmue - 360º Panoramas

Postby ner0 » Mon Feb 20, 2017 6:57 pm

I tested a trial version of a software called Pano2VR which supposedly does that VR setup.
As I don't have any means of actually testing this I appreciate if someone can try it and tell me if this actually works:

https://mega.nz/#!X1IATRjK!2vM5K0a_BKi6YZQbS4WOea9jpH2vPoxDnWXrhlMZru0

This zip file contains a portable webserver for Windows (includes Apache, PHP and MySQL).
Extract the folder from it and run the file 'usbwebserver.exe', it should then automatically open your browser on the local address which will load the test VR panorama. I hope it works.
ner0
Asia Travel Representative
Asia Travel Representative
 
Joined: January 2017
Favorite title: Shenmue
Currently playing: Shenmue

Re: Shenmue - 360º Panoramas

Postby ReeceKun » Tue Feb 21, 2017 11:15 am

This can be done inside 3DS max with Vray, infact I will do it to show off my new shenmue models :p
https://www.youtube.com/watch?v=rwvh8ZrNyt0

ReeceKun has received a thanks from: ner0
User avatar
ReeceKun
Man Mo Acolyte
Man Mo Acolyte
 
Joined: November 2009
Location: North Wales (UK)
Favorite title: Shenmue
Currently playing: Skyrim

Re: Shenmue - 360º Panoramas

Postby Jibby » Tue Feb 21, 2017 8:03 pm

I've got a GearVR. Will try this out and report back!

Jibby has received a thanks from: ner0
User avatar
Jibby
I see.
Alpha Trading Boss
 
Joined: February 2014
Location: Scotland
Favorite title: Shenmue II

Re: Shenmue - 360º Panoramas

Postby ner0 » Sun Feb 26, 2017 5:45 pm

Oculus Rift owners could potentially use LiveViewRift, which I think is freeware and is available for Windows and Mac. Check it out here: http://soft.viarum.com/liveviewrift/

Here's a demo video:
phpBB [video]


Note: Jump to minute 8 to see equirectangular panorama being tested.

In general there are promising web plugins (like 'WebVR') that could be compatible with a wide array of VR devices. Try this demo and leave feedback if possible: https://krpano.com/tours/corfu/

WebVR is an experimental JavaScript API that provides access to Virtual Reality devices, such as the Oculus Rift, HTC Vive, Samsung Gear VR, or Google Cardboard, in your browser. The WebVR API is currently available in Firefox Nightly builds, in Chrome 56+ for Android and experimental builds of Chromium for Windows, and in the Samsung Internet Browser for Gear VR.

More info at: https://webvr.info/

ner0 has received a thanks from: Yokosuka
ner0
Asia Travel Representative
Asia Travel Representative
 
Joined: January 2017
Favorite title: Shenmue
Currently playing: Shenmue

Re: Shenmue - 360º Panoramas

Postby Yokosuka » Tue Mar 21, 2017 8:26 am

Hi,

I installed LiveViewRift but my Rift doesn't recognize it. Your links doesn't seem compatible either as there is a black screen in the VR emulation window.

Webvr.info instructions didn't work so I had to download "WebVR Plus" to make your Corfu panorama working on Nightly Firefox: https://addons.mozilla.org/en-US/firefo ... r-enabler/
The panorama is perfectly smooth.

Yokosuka has received a thanks from: ner0
User avatar
Yokosuka
Machine Gun Fist
Machine Gun Fist
 
Joined: August 2014
Location: France
Favorite title: Shenmue II
Currently playing: Rocket League

Re: Shenmue - 360º Panoramas

Postby ner0 » Tue Mar 21, 2017 6:52 pm

Happy to know that. That's really great!
ner0
Asia Travel Representative
Asia Travel Representative
 
Joined: January 2017
Favorite title: Shenmue
Currently playing: Shenmue


Return to Community Projects

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000-
ShenmueDojo.net