@pikuma@mastodon.gamedev.place
@pikuma@mastodon.gamedev.place avatar

pikuma

@pikuma@mastodon.gamedev.place

An education platform teaching the fundamentals of #ComputerScience, #RetroProgramming, and #Mathematics.

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 #PlayStation 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! :)

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

This is what I imagine happens when someone buy all the lectures at once. 😅

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

I have just updated the section of our #PlayStation programming course to add more content on the different video formats (NTSC, PAL, SECAM).

I also added more details on the differences of progressive scan vs. interlaced scan.

Interlaced picture frame

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!

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

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.

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

The state in Brazil where I grew up is now under water. Everything I knew, the friends I had, the houses I lived, the animals I loved, the bridges I crossed, even the waterfall I used to hike by... all gone.

Everything you know, love, and work hard for can all crumble down in a matter of seconds.

It's been a tough week. 😔

Cachoeira da Mulada, Caxias do Sul.

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

Big if true

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

Happy Mother's Day!

She might have flaws and she might cause you pain from time to time... but she's mother.

And Computing starts with "C."

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

Well, it finally happened. An Off-By-Two error...

pikuma,
@pikuma@mastodon.gamedev.place avatar

@pervognsen I do believe you. 😅

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