Ilyes-

It should not introduce any distortion. Instead it should have the effect of 
making the entire "scene" appear closer/farther.

-Tim

-----Original Message-----
From: Ilyes Gouta [mailto:ilyes.go...@gmail.com] 
Sent: Friday, July 15, 2011 5:49 PM
To: Tim (Steven) Ross
Cc: directfb-dev
Subject: Re: [directfb-dev] Stereoscopy: DSCAPS_STEREO primary surface and 
IDirectFBDisplayLayer::SetStereoDepth()

Hi Tim,

> In this case where the contents of the L & R are already rendered with the 
> parallax inherent in the rendered images, the SetStereoDepth() function is 
> not required. You can either set it to 0 or not call it at all (default is 
> 0). The API is available in your scenario so that you can add additional 
> depth to the layer contents (e.g. to make it appear in front/behind another 
> layer that also has parallax). The API also exists so that a L/R mono layer 
> that has a single buffer can be made to appear in front/behind the display 
> screen.

Yes, indeed.

> The API is available in your scenario so that you can add additional depth to 
> the layer contents
> (e.g. to make it appear in front/behind another layer that also has parallax).

Would calling SetStereoDepth() then introduce a kind of distortion on
the rendered L/R buffers (with the inherent parallax and scene depth)
which would lower the quality of the final perceived picture by the
user?

-Ilyes

>
> -Tim
>
> -----Original Message-----
> From: directfb-dev-boun...@directfb.org 
> [mailto:directfb-dev-boun...@directfb.org] On Behalf Of Ilyes Gouta
> Sent: Friday, July 15, 2011 5:09 AM
> To: directfb-dev
> Subject: [directfb-dev] Stereoscopy: DSCAPS_STEREO primary surface and 
> IDirectFBDisplayLayer::SetStereoDepth()
>
> Hi,
>
> I'm looking at the new stereoscopy API, part of the new DirectFB-1.5
> release (and getting ready to implement stuff) and I keep thinking
> about this use-case where the application is DFSCL_FULLSCREEN and has
> a stereo capable primary layer/surface. The application can render its
> own L/R buffers straight to the primary surface (OpenGL content or
> already rendered buffers from a file, such as JPEG stereo). All that
> rendering is performed using a local and specific settings, such as
> for OpenGL the (virtual) L/R camera positions, projection and model
> view matrices (which doesn't necessarily reflect/match the viewer's
> viewing setup) and an already kind of "hard-coded" horizontal parallax
> for the JPEG stereo buffers.
>
> I'd like to ask what would be the usefulness of the
> IDirectFBDisplayLayer::SetStereoDepth() in this use-case? Would it be
> required so that to let the user to adjust the depth appreciation and
> viewing experience?
>
> -Ilyes
> _______________________________________________
> directfb-dev mailing list
> directfb-dev@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>
>
>


_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to