Page 1 of 1

Tiny Planet from 360

PostPosted: Mon Mar 05, 2018 11:17 pm
by mechanicus
Is there a way to create a Tiny Planet in Fusion?

Re: Tiny Planet from 360

PostPosted: Tue Mar 06, 2018 11:02 pm
by Sander de Regt
Yes, there is.

If you need a better answer, please provide us with an example of what it is you're trying to do, because I have no idea what a 'Tiny Planet' is.

I don't suppose you mean resizing an image from the Earth to 0.01%?

Re: Tiny Planet from 360

PostPosted: Wed Mar 07, 2018 6:23 am
by Bryan Ray
Take a look at the CoordinateSpace node.

Re: Tiny Planet from 360

PostPosted: Sun Mar 11, 2018 5:15 pm
by Glenn Sakatch
You may need a tiny shovel

Re: Tiny Planet from 360

PostPosted: Fri Mar 16, 2018 6:10 pm
by Travis Schmiesing
Sander de Regt wrote:Yes, there is.

If you need a better answer, please provide us with an example of what it is you're trying to do, because I have no idea what a 'Tiny Planet' is.

I don't suppose you mean resizing an image from the Earth to 0.01%?


Tiny planted is more or less an inverted 360.
https://petapixel.com/2016/07/12/video-tiny-planet-trip-san-francisco/

Re: Tiny Planet from 360

PostPosted: Sat Mar 17, 2018 12:17 pm
by Piotr Werewka
the simplest case

