r/oculusdev • • Dec 18 '15

Good resources for new VR programmers?

I recently became interested in programming for VR after seeing Mozilla's WebVR demo, but when I looked through their docs I saw the word "quaternion" and my head started spinning. I've been doing web development for a few years but graphics programming is new to me. What are some good resources to help beginners wrap their heads around graphics programming?

9 Upvotes

7 comments sorted by

2

u/DonHopkins Feb 06 '16

If you wanted to make your head spin, quaternions would be the best way to do that.

They have an interesting history!

1

u/SvenViking Dec 18 '15

...when I looked through their docs I saw the word "quaternion" and my head started spinning.

Wait till you try to look up how they function internally. (Actually, probably just don't do that.)

As a matter of interest, if you wanted to start a head spinning in your software you would likely use a quaternion for the purpose. Unfortunately I'm not sure if I can be of much help past that, as I've never used WebVR (or in fact WebGL). I'd expect any relevant non-VR tutorial would be applicable, though.

It definitely helps to be able to make use of some sort of visual editor when working with 3D environments.

1

u/[deleted] Dec 18 '15

[removed] — view removed comment

1

u/SvenViking Dec 18 '15

As mentioned I know extremely little about WebGL, but the majority of VR developers are using either UE4 (C++) or Unity (C#/JavaScript). Both are now free for most purposes, and both of them have some form of WebGL export capability (but I haven't tried it myself).

In general, UE4 is probably better if you want to have greater control (you get full engine source), but it's easier to come by ready-made art assets, plugins etc. for Unity. Not sure if they're the sort of thing you're looking for, but worth at least passing consideration if you haven't dismissed them already.

1

u/hughJ- Dec 19 '15

Depending on how much graphics fundamentals you're looking to get, https://www.youtube.com/watch?v=6-9XFm7XAT8 is a pretty good beginner's overview of the graphics pipeline as represented by OpenGL. The speaker (Ed Angel) is the author of some textbooks I've used in school, and the talk zips through the beats pretty well. It looks like he did a similar Siggraph talk for WebGL that's there on youtube also.

1

u/Mr-Fu Jan 10 '16

This was wonderful. Do you have any other suggestions outside of these talks? I'm getting into VR dev through UE4/C++ instead of the web based JS stuff. (I do normal boring C++ stuff during the day so I'm solid on language)

3

u/hughJ- Jan 10 '16

Sort of a hodgepodge of resources that might be relevant:

There's a fair bit on youtube for UE4 specifically: https://www.youtube.com/user/UnrealDevelopmentKit/playlists

Github for UE4 source: https://github.com/EpicGames/UnrealEngine

Udemy UE4 Course (can't vouch for this yet, but it's only $10 atm): https://www.udemy.com/unrealcourse/

Microsoft Virtual Academy for some DirectX related tutorials: https://mva.microsoft.com/training-topics/game-development

some OpenGL tutorials: http://ogldev.atspace.co.uk/index.html http://www.opengl-tutorial.org/ http://in2gpu.com/opengl-3/

a Valve Dev Days talk (OpenGL related): https://www.youtube.com/watch?v=-bCeNzgiJ8I

GPU Gems 1/2/3 (great graphics resources): https://developer.nvidia.com/gpugems

I'd highly recommend registering with Nvidia's Gameworks program if you haven't already as that gives you access to their candy store of tools(Nsight particularly), documentation and sample code for a variety of things (including the VR specific stuff.): https://developer.nvidia.com/gameworks-registered-developer-program https://developer.nvidia.com/gameworksdownload

Grad course on various flavors of ray-tracing. (The actual implementations here may not exactly be directly applicable to early stage UE4 game development, but IMO it's still valuable if you're looking to get some theory/fundamentals regarding lighting models, material behavior, etc as most game engines are moving towards physically based rendering and we're starting to get a lot more conceptual overlap between rasterization and ray tracing.): https://www.youtube.com/playlist?list=PLslgisHe5tBPckSYyKoU3jEA4bqiFmNBJ

Carmack's lighting talk from Quakecon a few years ago would actually be a good starting place before heading into the above talk (pretty layman friendly): https://www.youtube.com/watch?v=IyUgHPs86XM