Replies

This profile is from a federated server and may be incomplete. Browse more on the original instance.

pikuma, to Playstation
@pikuma@mastodon.gamedev.place avatar

I have added a new chapter on Extrinsic vs. Intrinsic rotations to our module.

Since the yaw, pitch, and roll sequence of rotations of our ship is always based on the last rotation (respecting the pilot's view), it was important to explain the math for both cases.

Intrinsic rotation

pikuma,
@pikuma@mastodon.gamedev.place avatar

Extrinsic rotation rotates yaw, pitch, and roll values around a fixed coordinate system, XYZ (red rotation frame below).

But look at this sequence of yaw-pitch-roll rotations; The chain of transformations does not match what we expect to see from the pilot's view. Do you agree?

Extrinsic rotation

pikuma, (edited )
@pikuma@mastodon.gamedev.place avatar

Intrinsic rotation, on the other hand, always rotates the ship based on the last rotation's coordinate system.

Let’s chain first yaw (to the right) by 90°, then pitch (upwards) by 45°, and then roll by 180° (to the right).

See how these sequence now considers the pilot's view (blue rotation frame)?

Often we denote the rotation as Y-X'-Z''. X' is the new x-axis after the previous rotation, and Z'' is the new z-axis after the previous rotation.

pikuma,
@pikuma@mastodon.gamedev.place avatar

Depending on what we want from our game objects, we must ensure out rotation matrices consider the correct sequence of steps.

This has everything to do with the sequence & the order we choose to chain these matrix multiplications (from left to right or from right to left). 🙂

pikuma,
@pikuma@mastodon.gamedev.place avatar

This was not covered in our previous "3D Graphics Programming" course. So, since many students asked for a review, I am adding it to the PS1 course.

It's great that we can see the topic in action with a proper application. That's always better than just throwing theory and math notation around.

Stop "kind of" understanding the math you use in your games and start owning what you learn with our courses at http://pikuma.com.

See you inside! 🙂

pikuma,
@pikuma@mastodon.gamedev.place avatar

@Ongion Good eye. This one is actually correct. The intrinsic one was posted incorrectly. Thanks! :)

edo999, to random
@edo999@mastodon.social avatar

@pikuma Hey there. The videos on your course stopped working on Firefox yesterday.
I'm using the Developer Edition.

Are you aware of this?

pikuma,
@pikuma@mastodon.gamedev.place avatar

@edo999 I believe someone mentioned that the videos were not playing if youbhad strict enabled, which would indeed cause some issues.

pikuma, to random
@pikuma@mastodon.gamedev.place avatar

Was anyone else raised to believe the worst financial decision that would immediately bankrupt one's family was to consume an item from the Hotel mini bar?

I mean, a thief better steal the wallets & all bags from our room before opening a bag of peanuts from that fridge!

pikuma,
@pikuma@mastodon.gamedev.place avatar

@nicklockwood Exactly!

pikuma, to random
@pikuma@mastodon.gamedev.place avatar

I remember when I was a kid and I read that Java 5 was codenamed "Tiger" and I thought that was so cool!

Now I'm dead inside.

pikuma,
@pikuma@mastodon.gamedev.place avatar

@pervognsen Atari Jaguar & macOS Mountain Lion come to mind. What else?

pikuma,
@pikuma@mastodon.gamedev.place avatar

@pervognsen Yes yes. 🙂

pikuma,
@pikuma@mastodon.gamedev.place avatar

@pervognsen Also, David Bourg's book has a not-so-large cat in it.

pikuma,
@pikuma@mastodon.gamedev.place avatar

@pervognsen Oh, Atari Lynx!

pikuma,
@pikuma@mastodon.gamedev.place avatar

@pervognsen Great minds.

pikuma,
@pikuma@mastodon.gamedev.place avatar

@snk_xed @pervognsen I always liked the Minix raccoon.

pikuma,
@pikuma@mastodon.gamedev.place avatar

@daviwil @pervognsen There you go! Good one.

pikuma,
@pikuma@mastodon.gamedev.place avatar

@daviwil @pervognsen Free Pascal's logo too.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines