Recent

Author Topic: Rotate image  (Read 1147 times)

Onur2x

  • New Member
  • *
  • Posts: 35
Rotate image
« on: November 14, 2023, 08:14:05 am »
As seen in the picture. I have an image and I want to rotate this image around the y axis. Set this to 100ms on the timer. I think I need to use 3D

Handoko

  • Hero Member
  • *****
  • Posts: 5376
  • My goal: build my own game engine using Lazarus
Re: Rotate image
« Reply #1 on: November 14, 2023, 09:08:08 am »
In BGRABitmap Tutorial #15, you can learn how to show and rotate 3D objects:
https://wiki.freepascal.org/BGRABitmap_tutorial_15

RayoGlauco

  • Full Member
  • ***
  • Posts: 193
  • Beers: 1567
Re: Rotate image
« Reply #2 on: November 14, 2023, 10:20:23 am »
Although you talk about rotating an image, it seems that your problem is actually generating images of a 3D object rotated around an axis. You need to learn how to represent 3D points and vectors.
To err is human, but to really mess things up, you need a computer.

Onur2x

  • New Member
  • *
  • Posts: 35
Re: Rotate image
« Reply #3 on: December 02, 2023, 09:21:07 pm »
thanx you

 

TinyPortal © 2005-2018