Click here to Skip to main content
15,888,610 members

Comments by VikramRathod (Top 6 by date)

VikramRathod 18-Jul-12 7:02am View    
Link provided by Sergey Chepurin is so nice , its very simple to understand.
VikramRathod 17-Jul-12 2:07am View    
Deleted
Hello, Suppose I have one rectangle and I draw one line diagonally , now I have two triangle, now my question is how to differentiate which is right side triangle and which is left side triangle , how to find out the pixels which is one side of triangle and one which is other side.Because now I am able to rotate the image but I don't want to rotate the image completely, I only want to rotate the MIRROR image. Please help me.....
VikramRathod 15-Jul-12 23:27pm View    
Deleted
I am getting world view projection, but actually I want to do this using HLSL and only want to rotate mirror image.
VikramRathod 12-Jul-12 5:18am View    
Deleted
Thanks but can you tell me in below programming where I am wrong, here I am getting horizontal mirror image, how will I get Diagonaly mirror image..so using this I will rotate complete mirror image.

float4 mainPS2(float2 vTex : TEXCOORD) : COLOR
{

if( vTex.y > factor.x )
{
if( tex2D(s0, vTex).a > 0.0f )
{
vTex.y = factor- ( vTex.y - factor);

return tex2D( s0, vTex );

}
}
return tex2D( s0, vTex );
}
VikramRathod 3-Aug-11 4:30am View    
Deleted
Consider one black spot,once we apply filter on that it scattered horizontally and vertically.