• entries
8
0
• views
8645

# NLE: Unnamed Engine. Entry #4: NEW OFFICE!

816 views

This week has been busy, I've fixed a little problem with my shader loading functions (rather, I forgot to code the darn functions before which messed me up until now) and been researching a ton. I've also coded some limits into the FPS Controller System. Lastly I got a new office.

# So, Code Stuffs first!!

You can learn about it at http://www.opengl-tutorial.org/

The interesting bit was limiting the rotations, as I'm using quaternions instead of Euler Angles/Axis-Aligned. So here's the summary:
First, I need to know where I'm looking, for that I did this (Camera Rotation = c, Congruent of c = c', and unit vector with a +Z direction = z) :
[font='courier new']d = c * z * c' ;[/font]
This gives me the direction I'm looking, as a vector (actually it's still a quaternion*). Now I use the Dot Product of d (direction) and of the +- Y Axis to see how close I am to going vertical, and therefore doing some bad things (like reversing the mouse movement). If it's really close ( d o y > 0.95) then don't allow it to continue tilting upwards.

# Now, the research stuffs

For the first planned game for Unnamed Engine (Might become the official name xD) will be a very simple one, but it may need some complex AI to be able to do right. So currently I'm doing some AI research in my spare time, thinking about things and how to make an AI that feels "real" enough to the player.

# Finally. The Office.

A picture is worth a thousand words so:
https://pbs.twimg.com/media/CGEnk--U0AAmMR9.jpg:large

This is a lot better than a TV Dinner table I was using for my laptop!

Thats it, that's all. Until Next week!

There are no comments to display.

## Create an account

Register a new account

• 10
• 9
• 15
• 24
• 11