Several questions from a newbie: models, lighting and streaming
I'm fairly new to UE4. I had several try outs to see if I could get stuff going. Each time I threw it out, out of frustration.
Now that part isn't relevant right now, to avoid it happening again I want to beat a few frustrations, before it goes into overall frustration. (and stops me from trying again :P )
First off: I am using a model I got of the internet as my "test" model. Now this is a gltf which I got to import with the 4.19's support for it. Which is great and all: but it imports as like 20 different elements.Now I understand that's how models work, but how would I go about making it into "one", right now I made an actor blueprint and added them all. Which seems to work, but is this the way to go actually? Like renderwise, doesn't this like create "lag" if say 20 of the same model get's shown? (just thinking for the future, like perhaps it's not relevant then, but it's a nice to know "if" it's a relevant part)
Second off: Lighting/level, I want to make a "simple" space game for now. How would I light this? .. say I'd want a sun, with "real" units: I have 0 idea how to not have a black level. I understand to work with a light importance mass. But do I move that along with the model? And where to position the lights.. ideally it's just based on "how close to the light source" .. but yeh.. I also don't want stuff to turn black 'cause they are too far.
Thirdly: Level streaming, like I'd like to create a perpetual level. My idea already is to follow a thought I've seen on an earlier post. To move the world around the model rather than the model itself (so keeping 0,0,0 for the model) but how do I visualize this in level streaming? So, say you travel (without some form of lightspeed, just normal travel), for an hour 1 way. I can't imagine having loaded the entire level for one hour. So I can image level streaming being part of this, but would this be like: if you moved x meters, start loading new level , then after another x meters "enter that level" . Or is it as simple as: once you hit the edge of the old level, load the new level?
Finally: Related to the "entire level loading". How would one work with a skybox in this? Is it just some generic starmap you load on the skybox and have that move along. Won't this get too bland?
Oh well that's it for now. These are things keeping me back for a while and it feels like some steps in these move from newbie to, just a bit more knowledgeable newbie
Thx for any answers.
asked Jan 29 '18 at 06:30 PM in Using UE4
Ok, lets see:
1- When you import one model, unreal show you a box with a lot of options. Looks for the "combine meshes" option and chet it. That way you got your object imported as one unique object instead of lot of parts.
2- You can use Directional light for your level, those light are paralel and are not affected by the distance. For indirect light use skylight.
3- There a couple of ways you can do your streaming and all depend how you create your level. You can use trigger volumes to detect when you are reaching an end of area, so you can streaming the next oone in order. But as i says before, you can use other ways to do it.
4- For the skybox, you need to add one object to do that, can be done with a sphere or semisphere or a cube. Everything depend of your needs. Just be sure your skybox object dont have collision and no cast shadows! if you dont want problems.
answered Jan 29 '18 at 07:02 PM
Change the name to the object before importing it. or delete the old one on the content browser before importing again.. If one object has been imported before, then Unreal editor do not show the importing option box. The box comes after the selection on the browser.
answered Jan 29 '18 at 07:36 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here