Ancestors

Toot

Written by Freya Holmér on 2024-10-06 at 23:40

behold - trackball rotation!!

it was super fun implementing this, had to properly learn a few quaternion things I was only vaguely aware of before!

=> View attached media

=> More informations about this toot | More toots from acegikmo@mastodon.social

Descendants

Written by jell on 2024-10-06 at 23:41

@acegikmo Oh hell yes.

(Love it for viewport control too, but I know that's... eh... contentious. 😆)

=> More informations about this toot | More toots from joshuaelliott@mastodon.social

Written by Stephen Bannasch (316 ppm) on 2024-10-07 at 00:48

@acegikmo I think quaternians are fun, they also make my head hurt. Long time ago I made a earth and sun 3d model. The earth rotated on its axis and orbited the Sun. The viewer could start on the surface and see date and time appropriate light/shadows. Could rise up and still traverse a virtual shell of the surface or change to a view from the elliptic and traverse a shell around the orbiting and spinning earth.

=> More informations about this toot | More toots from stepheneb@ruby.social

Written by Oblomov on 2024-10-07 at 02:52

@stepheneb @acegikmo you may want to look into the geometric algebra approach. It boils down to the same calculations for the most part, but with a much more sensible formalism (at least IMO).

=> More informations about this toot | More toots from oblomov@sociale.network

Written by Aaron Brick — אהרן בריק on 2024-10-07 at 00:53

@acegikmo Very cool, thanks for showing us.

=> More informations about this toot | More toots from aarbrk@mstdn.mx

Written by Xenotime on 2024-10-07 at 02:18

@acegikmo sweet :)

(quaternions are awesome)

=> More informations about this toot | More toots from re@fuzzies.wtf

Written by Babare le Terrible on 2024-10-07 at 06:05

@acegikmo

Next step (?)

A popular interaction is:

When the mouse is within the ball, the trackball rotation is active (as in your demo)

When the mouse is out of the ball, activate a planar rotation: axis is screen ortho and through the ball center

=> More informations about this toot | More toots from BabareTheTerrible@mastodon.social

Written by Freya Holmér on 2024-10-07 at 08:02

@BabareTheTerrible that's already implemented, it's the outer ring!

=> More informations about this toot | More toots from acegikmo@mastodon.social

Written by Babare le Terrible on 2024-10-07 at 08:04

@acegikmo

great

😀

=> More informations about this toot | More toots from BabareTheTerrible@mastodon.social

Written by Alex Rosenberg on 2024-10-08 at 14:51

@acegikmo Back in the day I would render the rotation quaternion during the mouseDown to show what the change would be in case they wanted to cancel out of it.

=> More informations about this toot | More toots from alexr@mastodon.online

Written by Fr4nz on 2024-10-14 at 06:25

@acegikmo

I remember doing something similar a long time ago. Rotation (especially screen space) was quite tricky to get to work in a way a user expects. Good job.

=> More informations about this toot | More toots from Fr4nz@mastodon.gamedev.place

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113263117756876828
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
408.566019 milliseconds
Gemini-to-HTML Time
1.604521 milliseconds

This content has been proxied by September (3851b).