Jump to content
  • Advertisement
Sign in to follow this  
Rudis

How Do I Render A Dynamic Main Menu/Menus Through Orthographic Projections?

This topic is 1067 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In this book I have called "Game Engine Architecture: Second Edition" by Jason Gregory (lead programmer working at Naughty Dog Inc.) the author states that 3-dimensional overlays such as a dynamic main menu in a game is often rendered using orthographic projections or via a projection via the regular perspective of a camera system, with the geometry positioned in view, which the camera follows around.

?

How exactly can I do this? Does this require 3rd party software/scripting? I'm using Unreal Engine 4 and maybe it can already do this, but I dunno how. I really would like a dynamic main menu but I don't know how to implement it. Any help is welcome :)

Share this post


Link to post
Share on other sites
Advertisement


dynamic

Can you clarify what you mean by 'dynamic' in this context? To me that just means that it scales with the screen size (resolution), which you should be able to accomplish with the anchor settings.

 

If you mean rendering 3D meshes using an orthographic camera, then you just visit any Camera Actor, and select Details Panel -> Camera Settings -> Projection Mode -> Orthographic.

Share this post


Link to post
Share on other sites

Yes I meant rendering 3D meshes with orthographic camera. Thanks for telling me how it's done! :)

Share this post


Link to post
Share on other sites

You can setup an orthographic camera so that everything appears to be in the same depth, then use textured 2D planes (alpha blended or tested) for your GUI elements. For interaction e.g. clicking on a GUI button you can use raycasting (check intersection between ray of your mouse position towards the button/plane)

Edited by lipsryme

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!