Jump to: Board index » General » Fusion

3D planetary atmosphere for a Fusion newby...

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline
User avatar

Roen Davis

  • Posts: 1107
  • Joined: Fri Aug 29, 2014 2:06 am
  • Location: Sydney, Australia

3D planetary atmosphere for a Fusion newby...

PostWed Mar 24, 2021 12:36 am

Hi.

I have been working through Fusion tutorials and training materials. I have done the 3D earth/moon news graphic thing and fiddling, decided to try and put some atmosphere around the planet...I have got opacity but to get a blur edge is eluding me. Where do I find training for blurry edge spheres?

cheers
to the deaf person the dancer appears mad
Offline

Kel Philm

  • Posts: 610
  • Joined: Sat Nov 19, 2016 6:21 am

Re: 3D planetary atmosphere for a Fusion newby...

PostWed Mar 24, 2021 3:11 am

Try using falloff like so (Adjust falloff parameter to suit):

Code: Select all
{
   Tools = ordered() {
      Shape3D1 = Shape3D {
         Inputs = {
            Shape = Input { Value = FuID { "SurfaceSphereInputs" }, },
            MaterialInput = Input {
               SourceOp = "Falloff1",
               Source = "MaterialOutput",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 385, 214.5 } },
      },
      Falloff1 = FalloffOperator {
         CtrlWZoom = false,
         Inputs = {
            ["FaceOn.Opacity"] = Input { Value = 1, },
            ["Glancing.Opacity"] = Input { Value = 0, },
            MaterialID = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 385, 148.5 } },
      }
   }
}
Offline
User avatar

Roen Davis

  • Posts: 1107
  • Joined: Fri Aug 29, 2014 2:06 am
  • Location: Sydney, Australia

Re: 3D planetary atmosphere for a Fusion newby...

PostWed Mar 24, 2021 4:53 am

Thank you!
to the deaf person the dancer appears mad
Offline
User avatar

Roen Davis

  • Posts: 1107
  • Joined: Fri Aug 29, 2014 2:06 am
  • Location: Sydney, Australia

Re: 3D planetary atmosphere for a Fusion newby...

PostThu Mar 25, 2021 12:15 am

I tried the Falloff node and it does a great job of softening within the sphere. I am trying to soften where the edge of the atmosphere interacts with space - the outer edge. Maybe I missed something in Falloff?

cheers
to the deaf person the dancer appears mad
Offline

Kel Philm

  • Posts: 610
  • Joined: Sat Nov 19, 2016 6:21 am

Re: 3D planetary atmosphere for a Fusion newby...

PostThu Mar 25, 2021 4:40 am

Not sure if this what you mean?

Code: Select all
{
   Tools = ordered() {
      Shape3D1 = Shape3D {
         CtrlWZoom = false,
         Inputs = {
            Shape = Input { Value = FuID { "SurfaceSphereInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.244, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.244, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.244, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["SurfaceSphereInputs.SubdivisionLevelBase"] = Input { Value = 40, },
            ["SurfaceSphereInputs.SubdivisionLevelHeight"] = Input { Value = 40, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 440, 214.5 } },
      },
      Shape3D1_1 = Shape3D {
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            Shape = Input { Value = FuID { "SurfaceSphereInputs" }, },
            MaterialInput = Input {
               SourceOp = "Falloff1",
               Source = "MaterialOutput",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceSphereInputs.Radius"] = Input { Value = 1.2, },
            ["SurfaceSphereInputs.SubdivisionLevelBase"] = Input { Value = 40, },
            ["SurfaceSphereInputs.SubdivisionLevelHeight"] = Input { Value = 40, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 605, 214.5 } },
      },
      Falloff1 = FalloffOperator {
         Inputs = {
            ["FaceOn.Opacity"] = Input { Value = 1, },
            ["Glancing.Opacity"] = Input { Value = 0, },
            Falloff = Input { Value = 1.89, },
            MaterialID = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 605, 148.5 } },
      },
      Merge3D1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Shape3D1_1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Shape3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 550, 346.5 } },
      }
   }
}
Offline
User avatar

Roen Davis

  • Posts: 1107
  • Joined: Fri Aug 29, 2014 2:06 am
  • Location: Sydney, Australia

Re: 3D planetary atmosphere for a Fusion newby...

PostThu Mar 25, 2021 5:05 am

Yes!

Thank you for shining a little light on my fumbling in the dark.
I dont know why I didnt get it the first time - I think it was sphere diameter.

step by step....
to the deaf person the dancer appears mad
Offline
User avatar

Aurore de Blois

  • Posts: 246
  • Joined: Sun Feb 21, 2016 2:06 pm

Re: 3D planetary atmosphere for a Fusion newby...

PostThu Mar 25, 2021 12:55 pm

This works but you may find that it becomes problematic.
The planet is solid, while just the atmosphere has the falloff. so getting that balance might prove difficult with just a falloff, since you may find joining this with the planet bitf of your comp are going to cause some difficulty.
You may want to consider outputting your planet render and merging that with your atmosphere separately- with a simple 2D mask solution for the atmosphere.
Attachments
Atmos.jpg
my 16 year olf 3D earth work in progress... still unfinished :P using 16K maps, camera can get quite close. city lights come and go as day turns to night :)
Atmos.jpg (522.63 KiB) Viewed 786 times
MSI GT75VR 7RF Titan Pro
Intel CM238 i7-7920 HQ CPU@3.10 GHz
DDR4-2400 (64GB)
1x M.2 SSD (SATA)
2x M.2 SSD Combo (NVMe PCIe Gen3 x4 / SATA)
1x 2.5" SATA HDD
GeForce GTX 1080 with 8GB GDDR5X
GeForce GTX 1080 with 8GB GDDR5X
Windows 10 Home, 64-bit
Offline

birdseye

  • Posts: 361
  • Joined: Fri Jun 12, 2020 2:36 pm
  • Real Name: Iain Fisher

Re: 3D planetary atmosphere for a Fusion newby...

PostFri Mar 26, 2021 12:07 pm

You could also add a FastNoiseTexture after the Falloff with a low seethe rate and bump up the detail.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 72 guests