[jME Video Tutorial Series] Maths

I underestimated how long this would take :P. I tried to keep it as professional as possible, but sometimes I just couldn’t resist. This is my first tutorial series I have ever done for anything, so feedback is appreciated, even if its “you suck, go kill yourself you sound like a rats anus being pummeled by a rhinoceros” :slight_smile:



I made these tutorials, because I was also trying to better my math skills with jME, and wanted to help the community at the same time, so I will undoubtedly make a few mistakes. I also made a few adjustments to some of the math classes which i have posted diffs of already, while I was digging through the source and trying to understand how everything worked, and I suggest you all do the same.



All videos were recorded in HD 720p, so should be very clear, the mic is bad but hopefully you can hear it ok.



jME Math Tutorial series, lasting approx 2 hours:

[Introduction] - 0:30 mins

[What is jME?] - 2mins

[Trigonometry] - 9 mins

[Vector Math] - 15 mins

[Dot Product] - 6 mins

[Spatial.lookAt] - 8 mins

[Camera] - 4 mins

[Rotations] - 23 mins

[Cross Product] - 11 mins

[Rays] - 7:30 mins

[Reflections] - 40 mins

[Line of Sight] - 13 mins



[Introduction]

http://www.youtube.com/watch?v=31elA_5xOjE


[What is jME?]

http://www.youtube.com/watch?v=YRzv0y5zdZc


[Trigonometry]

http://www.youtube.com/watch?v=q7NZU1nlHJs


[Vector Math]

http://www.youtube.com/watch?v=u7jpTUoNC0k


[Dot Product]

http://www.youtube.com/watch?v=EEeHeRgDYQY


[Spatial.lookAt]

http://www.youtube.com/watch?v=GgGbZP1g-Ec


[Camera]

http://www.youtube.com/watch?v=0XYzLskcCNE


[Rotations]

Part 1

http://www.youtube.com/watch?v=mY24CpUbQHc


Part 2

http://www.youtube.com/watch?v=tYZdqmsegFY


[Cross Product]

http://www.youtube.com/watch?v=-Y5SbbiRGPk


[Rays]

http://www.youtube.com/watch?v=YC8vV6IBZpg


[Reflections]

Part 1

http://www.youtube.com/watch?v=MPYBHa2xT3o


Part 2

http://www.youtube.com/watch?v=3gLf7IClTFM


Part 3

http://www.youtube.com/watch?v=myKReCR0Dtc


[Line of Sight]

http://www.youtube.com/watch?v=749Y3Lla7oI

13 Likes

Just started watching a few, nice work :slight_smile:



I’m not sure the “What is JME” really tells anyone anything (since I assume by the time they get to your tutorials they will know that much) but I guess it doesn’t do any harm.



In the trig one you use 2*FastMath.PI instead of FastMath.TWO_PI…

1 Like

Great work.

Thank you!

1 Like

Nice tutorials,



It is quite amazing, that you managed to produce so many video tutorials so fast :slight_smile:

1 Like

You might want to redo spatial.lookAt as you ended up spending quite a bit of time tracking down minor code mistakes…

1 Like

Lol “Mac unfortunately” ^^ Going through the videos now, thanks for this monumental effort (for now :stuck_out_tongue: ) The denoising on the mic is a bit extreme, I guess a bit of noise floor would be less annoying than the glass-noise audible now. But you actually have a good voice for this :slight_smile:

1 Like

I only got part way through the dot product one before spotting an error. About 2 minutes in you draw a diagram of a right triangle and then mark out the two vectors you will be creating. But you use the two legs of the triangle… which if you really were doing that would always have a dot of 0.



I think you meant to mark the base leg and the hypotenuse since that’s the only thing that makes sense in this example. Then if you dot base with hypotenuse you should get cos(60).



…but again, I didn’t watch the rest but at best that part is confusing and at worst it’s wrong.



I know it’s a lot of work to put these videos together but it would have been easier to check your math/presentation if there had been some kind of written form first. I’m not sure when I will have time to watch all of the videos.

