Cover flow, angle and placement (1 Viewer)

macardi

Portal Member
January 26, 2009
48
86
Home Country
Sweden Sweden
Hi,

I have noticed that the view angle somewhat changes depending on where on the screen the cover flow control is placed. If its put at the bottom of the screen its viewed a little bit from above, if its centred, the view angle i centered, and if it is put at the top the view is from beneath.

I like to put it at the bottom in order to make the fanart as visible as possible but the view from above looks odd to me.I would prefere the view as it is when placed in the middle of the screen, but at the bottom. Does anyone know if its possible to change the angle? If someone from the dev team is reading this, is this behaviour done intentional or is it a bug?

/Macardi

bottomxn.jpg


middle.jpg


topeb.jpg
 

DieBagger

Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria
    This is already discussed internally and I would consider it a bug (there are quite a few with coverflow atm ;))...

    :oops: :sorry:
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    AW: Re: Cover flow, angle and placement

    This is already discussed internally and I would consider it a bug (there are quite a few with coverflow atm ;))...

    :oops: :sorry:

    ... but it's worth it ... it's a really nice new feature and an eyecatcher ;-)

    Thanks for all your work!
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    The viewport is always centered on the screen. That is why you get different angles.
     

    macardi

    Portal Member
    January 26, 2009
    48
    86
    Home Country
    Sweden Sweden
    Thanks for the clarifications!

    I agree, its a very nice feature, and a excellent addition to the skin engine. I'm very happy for this. It would be nice however if it would be possible to alter the view angle independent of the placement in future releases.

    Cheers
    Macardi
     

    ajp8164

    Portal Pro
    January 9, 2008
    575
    1,166
    Atlanta, GA
    Home Country
    United States of America United States of America
    The viewport is always centered on the screen. That is why you get different angles.

    Exactly correct (btw: I wrote the CF implementation). We would have to change how the viewport is projected to get a different perspective. This could be do-able on a window-by-window basis but I have not looked into it. It's definitely not a bug, just a result of how 3D projections look on a 2D screen.
     

    ajp8164

    Portal Pro
    January 9, 2008
    575
    1,166
    Atlanta, GA
    Home Country
    United States of America United States of America
    I've created a patch that turns on the ability of MP to manage the camera (viewing position). Partial support was in the code but was disabled by design(?)

    The attached patch adds camera support and implements the support on two controls: GUIGroup and GUICoverflow.

    The default camera position is the geometric center of the screen. You can (in controls group and coverflow) now move the camera to an alternate location for the rendering of the control. In the case of the group all controls contained within the group will be rendered using the camera position you specify in the skin xml. Just setting the camera position on the coverflow control will only affect the coverflow control.

    Here's how you add camera positioning to group and coverflow (same for both).

    Position the camera 200 pixels below the center of the screen.
    Code:
    <camera xpos="0" ypos="200">yes</camera>

    Disable the effect of the camera tag.
    Code:
    <camera xpos="0" ypos="200">no</camera>

    Position the camera at the default location.
    Code:
    <camera xpos="0" ypos="0">yes</camera>

    Works well and solves the problem described in this thread. I'll hold the patch until after feature freeze - we'll target MP 1.3.
     

    Attachments

    • camera.patch
      3.7 KB

    macardi

    Portal Member
    January 26, 2009
    48
    86
    Home Country
    Sweden Sweden
    Great news, thanks Andy!

    To bad it will not be implemented for 1.2.

    1.3 seems far away....

    /Macardi
     

    Users who are viewing this thread

    Top Bottom