I am trying to draw a sphere that is tangent to the three coordinate planes. I tried
Graphics3D[{Cyan, Sphere[{5, 5, 5}, 5]}, Boxed -> False,
PlotRange -> {{0, 12}, {0, 12}, {0, 12}}, ViewPoint -> {1, 1, 1},
Lighting -> "Neutral",
FaceGrids ->
Table[{face, {Range[0, 12, 1],
Range[0, 12, 1]}}, {face, -IdentityMatrix[3]}],
PlotRangePadding -> 0]
Graphics3D[{{Red, Opacity[0.3],
InfinitePlane[{{0, 0, 0}, {10, 0, 0}, {0, 10, 0}}]},{Green, Opacity[0.3],
InfinitePlane[{{0, 0, 0}, {10, 0, 0}, {0, 0, 10}}]},{Blue, Opacity[0.3],
InfinitePlane[{{0, 0, 0}, {0, 10, 0}, {0, 0, 10}}]},Blue, Sphere[{5, 5, 5}, 5] }, Boxed -> False,
PlotRange -> {{0, 10}, {0, 10}, {0, 10}}, ViewPoint -> {1, 1, 1},
Lighting -> "Neutral"]
How can I get like this?
ViewPoint
? $\endgroup$ViewPoint
andViewVertical
settings and paste the options into the originalGraphics3D
code. $\endgroup$