|
|
PanoSalado Wiggle, Shimmer, and FPSAfter some feedback, I've played with the demo settings for wiggle (image distortion) and shimmer (jagged pixelation). There is significantly less wiggle with these new settings. Shimmer has always been acceptable. And FPS while panning is still OK too; it isn't as fast as it was before, but I think this is a good compromise, especially when you consider that the Concert Hall demo panorama is a worst-case scenario containing architectural straight lines everywhere, and each cube face measuring a large 1896px square. These settings are: New demo settings: And for reference, here are the old settings. And of course, all this is set in the XML, not hard coded in the source, and there are a lot of ways to adjust the wiggle and shimmer, which should keep everyone happy. The previous post has a lengthy comment by me on it, if you want more information. Here is the actual XML: <settings
onStart="loadSpace:preview" cameraContinuity="lock" zoom="7" transition="3,alpha,0,Expo.easeInOutExpo" dynamicQualityAdjustment="true" accelerating_precise="false" accelerating_precision="8" accelerating_smooth="false" decelerating_precise="false" decelerating_precision="8" decelerating_smooth="true" stopped_precise="true" stopped_precision="1" stopped_smooth="true" > <preview interactive="0" transition="3,alpha,0,Expo.easeInOutExpo" onTransitionEnd="loadSpaceAndInterface:concert1" pan="0" tilt="0" zoom="7" > <sphere id="preview" radius="100000" segments="24" oneSide="false"> <file>images/preview.jpg</file> </sphere> </preview> <concert1 interactive="true" onTransitionEnd="removeLastSpace" > <cube id="concert1" width="100000" segments="15" oneSide="true" smooth="true" precise="false"> <file id="front">images/Concert_1-sm_f.jpg</file> <file id="right">images/Concert_1-sm_r.jpg</file> <file id="left">images/Concert_1-sm_l.jpg</file> <file id="top">images/Concert_1-sm_u.jpg</file> <file id="bottom">images/Concert_1-sm_d.jpg</file> <file id="back">images/Concert_1-sm_b.jpg</file> </cube> <plane id="toConcert2" interactive = "true" pan="-20" tilt="-10" segments="2" oneSide="false" smooth="true" onClick="loadSpace:concert2" > <file>graphics/hotspot.png</file> </plane> <stageAlignedSprite id="toggle_autorotator" align="br" offsetX="-254" offsetY="-47" > <file>graphics/rotate_normal.png</file> </stageAlignedSprite> <stageAlignedSprite id="zoomout" align="br" offsetX="-219" offsetY="-47" onPress="keyDown:control" onRelease="keyUp:control" > <file>graphics/zoomout_normal.png</file> </stageAlignedSprite> <stageAlignedSprite id="zoomin" align="br" offsetX="-185" offsetY="-47" onPress="keyDown:shift" onRelease="keyUp:shift" > <file>graphics/zoomin_normal.png</file> </stageAlignedSprite> <stageAlignedSprite id="left" align="br" offsetX="-151" offsetY="-47" onPress="keyDown:left" onRelease="keyUp:left" > <file>graphics/panleft_normal.png</file> </stageAlignedSprite> <stageAlignedSprite id="right" align="br" offsetX="-117" offsetY="-47" onPress="keyDown:right" onRelease="keyUp:right" > <file>graphics/panright_normal.png</file> </stageAlignedSprite> <stageAlignedSprite id="up" align="br" offsetX="-83" offsetY="-47" onPress="keyDown:up" onRelease="keyUp:up" > <file>graphics/tiltup_normal.png</file> </stageAlignedSprite> <stageAlignedSprite id="down" align="br" offsetX="-49" offsetY="-47" onPress="keyDown:down" onRelease="keyUp:down" > <file>graphics/tiltdown_normal.png</file> </stageAlignedSprite> <stageAlignedSprite id="fullscreen" align="br" offsetX="-64" offsetY="-90" onPress="toggleFullscreen" > <file>graphics/button_fullscreen.png</file> </stageAlignedSprite> </concert1> <concert2 interactive="true" onTransitionEnd="removeLastSpace" > <cube id="concert2" width="100000" segments="15" oneSide="true" smooth="true" precise="false"> <file id="front">images/Concert_2_blend-flat-s_f.jpg</file> <file id="right">images/Concert_2_blend-flat-s_r.jpg</file> <file id="left">images/Concert_2_blend-flat-s_l.jpg</file> <file id="top">images/Concert_2_blend-flat-s_u.jpg</file> <file id="bottom">images/Concert_2_blend-flat-s_d.jpg</file> <file id="back">images/Concert_2_blend-flat-s_b.jpg</file> </cube> <plane id="toConcert1" interactive = "true" pan="80" tilt="10" segments="2" oneSide="false" smooth="true" onClick="loadSpace:concert1" > <file>graphics/hotspot.png?1</file> </plane> </concert2> </settings> Zephyr
|
New forum topicsRecent commentsWho's onlineThere are currently 0 users and 3 guests online.
|
looking good!!
Great job!! I was just wondering how do you do to set a nadir this is import so the panorama don't invert. and buy the way how can i take the grey box from the left corner?
Hope you continue the great work
The grey box is just there
The grey box is just there as a debug feature, commenting a couple lines, and recompiling, will remove it. I suppose it could be an XML settable parameter.
And currently you can't set the the nadir and zenith so the camera won't flip over, because Papervision doesn't include a field of view setting, but it can be done with a little math converting the camera setting, so watch for that to be addressed soon. It is one of those minor details that makes a whole world of difference when you are delivering a product with the player, but up till recently, there have been bigger fish to fry.
Zephyr