| |

VerySource

 Forgot password?
 Register
Search
View: 794|Reply: 2

Ask questions about image rotation

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-2-19 11:00:02
| Show all posts |Read mode
Using PlgBlt can make an image rotate on a plane. If you don't use directx or opengl, what method can you use to rotate an image in space? For example, using 6 pictures to paste into a cube, if I say the method of scanning and rotating point by point, I already know it, but the display is very slow. I don't know any quick way?
Reply

Use magic Report

0

Threads

11

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-6-4 07:00:01
| Show all posts
I think you can still use PlgBlt. This function can also convert the image into parallel quadrilaterals. No matter how you turn a cube, you can see three faces at most, and each face is parallelogram. So you need to calculate the shape of each face, and then use PlgBlt to draw it up, but the image effect and DirectX may be inferior.
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-6-9 17:15:01
| Show all posts
Ask how to calculate the shape of each face under different rotation angles? Can you give a simple example?
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list