Matrix Transformation Demonstration Project

The Partridge Family were neither partridges nor a family. Discuss.
Pindrought
Posts: 432
Joined: September 26th, 2013, 4:57 pm
Location: Kentucky
Contact:

Matrix Transformation Demonstration Project

Post by Pindrought » October 2nd, 2018, 7:18 am

Here is a project to demonstrate the effect of combining multiple matrices on a single object.

https://github.com/Pindrought/DirectX-1 ... tricesDemo
Compiling Instructions: Download solution, extract the Libs .zip or .rar, and it should compile.

Camera Movement: WASD, Spacebar To Go Up, Z to go Down. Hold right click and drag mouse to turn camera.

The code is rigged together, so I wouldn't take too much look into that itself. I made this as part of a youtube series i'm working on for people to mess around with and thought i'd post it here.

Video Demo: https://drive.google.com/open?id=1V62cI ... xoI5I9t1Hj
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Matrix Transformation Demonstration Project

Post by albinopapa » October 2nd, 2018, 7:54 am

Weird, I had to open in Microsoft Edge to play the video, it never loaded in Google Chrome. It just spun the busy circle. Interesting stuff there, I kind of like the interface. It would allow for just messing around pretty easily.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Pindrought
Posts: 432
Joined: September 26th, 2013, 4:57 pm
Location: Kentucky
Contact:

Re: Matrix Transformation Demonstration Project

Post by Pindrought » October 2nd, 2018, 7:56 am

albinopapa wrote:Weird, I had to open in Microsoft Edge to play the video, it never loaded in Google Chrome. It just spun the busy circle. Interesting stuff there, I kind of like the interface. It would allow for just messing around pretty easily.
For the interface, i'm just using Dear ImGUI. Very easy to use and very helpful for debugging tools.

Strange that the video wouldn't load in chrome for you. :(
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Matrix Transformation Demonstration Project

Post by chili » October 3rd, 2018, 1:39 am

ImGUI is good stuff :)

Maybe I can add a link to this on the wiki page for the matrix tutorial in Advanced...
Chili

Pindrought
Posts: 432
Joined: September 26th, 2013, 4:57 pm
Location: Kentucky
Contact:

Re: Matrix Transformation Demonstration Project

Post by Pindrought » October 3rd, 2018, 3:53 am

chili wrote:ImGUI is good stuff :)

Maybe I can add a link to this on the wiki page for the matrix tutorial in Advanced...
That'd be cool. I'm also working on something to visualize the World (Already visualized from the project in this thread) -> View -> Projection matrix transformations as well as the frustum created from the view->projection matrix.
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Matrix Transformation Demonstration Project

Post by chili » October 4th, 2018, 2:13 pm

OMG, the projection one would be very NICE

Am working on the plan for the video on that shiz
Chili

Pindrought
Posts: 432
Joined: September 26th, 2013, 4:57 pm
Location: Kentucky
Contact:

Re: Matrix Transformation Demonstration Project

Post by Pindrought » October 5th, 2018, 2:50 am

chili wrote:OMG, the projection one would be very NICE

Am working on the plan for the video on that shiz
Update :D
https://drive.google.com/open?id=1s1p2i ... m6w7TS1TNQ

Not the most graphically appealing, but it gets the job done.
Note: The code is bad/rushed. Don't judge.
https://github.com/Pindrought/DirectX-1 ... MatrixDemo
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.

Slidy
Posts: 80
Joined: September 9th, 2017, 1:19 pm

Re: Matrix Transformation Demonstration Project

Post by Slidy » October 5th, 2018, 6:01 am

That looks sick :O

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Matrix Transformation Demonstration Project

Post by chili » October 25th, 2018, 1:08 pm

Very nice stuff! Linking to this on the wiki page for 3df 20 :D
Chili

Pindrought
Posts: 432
Joined: September 26th, 2013, 4:57 pm
Location: Kentucky
Contact:

Re: Matrix Transformation Demonstration Project

Post by Pindrought » October 26th, 2018, 1:16 pm

chili wrote:Very nice stuff! Linking to this on the wiki page for 3df 20 :D
Cool!
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.

Post Reply