6 ms·
I'm just getting started with Unreal, and I've got an overwhelming amount to learn. It feels like embarking into an entirely new field. I know Google works for
by echelon 6y ago
I'm just getting started with Unreal, and I've got an overwhelming amount to learn. It feels like embarking into an entirely new field.
I know Google works for these questions, but I'd like to hear opinionated responses if people have experience:
How do you manage / version assets? Git? Git LFS? ...?
How do you import photogrammetry assets? Do you need to process them in other software first, and is there a desired format to put them in? What's the best way to import and version them?
Is networking support for multiple players something that works out of the box? Or do you have to hand roll this and the server code?
Are there tools for integrating sensors like VR tracking and Kinect? What about adding real time point cloud data into the scene?
How do you tweak shaders? Is there a good guide to shader development that is Unreal Engine aware?
How do you delve into raw C++? Is Rust supported?
How might I find people with experience to work with, review my code, or potentially hire?
- momothereal 6y agoFor versioning, you can look at this plugin released/improved by Project Borealis: https://github.com/ProjectBorealis/UE4GitPlugin https://github.com/ProjectBorealis/UE4GitPlugin
- jayd16 6y agoI have more experience with Unity and I'm going to ask you to just Google most of this but... Git LFS is fine. Many shops use Perforce (although I hate it). >import photogrammetry assets? Depends what you have. The standard pipeline is to use a tool like Maya or Blender for model work and import into the engine as obj or fbx files. Unreal is supposed to have a pretty good out of the box network setup. Yes every VR platform seems to have an SDK for Unity and Unreal. Shaders and shader dev are a very deep topic that you should google.
- offtop5 6y agoI use Git LFS with my Unity projects. Other systems exist, like Plastic SCM, but their much much harder to use. I had issues with a contractor who couldn't figure it out and it partially lead to us abandoning that version of the project ( on v3 now, had to change direction though). Unreal is significantly harder than Unity, unless you stick to blueprints. Unreal's C++ is a harder language than Unity's C#. Plus I find Unity's community to be much more newbie friendly. Unreal tends to heavily tilt towards massive projects. Unity treats mobile as a first class citizen and it's very easy to get started. Then again, I've been using Unity since 2012 roughly, had I started with Unreal I might have a different opinion.
- mhh__ 6y ago> Is networking support for multiple players something that works out of the box? Or do you have to hand roll this and the server code? Yes, it's not too simple, but replication is at very least tried and tested. > Are there tools for integrating sensors like VR tracking and Kinect? What about adding real time point cloud data into the scene? Yes, not sure about real time, but Unreal basically has support for everything somewhere. > How do you tweak shaders? Is there a good guide to shader development that is Unreal Engine aware? Yes. It uses a custom unreal syntax underneath, so it's not trivial but it can be done. The engine also doesn't really like you managing the shaders yourself, e.g. If you want to dynamically change/replace shaders the RHI does expose the functionality but it's buried under so many layers of abstraction it's quite painful. > How do you delve into raw C++? Is Rust supported? It is raw C++. I wouldn't bother trying to integrate Rust because it doesn't really like you doing your own memory management in the first place. As a final comment, if you want to find out how something works, just read the source they give you. The documentation is genuinely shit, and most people online (including some Epic people who don't touch the core engine) don't seem to be particularly clued in. Some flows are quite well documented, e.g. Animation, but other parts of the engine basically aren't documented at all. Also, don't implement anything complicated in blueprints. They're written once, read never.
- aerovistae 6y agoI've always wondered this-- in the game dev field, what're the standard options for server frameworks? Are Unity/Unreal the major players there too? Like in web dev of course we have a million frameworks like Springboot, Rails, Django, Flask, Express, etc, but those aren't used for games like Call of Duty and Destiny and Fortnite etc-- they use something else and we never hear about that stuff at all in the "mainstream" software discussions. Really interested in what's used there.
- balaam 6y agoIn most cases the server code is home rolled, especially for realtime networked games. Handling multiplayer at scale is hard to solve in house, especially for popular titles and that's usually handled by third parties such as Multiplay (https://multiplay.com/about/ https://multiplay.com/about/)
- adkadskhj 6y agoI'm getting into indie game development. I know next to nothing on game dev, but figured i'd still reply since this specific part interests me quite a bit. > How do you manage / version assets? Git? Git LFS? ...? Recently i started working and planning on a 2D game. However i wanted 3D assets, and so the process was very asset and pipeline heavy. As such i wanted my code to always match concrete versions of asset sources - blender/etc - and so i searched around. Git LFS fit wonderfully, with one issue: It's centralized. Github's Git LFS support is iffy. Their pricing is harsh (imo, for an indie dev) and i couldn't find ways to prune history to save cost. Likewise the entire design of Git LFS requires a centralized server, something i didn't understand. So since i have a passion and existing projects in various Content Addressable Stores, i decided to attempt to make my own "Git LFS" with a more natural Git-like behavior. Eg syncs over SSH, not requiring servers, etc. I don't want to link it here (anonymous account), but even if i did i wouldn't advise anyone use it - it's a toy project more than anything. With that said i found the general workflow of Git LFS to be excellent for this purpose (minus the flaws i mentioned). Tracking binary assets worked wonderfully and allowed my code to always match explicit versions of the asset sources - making my pipeline feel very repeatable. I am a single dev on the game project so i didn't test the binary [un]locking features though - but i hear good things there.
- hobofan 6y agoI have absolutely no idea how you come to the conclusion that Git LFS is centralized. It shares the exact same distributed model that git does.
- adkadskhj 6y agoSorry, i should say that it requires running a web server. And the local web server options are immature. Running a whole web server just to use _git (lfs)_ seems absurd to me. The pattern is clearly intended to be used with the big centralized players - and the idea of normal git patterns, like git lfs in a local fs or git lfs over SSH were secondary concerns. well, not even secondary concerns really - it's not at all supported. To me, this is the core use case for Git. Git LFS is incapable of doing that in the current implementations. Which bothers me.
- mentos 6y ago>>How do you manage / version assets? Git? Git LFS? ...? Perforce! https://allarsblog.com/2014/09/25/setup-perforce-digital/ https://allarsblog.com/2014/09/25/setup-perforce-digital/ I use perforce to track game content and GitHub for code. UE4 has support in the editor so you can checkout and submit changes as well as see other files that are checked out by your team. It is incredibly helpful and 100x better than using GitLFS (which I started with in 2014 and a contractor highly recommended switching to perforce and he was right!)
- juanuys 6y agoI learnt of Plastic SCM [1] a few days ago, apparently better suited to gamedev. Any experience or opinions? 1. https://www.plasticscm.com/ https://www.plasticscm.com/
- muststopmyths 6y agoI have no experience with Plastic SCM, but I will point out a couple of things you should research before settling on a non-Perforce SCM. 1. Huge files - a distributed VCS will not handle versioning them in a space-efficient manner without hacks like LFS. Plastic SCM says they handle huge files, but you want to investigate this closely. 2. Locking files - Game assets will usually be binary and non-mergeable so you need to be able to lock them so that only one person is able to edit at a time. PlasticSCM seems to have this handled according to their website. 3. Disk space - Watch the pricing for disk space. 5GB is nowhere near sufficient for a game of reasonable size. Seems reasonable at $20/month up to 100GB, but make sure you understand what you'll get. They allow for a local server, which might be useful for a company (or if you don't mind setting up your own servers). If you're a solo or small-team indie, you can probably get by using anything. git, plastic, svn or perforce. perforce even has a cloud hosting solution. There is a reason Perforce is widespread in the gaming industry and it's not because we're a bunch of mouth-breathing morons stuck in 2005.
- vvanders 6y agoAs ex-game dev this is all right on the mark. Back when I was in gamedev the "code" checkout was ~160gb. The "art" checkout was ~500gb and the raw repo size was on the order of 3-4TB. Last I kicked the tires proper on most SCM solutions Perforce was the only one that could handle repos like that and provide locking so that people won't blow away binary files.
- klmadfejno 6y ago> How do you manage / version assets? Git? Git LFS? ...? I use Git LFS. It's a bit of a shit show though. Blueprints are a tricky thing to diff. I generally use the in editor tools to do commits. > Is networking support for multiple players something that works out of the box? Or do you have to hand roll this and the server code? I think unreal's multiplayer is quite good personally. All actor's have a checkbox as to whether they should be replicated. Blueprint support for handling RPCs is pretty good too. You can simulate client/server setups in the editor with multiple windows. To actually run online you'll likely want to get either steam's online subsystem working or epic's. > How might I find people with experience to work with, review my code, or potentially hire? I would try the unreal slacker's discord featured on the epic launcher. Edit: for good laughs, here's Tim Sweeney himself tweeting a similar question in 2016 about whether git LFS is a good idea for game dev: https://twitter.com/timsweeneyepic/status/747888067248295937?lang=en https://twitter.com/timsweeneyepic/status/747888067248295937...
- pjmlp 6y agoIt is Unreal C++, basically regular ISO C++ with some Unreal specific extensions, like a GC (yes Unreal has a C++ GC). Usually the traditional workflow is for everyone use Blueprint graphical language, and a couple of C++ devs create components to be used from Blueprint. Except for Embark, Rust is no one's radar in the kind of customers that use Unreal and console SDKs.
- kelsolaar 6y agoHere are a few non-exhaustive answers: How do you manage / version assets? Git? Git LFS? ...? Disclaimer: I'm a git Zealot, and use it for everything BUT version control with UE4 where Perforce is the King. I might sound like someone having Helix shares but I don't :) Here are a few reasons for that: - Perforce is built from the ground up to handle binary files and UE4 is just about that. So you need a VCS that is blazing fast with them and also allow you to exclusively lock files across the entire server as you cannot merge binary files. While you can do that with Git LFS 2, it still does not beat Perforce for general performance. I don't have recent metrics but Git was significantly much slower than Perforce when handling millions of files, we have dozen of millions in our repo. - Perforce allows you to selectively "clone" parts of the depot, this is super important as it gives you granular control over your work. - Perforce Streams are really fantastic, it is like Git branches but on steroid. You can setup complex Stream Graph setups where down Streams are giving a filtered view on parent Streams allowing you to curate what people see which makes a huge difference when you are an artist and are not concerned about getting 20-30Go of debugging symbols and other developer related files. - Perforce is fully integrated with Unreal itself but all the tooling from Epic Games. This is what they use and support in their own pipeline. I would recommend reading all the articles from Dan Bloch, starting with "Life on the Edge: Monitoring and Running A Very Large Perforce Installation", https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/34459.pdf https://static.googleusercontent.com/media/research.google.c..., and then "Still All On One Server: Perforce at Scale", https://research.google/pubs/pub39983/ https://research.google/pubs/pub39983/. How do you import photogrammetry assets? Do you need to process them in other software first, and is there a desired format to put them in? What's the best way to import and version them? Agisoft Metashape, Reality Capture, Zephyr 3D are some of the typical software in use. You usually need an optimisation pass in DCCs such as Maya, 3dsmax, Houdini or Blender. Then, FBX is kind of the geometry standard for UE4, but it also supports Wavefront Obj files, USD to a degree and Alembic caches among other things. Is networking support for multiple players something that works out of the box? Yes: https://docs.unrealengine.com/en-US/InteractiveExperiences/Networking/index.html https://docs.unrealengine.com/en-US/InteractiveExperiences/N... Are there tools for integrating sensors like VR tracking and Kinect? What about adding real time point cloud data into the scene? VR is really well supported and in the context of Virtual Production you can track a camera with a Vive Puck for example: https://docs.unrealengine.com/en-US/WorkingWithMedia/nDisplay/VRPN/index.html https://docs.unrealengine.com/en-US/WorkingWithMedia/nDispla... There is also a Lidar Import plugin now: https://docs.unrealengine.com/en-US/WorkingWithContent/LidarPointCloudPlugin/index.html https://docs.unrealengine.com/en-US/WorkingWithContent/Lidar... How do you tweak shaders? Is there a good guide to shader development that is Unreal Engine aware? UE4 shaders are HLSL and there is a graph, i.e. the Material Editor, where you can author them visually: https://docs.unrealengine.com/en-US/RenderingAndGraphics/Materials/Editor/index.html https://docs.unrealengine.com/en-US/RenderingAndGraphics/Mat... You can also add custom HLSL directly there. There are plenty videos on Youtube and the Unreal Engine channel has a ton of good ones: https://www.youtube.com/channel/UCBobmJyzsJ6Ll7UbfhI4iwQ https://www.youtube.com/channel/UCBobmJyzsJ6Ll7UbfhI4iwQ How do you delve into raw C++? Is Rust supported? UE4 codebase is massive and will take a very long time to get around. Blueprints help a lot understanding some of the architectural concepts and looking at plugins code with a good IDE, e.g. Visual Studio certainly helps. No official Rust support atm! Cheers,
- nix23 6y ago>How do you manage / version assets? Git? Git LFS? ...? BitKeeper with it's buildin Binary Asset Manager