Sie sind nicht angemeldet.

Suchergebnisse

Suchergebnisse 1-20 von insgesamt 71.

Freitag, 12. März 2021, 15:11

Forenbeitrag von: »360gradenfotografie«

Matterport Cortex AI

I tried BiFuse (Github / Paper) with promising, but messy results: It's a python script that estimates depth in monoscopic 360° panoramas. Of course there are numerous glitches in each photo, and it doesn't combine multiple depthmaps to a single 3D model. I guess those drawbacks could be solved with software.

Donnerstag, 5. November 2020, 10:31

Forenbeitrag von: »360gradenfotografie«

Flying hotspot width relative to stagewidth

I connected the hotspot size to the stage size like this (btw, I prefer scale over width, so the dimensions remain the same): Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <events keep="true" onresize="size_hotspot()"/> <action name="size_hotspot"> copy(hs,hotspot[test]); div(stageratio,stageheight,stagewidth); div(relativeratio,stagewidth,hs.width); if(stageratio GT .8 AND stagewidth GT 900 AND relativeratio GT 1.5, set(relativeratio,1.5); ); set(hs.scale,get(relativeratio)); </action> It ki...

Mittwoch, 4. November 2020, 19:47

Forenbeitrag von: »360gradenfotografie«

Flying hotspot width relative to stagewidth

Zitat von »Sergey74« Do you want to make the hotspot width equal to the stagewidth? Just set the width to 100% That's exactly what I'd like to do, but setting percentages only works on layers. Right? I dug a little deeper into this forum. 10 years ago, Klaus said: Zitat von »klaus.krpano« sorry, but that's not possible yet, the size of the (distorted) hotspots is always relative to the pano size, the size of the plugin not, Is this still the case, Klaus? Can't flying hotspots be sized relative ...

Mittwoch, 4. November 2020, 14:31

Forenbeitrag von: »360gradenfotografie«

Flying hotspot width relative to stagewidth

I think I found out the problem. A flying hotspot's scale is somehow connected to the stage height. Any ideas how to disconnect them?

Mittwoch, 4. November 2020, 14:18

Forenbeitrag von: »360gradenfotografie«

Flying hotspot width relative to stagewidth

Hi, I'm trying to set the width of a flying hotspot to the stagewidth: Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 <hotspot name="test" ath="0" atv="0" type="text" distorted="true" bgcolor="0x663366" bgalpha="0.9" wordwrap="true" edge="center" width="1" zoom="false" flying="1" html="bla bla bla..." onloaded="set(width,get(stagewidth))" /> While it does set the width of the hotspot, the results are different among various devices (tested on Chrome on Mac, iPad, Pixel smartphone). Do I have to corr...

Freitag, 28. August 2020, 09:39

Forenbeitrag von: »360gradenfotografie«

Text hotspot: unordered list

Zitat von »Tuur« perhaps the dot graphic and some spaces can help you alt+8. EDIT 2: renderer css3d to the hotspot fixes it. Thanks! WebVR needs WebGL hotspots, so CSS3D is not an option. Some spacing and •'s did the trick, but it's not at all elegant.

Mittwoch, 26. August 2020, 15:25

Forenbeitrag von: »360gradenfotografie«

Text hotspot: unordered list

Hi, When adding an unordered list to a text hotspot ([ul][li]Vestibulum[/li][li]Consectetur 2[/li][/ul]...). Indentation is rendered correctly, but there are no bullets visible. Any ideas how to fix this? Niek

Mittwoch, 27. Mai 2020, 10:21

Forenbeitrag von: »360gradenfotografie«

WebXR on Oculus GO issue

Great, thanks!

Freitag, 1. Mai 2020, 23:43

Forenbeitrag von: »360gradenfotografie«

WebXR on Oculus GO issue

Here it is: YouTube video Oculus Browser 9.0.0.2.38, krpano 1.20.6, using: Quellcode 1 loadscene(%1, null, NOPREVIEW|MERGE|KEEPVIEW|KEEPMOVING, BLEND(1, easeInOutQuad));

Freitag, 1. Mai 2020, 13:55

Forenbeitrag von: »360gradenfotografie«

WebXR on Oculus GO issue

Zitat von »grycikua« And get an issue: after loadscene I got an tiles of previous scene in bottom left quarter of left eye, usually thats are a bottom square of pano. Same here. I tried different blends. They don't seem to work correctly. COLORBLEND(1) for example doesn't dip to black: I only see some flashing black tiles.

Mittwoch, 15. April 2020, 21:30

Forenbeitrag von: »360gradenfotografie«

Fetch ath/atv of pointing direction VR controller

