If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
|
|
|
|
#1 |
|
Registered
Join Date: Jul 2012
Posts: 2
|
Hi there,
I wand to rotate my surface and display . i am using direcr3D9. i succeed to display yuv images using CreteOffscreenPlainSurface and StretchRect methods. and then i have to rotate these images... so i desided on using D3DXSprite interpace. and Draw method( this is possible rotating images) So i need to create texture and surface. i crated texture using D3DCreateTexture and i got surface using GetSurfaceLevel method. and then i tried to wirte my image data this buffer using LockRect. but it filed. pitch value between the surface1 using CreateOffscreenPlainSurface and the other surface2 using GetSurfaceLevel are different. surface2 is multiple4 than surface1... why??? So i don't know how handle this situation.... please help me out if you know any other idea to rotate surface...and display ... Thank you! |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|