How do you get custom 3D graphics to display properly in Mathematica?

后端 未结 1 830
猫巷女王i
猫巷女王i 2021-01-02 23:00

I need to incorporate a 3D model of the Earth into a satellite orbit intercept simulation I have created in Mathematica (I need it to work with \"Graphics3D[]). I have down

相关标签:
1条回答
  • 2021-01-02 23:38

    enter image description here

    myEarth = 
     ParametricPlot3D[{Cos@u Sin@v, Sin@u Sin@v, Cos@v}, {u, 0, 2 Pi}, {v, 0, Pi}, 
       Mesh -> None, TextureCoordinateFunction -> ({#4, 1 - #5} &), 
       PlotStyle -> Texture[Show[map, ImageSize -> 1000]]];  
    
    a = {-1, 1};
    Animate[
     Show[
      Graphics3D[Sphere[{0, 0, 0}, .5], 
       ViewPoint -> 3.5 {Cos@t, Sin@t, 0}, SphericalRegion -> True, 
       PlotRange -> {a, a, a}, Axes -> False, Boxed -> False],
       myEarth], 
    {t, 0, 2 Pi}]
    

    enter image description here

    Edit

    I found from where I borrowed some code: http://reference.wolfram.com/mathematica/ref/Texture.html Under Applications, Earth Texture

    0 讨论(0)
提交回复
热议问题