Code: Select all
{
   Tools = ordered() {
      CoordinateSpace1 = CoordSpace {
         Inputs = {
            Shape = Input { Value = 1, },
            Input = Input {
               SourceOp = "Crop1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 330, 82.5 } },
      },
      Crop1 = Crop {
         Inputs = {
            XOffset = Input { Value = 1, },
            XSize = Input { Value = 2000, },
            YSize = Input { Value = 2000, },
            Input = Input {
               SourceOp = "Merge1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 165, 82.5 } },
      },
      Background = Background {
         CtrlWZoom = false,
         NameSet = true,
         Inputs = {
            Width = Input { Value = 2000, },
            Height = Input { Value = 1000, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Type = Input { Value = FuID { "Gradient" }, },
            TopLeftRed = Input { Value = 0.2, },
            TopLeftGreen = Input { Value = 0.178103932198503, },
            TopLeftBlue = Input { Value = 0.04, },
            TopRightRed = Input { Value = 0.41, },
            TopRightGreen = Input { Value = 0.818723003241267, },
            TopRightBlue = Input { Value = 1, },
            Start = Input { Value = { 0.5, 0.5 }, },
            End = Input { Value = { 0.499796610169492, 0.111570621468927 }, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0.1675742807967, 0.173, 0.11245, 1 },
                     [0.758389261744966] = { 0.816195465137303, 0.325114093959732, 0.313832358348411, 1 },
                     [1] = { 0.02, 1, 0.0554632130995615, 1 }
                  }
               },
            },
            EffectMask = Input {
               SourceOp = "Rectangle1_1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { -110, 49.5 } },
      },
      Merge1 = Merge {
         Inputs = {
            Background = Input {
               SourceOp = "Background1_1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Background",
               Source = "Output",
            },
            PerformDepthMerge = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { -110, 82.5 } },
      },
      Background1_1 = Background {
         Inputs = {
            Width = Input { Value = 2000, },
            Height = Input { Value = 1000, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Type = Input { Value = FuID { "Gradient" }, },
            TopLeftRed = Input { Value = 0.2, },
            TopLeftGreen = Input { Value = 0.178103932198503, },
            TopLeftBlue = Input { Value = 0.04, },
            TopRightRed = Input { Value = 0.41, },
            TopRightGreen = Input { Value = 0.818723003241267, },
            TopRightBlue = Input { Value = 1, },
            GradientType = Input { Value = FuID { "Reflect" }, },
            Start = Input { Value = { 0.503649717514124, 0.212364406779661 }, },
            End = Input { Value = { 0.503525423728814, 1.01566101694915 }, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0.968637461252621, 1, 0.65, 1 },
                     [0.134228187919463] = { 0.9827400793471, 0.116700652201152, 0, 1 },
                     [1] = { 0.0368259586757986, 0, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { -220, 82.5 } },
      },
      Rectangle1_1 = RectangleMask {
         Inputs = {
            PaintMode = Input { Value = FuID { "Subtract" }, },
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Center = Input { Value = { 0.48, 0.36 }, },
            Width = Input { Value = 0.032, },
            Height = Input { Value = 0.0519999999999998, },
            EffectMask = Input {
               SourceOp = "Rectangle1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { -110, 16.5 } },
      },
      Rectangle1 = RectangleMask {
         Inputs = {
            PaintMode = Input { Value = FuID { "Subtract" }, },
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Center = Input { Value = { 0.424, 0.36 }, },
            Width = Input { Value = 0.048, },
            Height = Input { Value = 0.0599999999999999, },
            EffectMask = Input {
               SourceOp = "Polygon1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { -110, -16.5 } },
      },
      Polygon1 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            SoftEdge = Input { Value = 0.00154, },
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon1Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
         },
         ViewInfo = OperatorInfo { Pos = { -110, -49.5 } },
      },
      Polygon1Polyline = BezierSpline {
         SplineColor = { Red = 173, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, RH = { 21, 0.333333333333333 }, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { Linear = true, X = -0.504000016212463, Y = -0.304000005841255, LX = -0.0166666679382324, LY = -0.128000005841255, RX = 0.0526666722297668, RY = 2.70207724713719e-009 },
                     { Linear = true, X = -0.345999999523163, Y = -0.303999997735024, LX = -0.0526666722297668, LY = -2.70207724713719e-009, RX = 0.00200000405311584, RY = 0.0386666655540466 },
                     { Linear = true, X = -0.339999987363815, Y = -0.188000001072884, LX = -0.00200000405311584, LY = -0.0386666655540466, RX = -0.0180000042120616, RY = 0.0306666670242945 },
                     { X = -0.394000007390976, Y = -0.0960000008940697, LX = -0.00800000739097595, LY = -0.0640000008940697, RX = 0.00716199699719628, RY = 0.0572959238438864 },
                     { X = -0.35200001168251, Y = 0.0599999948740005, LX = -0.0340000116825104, LY = 0.0159999948740002, RX = 0.0386381150755075, RY = -0.0181826303155998 },
                     { X = -0.233999996066093, Y = 0.028000004529953, LX = 0.0180000039339063, LY = 0.104000004529953, RX = -0.0147470107901789, RY = -0.0852049363218674 },
                     { X = -0.318000002384186, Y = -0.184000000417233, LX = 0.0346264977639567, LY = 0.063397534312659, RX = -0.00133333603541056, RY = -0.0413333351413409 },
                     { Linear = true, X = -0.322000010490417, Y = -0.308000005841255, LX = 0.00133333603541056, LY = 0.0413333351413409, RX = 0.0246666719516118, RY = 0 },
                     { Linear = true, X = -0.247999994635582, Y = -0.308000005841255, LX = -0.0246666719516118, LY = 0, RX = 0.0239999989668528, RY = -0.00799999634424845 },
                     { Linear = true, X = -0.175999997735024, Y = -0.331999994874001, LX = -0.0239999989668528, LY = 0.00799999634424845, RX = 0.0206666658918063, RY = 0.0119999959071477 },
                     { Linear = true, X = -0.114000000059605, Y = -0.296000007152557, LX = -0.0206666658918063, LY = -0.0119999959071477, RX = 0.000666665971279142, RY = 0.0706666694084803 },
                     { Linear = true, X = -0.112000002145767, Y = -0.0839999989271164, LX = -0.000666665971279142, LY = -0.0706666694084803, RX = -0.0173333336909612, RY = 0.0013333335518837 },
                     { Linear = true, X = -0.164000003218651, Y = -0.0799999982714653, LX = 0.0173333336909612, LY = -0.0013333335518837, RX = 0.0340000011045486, RY = 0.0453333357771238 },
                     { Linear = true, X = -0.0619999999050051, Y = 0.0560000090599061, LX = -0.0340000011045486, LY = -0.0453333357771238, RX = 0.0359999987762421, RY = -0.0413333362936974 },
                     { Linear = true, X = 0.0459999964237213, Y = -0.0679999998211861, LX = -0.0359999987762421, LY = 0.0413333362936974, RX = -0.0119999990065892, RY = -0.00266666571299234 },
                     { Linear = true, X = 0.00999999940395357, Y = -0.0759999969601631, LX = 0.0119999990065892, LY = 0.00266666571299234, RX = -0.00266666553417842, RY = -0.0786666696270307 },
                     { Linear = true, X = 0.00200000280141832, Y = -0.312000005841255, LX = 0.00266666553417842, LY = 0.0786666696270307, RX = 0.0579999991854032, RY = 0.00133333333333333 },
                     { Linear = true, X = 0.176000000357628, Y = -0.308000005841255, LX = -0.0579999991854032, LY = -0.00133333333333333, RX = 0.0219999998807907, RY = -0.00133333106835683 },
                     { Linear = true, X = 0.242, Y = -0.311999999046326, LX = -0.0219999998807907, LY = 0.00133333106835683, RX = 0.0220000048478444, RY = 0.00399999817212423 },
                     { Linear = true, X = 0.308000014543533, Y = -0.300000004529953, LX = -0.0220000048478444, LY = -0.00399999817212423, RX = -0.00200000405311584, RY = 0.0240000014503797 },
                     { Linear = true, X = 0.302000002384186, Y = -0.228000000178814, LX = 0.00200000405311584, LY = -0.0240000014503797, RX = 0.00933333237965902, RY = 0.0160000001390775 },
                     { Linear = true, X = 0.329999999523163, Y = -0.179999999761581, LX = -0.00933333237965902, LY = -0.0160000001390775, RX = 0.00666666682561238, RY = -0.00533333341280619 },
                     { X = 0.350000010251999, Y = -0.195999998658896, LX = 1.02519989164662e-008, LY = 0.0240000013411045, RX = -7.74679385110312e-009, RY = -0.0181352987188787 },
                     { X = 0.341999994039536, Y = -0.248000003457069, LX = 0.00400000423283475, LY = 0.0169323530396476, RX = 0.000666668017705282, RY = -0.0119999994834264 },
                     { Linear = true, X = 0.343999998092651, Y = -0.284000001907349, LX = -0.000666668017705282, LY = 0.0119999994834264, RX = 0.0539999979337056, RY = -0.00800000131130219 },
                     { Linear = true, X = 0.505999991893768, Y = -0.308000005841255, LX = -0.0539999979337056, LY = 0.00800000131130219, RX = 0.036000010172526, RY = 0.0426666662295659 },
                     { Linear = true, X = 0.614000022411346, Y = -0.180000007152557, LX = -0.036000010172526, LY = -0.0426666662295659, RX = 0.00333332586288456, RY = -0.177333330949148 },
                     { Linear = true, X = 0.624000012874603, Y = -0.712000012397766, LX = -0.00333332586288456, LY = 0.177333330949148, RX = -0.392666670958201, RY = 0.00800000413258872 },
                     { Linear = true, X = -0.554000020027161, Y = -0.688000023365021, LX = 0.392666670958201, LY = -0.00800000413258872, RX = 0.0166666679382324, RY = 0.128000005841255 }
                  }
               } },
            [63] = { 1, LH = { 42, 0.666666666666667 }, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { Linear = true, X = -0.504000016212463, Y = -0.304000005841255, LX = -0.0166666679382324, LY = -0.128000005841255, RX = 0.0526666722297668, RY = 2.70207724713719e-009 },
                     { Linear = true, X = -0.345999999523163, Y = -0.303999997735024, LX = -0.0526666722297668, LY = -2.70207724713719e-009, RX = 0.00200000405311584, RY = 0.0386666655540466 },
                     { Linear = true, X = -0.339999987363815, Y = -0.188000001072884, LX = -0.00200000405311584, LY = -0.0386666655540466, RX = -0.0180000042120616, RY = 0.0306666670242945 },
                     { X = -0.394000007390976, Y = -0.0960000008940697, LX = -0.00800000739097595, LY = -0.0640000008940697, RX = 0.00716199699719628, RY = 0.0572959238438864 },
                     { X = -0.35200001168251, Y = 0.0599999948740005, LX = -0.0340000116825104, LY = 0.0159999948740002, RX = 0.0386381150755075, RY = -0.0181826303155998 },
                     { X = -0.233999996066093, Y = 0.028000004529953, LX = 0.0180000039339063, LY = 0.104000004529953, RX = -0.0147470107901789, RY = -0.0852049363218674 },
                     { X = -0.318000002384186, Y = -0.184000000417233, LX = 0.0346264977639567, LY = 0.063397534312659, RX = -0.00133333603541056, RY = -0.0413333351413409 },
                     { Linear = true, X = -0.322000010490417, Y = -0.308000005841255, LX = 0.00133333603541056, LY = 0.0413333351413409, RX = 0.0246666719516118, RY = 0 },
                     { Linear = true, X = -0.247999994635582, Y = -0.308000005841255, LX = -0.0246666719516118, LY = 0, RX = 0.0239999989668528, RY = -0.00799999634424845 },
                     { Linear = true, X = -0.175999997735024, Y = -0.331999994874001, LX = -0.0239999989668528, LY = 0.00799999634424845, RX = 0.0206666658918063, RY = 0.0119999959071477 },
                     { Linear = true, X = -0.114000000059605, Y = -0.296000007152557, LX = -0.0206666658918063, LY = -0.0119999959071477, RX = 0.000666665971279142, RY = 0.0706666694084803 },
                     { Linear = true, X = -0.112000002145767, Y = -0.0839999989271164, LX = -0.000666665971279142, LY = -0.0706666694084803, RX = -0.0173333336909612, RY = 0.0013333335518837 },
                     { Linear = true, X = -0.164000003218651, Y = -0.0799999982714653, LX = 0.0173333336909612, LY = -0.0013333335518837, RX = 0.0340000011045486, RY = 0.0453333357771238 },
                     { Linear = true, X = -0.0619999999050051, Y = 0.0560000090599061, LX = -0.0340000011045486, LY = -0.0453333357771238, RX = 0.0359999987762421, RY = -0.0413333362936974 },
                     { Linear = true, X = 0.0459999964237213, Y = -0.0679999998211861, LX = -0.0359999987762421, LY = 0.0413333362936974, RX = -0.0119999990065892, RY = -0.00266666571299234 },
                     { Linear = true, X = 0.00999999940395357, Y = -0.0759999969601631, LX = 0.0119999990065892, LY = 0.00266666571299234, RX = -0.00266666553417842, RY = -0.0786666696270307 },
                     { Linear = true, X = 0.00200000280141832, Y = -0.312000005841255, LX = 0.00266666553417842, LY = 0.0786666696270307, RX = 0.0579999991854032, RY = 0.00133333333333333 },
                     { Linear = true, X = 0.176000000357628, Y = -0.308000005841255, LX = -0.0579999991854032, LY = -0.00133333333333333, RX = 0.0219999998807907, RY = -0.00133333106835683 },
                     { Linear = true, X = 0.242, Y = -0.311999999046326, LX = -0.0219999998807907, LY = 0.00133333106835683, RX = 0.0220000048478444, RY = 0.00399999817212423 },
                     { Linear = true, X = 0.308000014543533, Y = -0.300000004529953, LX = -0.0220000048478444, LY = -0.00399999817212423, RX = -0.00200000405311584, RY = 0.0240000014503797 },
                     { Linear = true, X = 0.302000002384186, Y = -0.228000000178814, LX = 0.00200000405311584, LY = -0.0240000014503797, RX = 0.00933333237965902, RY = 0.0160000001390775 },
                     { Linear = true, X = 0.329999999523163, Y = -0.179999999761581, LX = -0.00933333237965902, LY = -0.0160000001390775, RX = 0.00666666682561238, RY = -0.00533333341280619 },
                     { X = 0.350000010251999, Y = -0.195999998658896, LX = 1.02519989164662e-008, LY = 0.0240000013411045, RX = -7.74679385110312e-009, RY = -0.0181352987188787 },
                     { X = 0.341999994039536, Y = -0.248000003457069, LX = 0.00400000423283475, LY = 0.0169323530396476, RX = 0.000666668017705282, RY = -0.0119999994834264 },
                     { Linear = true, X = 0.343999998092651, Y = -0.284000001907349, LX = -0.000666668017705282, LY = 0.0119999994834264, RX = 0.056088384004061, RY = -0.00716752237664893 },
                     { Linear = true, X = 0.512265150104834, Y = -0.305502569037295, LX = -0.056088384004061, LY = 0.00716752237664893, RX = 0.0339116241021707, RY = 0.0418341872949127 },
                     { Linear = true, X = 0.614000022411346, Y = -0.180000007152557, LX = -0.0339116241021707, LY = -0.0418341872949127, RX = 0.00333332586288456, RY = -0.177333330949148 },
                     { Linear = true, X = 0.624000012874603, Y = -0.712000012397766, LX = -0.00333332586288456, LY = 0.177333330949148, RX = -0.392666670958201, RY = 0.00800000413258872 },
                     { Linear = true, X = -0.554000020027161, Y = -0.688000023365021, LX = 0.392666670958201, LY = -0.00800000413258872, RX = 0.0166666679382324, RY = 0.128000005841255 }
                  }
               } }
         }
      }
   }
}

Re: Tiny Planet from 360

PostPosted: Wed Mar 28, 2018 6:13 pm
by Chad Capeland
You can do this quickly with CustomShader3D

TinyPlanet.JPG
TinyPlanet.JPG (189.14 KiB) Viewed 591 times