Figured it out! The following code puts a hotspot on the location the VR controller clicked. Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <events name="click" keep="true" webvr_onvrcontrollerbutton="vrclick();" /> <action name="vrclick" scope="local"> if(!caller.target, if(caller.vrbuttonstate == 'down', addhotspot(auto, hs); spacetosphere(caller.dx,caller.dy,caller.dz, hs.ath,hs.atv,depth); set(hs, keep=true, scale=0.01, distorted=true, enabled=false, capture=false, alpha=1, autoalpha=tr...

Mittwoch, 15. April 2020, 19:59

Forenbeitrag von: »360gradenfotografie«

Fetch ath/atv of pointing direction VR controller

With mouse and touch events it's easy to fetch clicks anywhere on the canvas and convert to ath/atv: Quellcode 1 2 3 4 5 <events name="click" keep="true" onclick="on_click()" /> <action name="on_click"> screentosphere(mouse.x,mouse.y,click_ath,click_atv); </action> Now, I would like to do the same with VR controllers. Is that possible?

Donnerstag, 21. November 2019, 14:59

Forenbeitrag von: »360gradenfotografie«

[Mobile Chrome] Green border around distorted video hotspot

Zitat von »360gradenfotografie« Thanks! The green line is gone, but unfortunately there's still a misalignment Fixed it! The video is now 480 × 640px and there's no green line or misalignment (MP4 and WebM). Before, the video was 718 × 888px. I read somewhere that the dimensions of an MPEG movie should be divisible by 8. Does anyone have something meaningful to say about this?

Donnerstag, 21. November 2019, 13:51

Forenbeitrag von: »360gradenfotografie«

Flying arrow pointing towards hotspot

Zitat von »light_line« Hi, can you share the final code with us? Sure! I added this JS function to the page krpano is embedded on: Quellcode 1 2 3 4 5 6 7 8 9 10 function bearing(hlookat,vlookat,ath,atv) { const phi_1 = vlookat * ( Math.PI / 180 ); const phi_2 = atv * ( Math.PI / 180 ); const delta_lambda = (ath - hlookat) * ( Math.PI / 180 ); const x = Math.cos(phi_1) * Math.sin(phi_2) - Math.sin(phi_1) * Math.cos(phi_2) * Math.cos(delta_lambda); const y = Math.sin(delta_lambda) * Math.cos(phi...

Donnerstag, 21. November 2019, 13:42

Forenbeitrag von: »360gradenfotografie«

[Mobile Chrome] Green border around distorted video hotspot

Zitat von »spacerywirtualne« Take the test with the webm. You can use: https://krpano.com/plugins/videoplayer/#preferredformat Thanks! The green line is gone, but unfortunately there's still a misalignment: This only happens on Chrome for Android. The alignment on other browsers (Chrome, Firefox and Safari on a Mac, Safari on iOS and the Oculus Browser on an Oculus Go) I tested with is pixel perfect. Zitat von »spacerywirtualne« Oh, and important thing - renderer="css3d" or renderer="webgl"? We...

Dienstag, 19. November 2019, 09:32

Forenbeitrag von: »360gradenfotografie«

[Mobile Chrome] Green border around distorted video hotspot

Has anyone seen a green border like this? It only appears on Chrome for Android (v78.0, Android 10, Pixel 3). I also tested on Chrome, Firefox and Safari on a Mac, Safari on iOS and the Oculus Browser on an Oculus Go.

Mittwoch, 30. Oktober 2019, 16:59

Forenbeitrag von: »360gradenfotografie«

Flying arrow pointing towards hotspot

I found a approach: There's a excellent tutorial on how to calculate bearing and distance from one point to another on the globe. Using longitues and latitudes. I'll take those scripts as inspiration https://www.movable-type.co.uk/scripts/latlong.html

Mittwoch, 30. Oktober 2019, 08:44

Forenbeitrag von: »360gradenfotografie«

Flying arrow pointing towards hotspot

I'm creating an arrow (hotspot[arrow]) that points to a hotspot (hotspot[cross]). Right now, using the code below, it looks like this: The arrow should always be pointing to the center of the cross, but it doesn't. I guess I'm over complicating things in my code. So, do you have any suggestions how to approach this? Thanks! Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58...

Dienstag, 29. Oktober 2019, 15:06

Forenbeitrag von: »360gradenfotografie«

Can't find the proper short multires syntax

I'm trying to replace this code with the new shorter syntax: Quellcode 1 2 3 4 5 6 7 8 9 10 11 <image type="CUBE" multires="true" tilesize="512" prealign="0|0|0"> <level tiledimagewidth="512" tiledimageheight="512"> <cube url="data/photo1/%s/l3/%v/l3_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="1024" tiledimageheight="1024"> <cube url="data/photo1/%s/l2/%v/l2_%s_%v_%h.jpg" /> </level> <level tiledimagewidth="2048" tiledimageheight="2048"> <cube url="data/photo1/%s/l1/%v/l1_%s_%v_%h.jpg" /> ...