Originally posted by werticus
View Post
Announcement
Collapse
No announcement yet.
3d 360 panoramas for SAMSUNG Gear VR
Collapse
X
-
I suppose it is possible, I had to manually split the image into _L and _R images. Or it might be the water marks messing with you? Hurry up cardboard!
Either that or it is because i used the focus, turn mode on this and set the distance to about the wall.Last edited by werticus; 28-09-2015, 09:07 PM.WerT
www.dvstudios.com.au
Comment
-
No, that is okay, but can we run through the work flow step by step in a clear and concise way? This is what I've come up with by reading through here.
This is what I have done:
0)Load suitable scene, place camera in central location, remove any tilt and vignetting from camera settings, and make the camera perfectly level.
1)Set resolution to 4:1 aspect ratio eg 8000x2000
2)In the vray render / camera tab: Set the camera type to spherical and the FOV to 360 degrees.
3)Add vray stereoscopic helper. Not sure if you should specify focus or not I did not for this image.
4)Render, save file
5)Open file in photoshop or similar and chop into *_L.jpg and *_R.jpg images 4000x2000 pixels each
6)Drag resulting files on top of the "MAKE VTOUR (MULTIRES) droplet.bat file" Specify Spherical image, and 360 degrees and then run resulting tour.html file.
This is what I have done for this one. I wonder if I named _L and _R backwards if Morne says so.WerT
www.dvstudios.com.au
Comment
-
You also need to:
7. Open tour.xml in notepad or similar and delete the entire second scene - everything between <SCENE> ... </SCENE>
8. Edit the <IMAGE> tag in the first scene by adding stereolabels="l|r" stereo="true" so it looks something like <image whatever-was here-already stereolabels="l|r" stereo="true">
9. in between the <IMAGE> and </IMAGE> tags edit any _l to _%t for exampleCode:url="panos/NameOfYourPano_l.tiles/pano_%s.jpg"
Code:url="panos/NameOfYourPano_%t.tiles/pano_%s.jpg"
Dan Brew
Comment
-
Hi folks, I'm having a heck of a time getting this to work - pretty lost. I can get the pano working, but the Google Cardboard icon never shows up.
Here's the code section:
Code:<scene name="scene_pano_l" title="pano_l" onstart="" thumburl="panos/pano_l.tiles/thumb.jpg" lat="" lng="" heading=""> <view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="range" vlookatmin="-30.000" vlookatmax="30.000" /> <preview url="panos/pano_l.tiles/preview.jpg" /> <image stereo="true" stereolabels="l|r"> <cube url="panos/pano_%t.tiles/pano_%s.jpg" /> <mobile> <cube url="panos/pano_%t.tiles/mobile_%s.jpg" /> </mobile> </image> <!-- place your scene hotspots here --> </scene>
Last edited by landrvr1; 29-09-2015, 07:11 AM.
Comment
-
Originally posted by landrvr1 View PostHi folks, I'm having a heck of a time getting this to work - pretty lost. I keep getting:
WARNING: Locally not trusted - External Interface NOT available!
Then there's several error messages saying that my jpg's failed to load.
Here's the code section:
Code:<scene name="scene_pano_l" title="pano_l" onstart="" thumburl="panos/pano_l.tiles/thumb.jpg" lat="" lng="" heading=""> <view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="range" vlookatmin="-30.000" vlookatmax="30.000" /> <preview url="panos/pano_l.tiles/preview.jpg" /> <image ... stereo="true" stereolabels="l|r"> <cube url="panos/pano_%t.tiles/pano_%s.jpg" /> <mobile> <cube url="panos/pano_%t.tiles/mobile_%s.jpg" /> </mobile> </image> <!-- place your scene hotspots here --> </scene>
Code:<image stereo="true" stereolabels="l|r">
Dan Brew
Comment
-
Thanks Dan I had actually edited my post - but not fast enough! - because I noticed those ... I can now get a pano going in Chrome. However, I'm generating a server address with the Testing Server but getting a 'Error 404: Not Found
File not found' error!
I'm pointing to the vtour folder, copying the server address that's provided, then pasting that into Chrome. Is that the correct workflow?
Comment
-
Originally posted by DanielBrew View PostYou also need to:
7. Open tour.xml in notepad or similar and delete the entire second scene - everything between <SCENE> ... </SCENE>
8. Edit the <IMAGE> tag in the first scene by adding stereolabels="l|r" stereo="true" so it looks something like <image whatever-was here-already stereolabels="l|r" stereo="true">
9. in between the <IMAGE> and </IMAGE> tags edit any _l to _%t for exampleCode:url="panos/NameOfYourPano_l.tiles/pano_%s.jpg"
Code:url="panos/NameOfYourPano_%t.tiles/pano_%s.jpg"
http://www.dvstudios.biz/VR/tour.htmlWerT
www.dvstudios.com.au
Comment
-
Originally posted by landrvr1 View PostThanks Dan I had actually edited my post - but not fast enough! - because I noticed those ... I can now get a pano going in Chrome. However, I'm generating a server address with the Testing Server but getting a 'Error 404: Not Found
File not found' error!
I'm pointing to the vtour folder, copying the server address that's provided, then pasting that into Chrome. Is that the correct workflow?
Is Chrome your default browser?Dan Brew
Comment
-
Originally posted by werticus View PostOkay thanks for that, very intuitive process! Does it work now?
http://www.dvstudios.biz/VR/tour.html
I'm afraid your tour is giving me error messages:
ERROR: loading of panos/one_RGB_color_l.tiles/f/l1/1/l1_f_1_1.jpg failed!
If you copy and paste your tour.xml I'll try to debug.Dan Brew
Comment
-
Your my hero!
Code:<krpano version="1.19" title="Virtual Tour"> <include url="skin/vtourskin.xml" /> <!-- customize skin settings: maps, gyro, thumbnails, tooltips, layout, design, ... --> <skin_settings maps="false" maps_type="bing" maps_bing_api_key="" maps_zoombuttons="false" gyro="true" littleplanetintro="false" title="true" thumbs="true" thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160" thumbs_opened="false" thumbs_text="false" thumbs_dragging="true" thumbs_onhoverscrolling="false" thumbs_scrollbuttons="false" thumbs_scrollindicator="false" thumbs_loop="false" tooltips_buttons="false" tooltips_thumbs="false" tooltips_hotspots="false" tooltips_mapspots="false" deeplinking="false" loadscene_flags="MERGE" loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)" loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)" loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)" loadingtext="loading..." layout_width="100%" layout_maxwidth.normal="900" layout_maxwidth.mobile="" controlbar_width.normal="-44" controlbar_width.mobile="100%" controlbar_height.normal="38" controlbar_height.mobile="34" controlbar_offset.normal="22" controlbar_offset.mobile="0" controlbar_offset_closed="-40" controlbar_overlap.normal="7" controlbar_overlap.mobile="2" design_skin_images="vtourskin.png" design_bgcolor="0x000000" design_bgalpha="0.5" design_bgborder="0 0xFFFFFF 1.0" design_bgroundedge.normal="9" design_bgroundedge.mobile="1" design_bgshadow="0 0 9 0xFFFFFF 0.5" design_thumbborder_bgborder="4 0xFFFFFF 1.0" design_thumbborder_padding="2" design_thumbborder_bgroundedge="5" design_text_css="color:#FFFFFF; font-family:Arial; font-weight:bold;" design_text_shadow="1" /> <!-- For an alternative skin design either change the <skin_settings> values from above or optionally include one of the predefined designs from below. Either by removing the 'xml-if-check' from the particular <include> element or by adding e.g. initvar:{design:'flat_light'} to the embedpano() call in the html file: --> <include url="skin/vtourskin_design_glass.xml" if="design === 'glass'" /> <include url="skin/vtourskin_design_flat.xml" if="design === 'flat'" /> <include url="skin/vtourskin_design_flat_light.xml" if="design === 'flat_light'" /> <include url="skin/vtourskin_design_ultra_light.xml" if="design === 'ultra_light'" /> <include url="skin/vtourskin_design_117.xml" if="design === '117'" /> <!-- startup action - load the first pano/scene --> <action name="startup" autorun="onstart"> if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); ); loadscene(get(startscene), null, MERGE); if(startactions !== null, startactions() ); </action> <scene name="scene_one_RGB_color_L" title="one.RGB_color_L" onstart="" thumburl="panos/one_RGB_color_L.tiles/thumb.jpg" lat="" lng="" heading=""> <view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" /> <preview url="panos/one_RGB_color_L.tiles/preview.jpg" /> <image type="CUBE" multires="true" tilesize="512" stereolabels="l|r" stereo="true"> <level tiledimagewidth="1280" tiledimageheight="1280"> <cube url="panos/one_RGB_color_%t.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="640" tiledimageheight="640"> <cube url="panos/one_RGB_color_%t.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" /> </level> </image> <!-- place your scene hotspots here --> </scene> </krpano>
EDIT: hrmm... is L and R case sensitive? because your code said l and r so i did lower case in the code, but the directories of my files are upper case...?
EDIT2: Yup that fixed it changed the code to stereolabels="L|R" and it works.
Of course not sure if the actual render works in a cardboard yet If you want to have a look again!Last edited by werticus; 29-09-2015, 08:46 AM.WerT
www.dvstudios.com.au
Comment
-
Comment