ayyyyyy lmao \3\This might be more of a /sci/ question because it's mathematical, I think, but I'll try here first.So I want to have planets in my game. Problem is, the engine can't handle the actual scale of planets. So I have to fake it by making the planets like 1/10000 scale (or actually maybe even smaller). But there's something that just doesn't look right. Somehow, the eye can just tell the difference between a large sphere and a small sphere. It has nothing to do with motion. I can see the difference even when the camera is stationary.So, any idea how to effectively make a small sphere look like a really huge sphere?
For reference... Here's an actual image of Jupiter. The trick is something in the way the bands curve. They're much flatter in the real image.
>>532340probably something to do with camera fov
>>532340OP pic uses a wide angle from a short distance.this pic is a crop from a telephoto lens picture. it has almost no perspective distortion
>>532342>>532344So if I can't change camera FOV (because it would make affect gameplay), how would I fake the effect on a sphere?
if you need to actually orbit the planet, then you can only use actual measurements, there's no way around it.If the planet is just a background, you can fake it with a painted circle
>>532347>use actual measurementsUnreal Engine crashes when I do this.Yeah, I need to actually move around the planet. I guess I'll just go for like 1/1000 scale and hope it's not too noticeable.
You make a second Camera that renders a miniature background skybox. See as in my picture.It's fairly common method used in many games.If you make a miniature Solar System while the player moves 1 Unit the SkyboxCamera that renders the Planets only moves like 0.0000000001 Units or something.Hope this gives you a vague idea.
>>532357Also there is a gamedev general on /vg/ to ask game related questions.
>>532357That's pretty cool. How do you get the skybox to appear behind everything else when it's so close to the camera? Specifically how in UE4 if possible.
>>532368Fark dude I don't know Unreal, but in Unity you..1. Have two cameras, one for the regular gameplay and one for the custom Skybox objects2. You set the Regular Camera to render everything EXCEPT the Skybox objects, and the Skybox Camera to only render the Skybox objects.3. After that set the Skybox Camera to Render Depth Only and change the render order to render the Skybox Camera behind the Regular Camera.
Jupiter would look like it does in the first picture if you shot it with a very wide angle lens up close in real life. The actual size doesn't matter as it's only the relative dimensions between the object and the lens that affects the perspective.Think of when physical miniatures and bigatures are used in VFX. It works because they make sure the relative dimensions are correct.
>>532340>actual image of jupiterFucking kek
>>532599IS it not?
>>532604No its not nasa has shooped every space image to hide the fact we are actually on a flat earth find me a genuine pic of earth from space
>>532934>find me a genuine pic of earth from spaceHere you go anon, the gen-u-ine article right here.I was in the satellite when I took this, so you have my word that this is real and un-doctored.
I wonder how elite dangerous does the scaling.
>>532934You can see Jupiter with a hobbyist telescope yourself. Does Nasa project Jupiter with a big ass projector on the nightsky too?
>>533028They sell telescopes with Jupiter painted on the lens.
>>532934Why would they do that whats the point ?
>>533176To sell more telescopes.Don't even get me started on the Globe market.
You need to make a billboard with a transparent masked texture. Here's a mask made from your reference. Make a new material graph, set BlendMode -> translucent, drag this in and plug it into the opacity pin, drag the texture of jupiter's surface and plug it into the Base Color pin and you have your material. Then make a billboard actor and apply the material.https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/HowTo/Transparency/https://www.youtube.com/watch?v=hH-_-wPwkgwIf you want it to rotate, make a (really slow) panner for the surface texture. If you want to be able to rotate around and see different sides, use the Object position and Camera Position WS to calculate the angle and use that to "pan" the 2d texture around. If you want to fly to the planet, make the actual planet mesh behind the billboard and fade the billboard when you get close.Now all you have to do is orbit your billboard actor in the sky and you already have a more advanced game than No Man's Sky.
>I want my game to be in real life scaleholy fuck what's the point? are players really going to have that much fun taking 6 hours to fly around a life-sized Jupiter?
do you need the actual sphere? if not then make a material for a big dome and make the animations of the orbits and the rotation as a material. This way you don't need to worry about FOV shit.
Here's a clue: cluesdid not stealerino from vsauce noo
>>533866Daily reminder that Stanley Kubrick was kidnapped by the Church of Scientology to produce more space footage for the Illuminati.
Try kicking up the roughness and adding some subsurf to the planet material (it's supposed to be gaseous), make the light source a smaller size then report back.
>>532339That lighting is an obvious problem.As you can see from the NASA picture, Jupiter is practically matte.