Jump to content

Now that version 5.0.0.0 in the offing!


fundom

Recommended Posts

I would request the following "conveniences" in the next V.5.0.0.0

 

1- Detection of 3D stream be made automatic (like in PowerDVD Player etc.). AND if that is not currently possible, then at least Anaglyph shader ON/OFF button in the tool bar would be very handy.

 

2- Sometimes life-like colors become more important than 3D anaglyph viewing. Is it possible to have a shader type filter which would allow a full screen MONO view (left or right)from a stereo stream?

 

Thanks & regards,

Link to comment

Creating such a shader is extremely simple - therefore i made the pixel shader editor (http://www.DVBViewer.tv/forum/topic/40907-pixelshader-editor/).

All you need is to change the red,green,blue values in order to draw just the left or right image to the screen:

 

sampler s0 : register(s0);
float4 p0 : register(c0);

#define width (p0[0])
#define height (p0[1])

float4 main(float2 tex : TEXCOORD0) : COLOR
{	
  tex.x = tex.x / 2;

  float4 l = tex2D(s0, tex);

  tex.x = tex.x + 0.5;

  float4 r = tex2D(s0, tex);

  float red = l.r;
  float green = l.g;
  float blue = l.b;

  return float4(red, green, blue, 1);
}

 

if you keep it more simplified try this:

 

sampler s0 : register(s0);

float4 main(float2 tex : TEXCOORD0) : COLOR
{	
  tex.x = tex.x / 2;
  return tex2D(s0, tex);
}

 

Christian

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...