Atmosphere not following planet

Started by Hannes, April 25, 2017, 08:18:43 AM

Previous topic - Next topic

Hannes

I want to animate my ISS scene, and since objects don't render correctly, when they are very far away from the origin, I decided to move the planet far away instead of the ISS.
So far so good. When I'm trying to animate the object floating above the earth I either have to animate the station, moving it fastly very far away again, or just move the planet instead. Moving the object produces weird results again. The preview shows the object correctly, but in the render it's at a different place.
So why not moving the planet? I animated the X value of the planet's centre from -6e+006 to -4e+006. Works for the planet, but unfortunately the atmosphere stays in place.
I tried a lot of things and found a strange behaviour. I attached an example scene to show you what I mean:
Load the scene and activate visible atmosphere in the 3D preview. You'll see the atmosphere correctly located around the planet. Hit "jump to last frame" in the animation time line, and you'll see, that the planet has moved, but the atmosphere stays in place. Now you can either uncheck "Render Surface", "Render atmosphere", "Translate textures with planet" or "Rotate textures with planet", no matter, which one, and voilĂ , the atmosphere is where the planet is. But if you jump back to the first frame, the atmosphere doesn't follow back, unless you hit one of the mentioned buttons again.
So, is this some sort of bug, or did I miss something?

Dune

This was the case a while ago, but I thought it had been tackled...
What if you use two identical planets, one with only atmo, and one with only surface, and move both the same? Will atmo move with it then?

Hannes

Quote from: Dune on April 25, 2017, 09:09:59 AM
What if you use two identical planets, one with only atmo, and one with only surface, and move both the same? Will atmo move with it then?

Nope. Same here.
Doing some tests with moving the station and the camera again. It seemed that the dislocation of the station only happened in the first and last frame.
Thanks anyway!!

bobbystahr

something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

Hannes

Moving the station and the cameras in sync does work, but GI caching doesn't, since these things are moving so fast and so far, that the GI can't be correctly interpolated. Without caching there's one hell of flickering.
So, it seems there's no chance to do a flight of the station above the earth without faking something. I could use a rendered background instead of the planet...

bobbystahr

could you render in separate layers and composite it after the fact?
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

Dune

Fake the atmo (distance anyway), so no GIcache needed, I'd say.

Hannes

I guess, I'll fake the whole background. I'll render out a high res image of my earth and use it as backdrop.

Dune


KlausK

Hi, just lurking around the corner and saw this...

Did anyone notice that this seems to be related to the OpenGL versus RTPreview?

When I use the RTP to look at the scene, the Atmo follows the Planet even when I klick the "Play" button.
Does not work in normal OpenGL preview, like you described.

Maybe that helps for further investigation on staff side...

cheers, Klaus
/ ASUS WS Mainboard / Dual XEON E5-2640v3 / 64GB RAM / NVIDIA GeForce GTX 1070 TI / Win7 Ultimate . . . still (||-:-||)

Hannes

Quote from: KlausK on April 25, 2017, 10:13:20 AM
Hi, just lurking around the corner and saw this...

Did anyone notice that this seems to be related to the OpenGL versus RTPreview?

When I use the RTP to look at the scene, the Atmo follows the Planet even when I klick the "Play" button.
Does not work in normal OpenGL preview, like you described.

Maybe that helps for further investigation on staff side...

cheers, Klaus

Quite interesting!

Quote from: Dune on April 25, 2017, 10:10:45 AM
Fake all!

Yeah!!!! I'll render a plane in TG with a real ISS photo mapped onto it!!!!!! Cool! ;D ;D ;D ;D

Dune


ajcgi

Resurrecting this thread to add that I'm getting a similar issue in the latest release. I'm not animating the planet but if I move the centre of the planet to the top, or shift it to the middle for more convenient camera moves at planetary scale, the atmo and clouds don't follow until I save and reload the scene. As mentioned in previous builds, the RTP shows it in the correct location.

Oshyan

Yes, this has not yet been fixed. There is an issue in the bug tracker for it.

- Oshyan

Ariel DK

Re-resurrecting this thread just to ask why the objects don't render correctly when they are very far away from the origin, and to know if this was already fixed, due i'm still having a similar issue trying rendering objects around smaller planets than earth (default) size...
Hmmm, what version of Terragen does God use?