Sign in to follow this  

(solved/alternative) [MDX] ScissorRectangle issue

This topic is 3143 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to use scissor in C# MDX. I have set the ScissorTestEnable to true. When setting the ScissorRectangle the size does not change. I am rendering to a texture. Say the original Scissor rectangle is at (0,0) and size 800x600 and i want to set a new scissor rectangle. I define a rectangle at (10,10) and size 780x580. When i assign the rectangle the debugger tells me that the Device.ScissorRectangle is at (10,10) and size (800x600). Am I missing something? [Edited by - Annoyed on May 4, 2009 7:09:23 PM]

Share this post


Link to post
Share on other sites
Found an alternative solution by using Viewport.
However the transformations needed to be adjusted beyond to obtain the clip effect.
Retaining the old transformations only resulted in a shrink/zoom out effect.

Share this post


Link to post
Share on other sites

This topic is 3143 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this