1 Like
@zarch said:
Just started watching a few, nice work :)

I'm not sure the "What is JME" really tells anyone anything (since I assume by the time they get to your tutorials they will know that much) but I guess it doesn't do any harm.

In the trig one you use 2*FastMath.PI instead of FastMath.TWO_PI...

Yeh sometimes I use it, sometimes I don't :P
@zarch said:
You might want to redo spatial.lookAt as you ended up spending quite a bit of time tracking down minor code mistakes...

Maybe i will later :), i got a bit complacent and just uploaded anything i did, even if it had a few mistakes or blunders :P
@normen said:
Lol "Mac unfortunately" ^^ Going through the videos now, thanks for this monumental effort (for now :P ) The denoising on the mic is a bit extreme, I guess a bit of noise floor would be less annoying than the glass-noise audible now. But you actually have a good voice for this :)

Thanks :)
@pspeed said:
I only got part way through the dot product one before spotting an error. About 2 minutes in you draw a diagram of a right triangle and then mark out the two vectors you will be creating. But you use the two legs of the triangle.... which if you really were doing that would always have a dot of 0.

I think you meant to mark the base leg and the hypotenuse since that's the only thing that makes sense in this example. Then if you dot base with hypotenuse you should get cos(60).

...but again, I didn't watch the rest but at best that part is confusing and at worst it's wrong.

I know it's a lot of work to put these videos together but it would have been easier to check your math/presentation if there had been some kind of written form first. I'm not sure when I will have time to watch all of the videos.

yeh the drawing of the vector on the triangle was a little off oops your right, I will add a caption to the video now to tell people, but the code used was correct

Alright, watched the videos and I must say its a really great job, I like the feel of the videos, with some more planned examples, some music and slightly better sound (generally the “miking” sounds already ok if the noise reduction is optional) we could really make you the “jme tutorial guy”… :wink: The overlay painting is also a nice idea but get a tablet :stuck_out_tongue:

Btw, theres Plane.reflect() but the reflection thing is a good summary of the math before ^^

1 Like

@wezrule : you rule definitely ! :stuck_out_tongue:

I’ve learned a lot!

1 Like

Thx, great work!



Very well done, adding an overlay painting (copy pasted term) and then showing how the stuff (not a copy pasted term) is done in jME after the explanation. Definitively a great way to convey meaning.

1 Like
@blisscake said:
Great work.
Thank you!

Thanks :)
@nightmare2real said:
Nice tutorials,

It is quite amazing, that you managed to produce so many video tutorials so fast :)

Thanks, yeh i worked very hard on them the last few days
@normen said:
Alright, watched the videos and I must say its a really great job, I like the feel of the videos, with some more planned examples, some music and slightly better sound (generally the "miking" sounds already ok if the noise reduction is optional) we could really make you the "jme tutorial guy".. ;) The overlay painting is also a nice idea but get a tablet :P
Btw, theres Plane.reflect() but the reflection thing is a good summary of the math before ^^

Yh, my mic cost 5euros from the supermarket, I couldn't afford a better one :P, as I spent all my money on my new comp. I would use a tablet, but I am forced to use my left hand because I have a bad right arm/shoulder/neck/back, and I have adapted to use my left hand with the mouse now, but I can't write (using a pen) with my left hand unfortunately. I'm going to be learning physics in more depth, so I may make some tutorials for that also,
@atomix said:
@wezrule : you rule definitely ! :p
I've learned a lot!

Thanks, I hope your tutorials are going well :)
@loopies said:
Thx, great work!

Very well done, adding an overlay painting (copy pasted term) and then showing how the stuff (not a copy pasted term) is done in jME after the explanation. Definitively a great way to convey meaning.

Thank you

Dude you sound like microsoft sam xD

And thats awesome, thanks for the tuts.

1 Like

THANKS A LOT!

MUST BE AT THE WIKI!

1 Like