For questions specific to the Graphics3D command and related 3D graphics functionality.

learn more… | top users | synonyms (1)

2
votes
1answer
67 views

Dynamically change the ViewCenter location of a 3D graphics

I would like to be able to dynamically change the rotation pivot point location of a 3D graphics (in Mathematica terminology ViewCenter). In 3D CAD software, this ...
4
votes
2answers
171 views

Overlapping Spheres with a Shared Blank Region

We have two similar overlapped spheres in a way that the distance between their centers is smaller than the sum of their radius (2R>a). As I show here: Also, we want to draw them in a such way that ...
22
votes
3answers
1k views

RegionPlot3D in cylindrical or spherical coordinates?

RegionPlot3D is awesome. Unfortunately, it appears to work only for Cartesian coordinates. While there are ways to draw surfaces in spherical or cylindrical coordinates, I can't find a way to draw ...
2
votes
0answers
81 views

Arrowhead becomes unattached to line in a Graphics3D Manipulate

I'm trying to Manipulate a Graphics3D figure, and am seeing some errors. If I execute the following code, and move the slider, ...
3
votes
4answers
108 views

Find the volume of the region defined by $|x|+|y|+|z|<4$

I want to find the volume of the region defined by the following inequality: $\quad \quad |x|+|y|+|z|<4$ In addition to calculating the volume of this region, I would also like to be able to ...
11
votes
6answers
498 views

How do I draw a polygon defined by a list of data points?

I am attempting to make a 3D model of a device defined by a list of {x,y,z} points, digitized from a 2D image. The z coordinate is defined in mma. What I tried so far: ...
0
votes
1answer
75 views

SIGSEGV Error on Plotting Tubes

I have code to plot some "2 dimensional" points in 3D space, and connect a line between them (because ListLinePlot3D takes way to long/hangs), which works fine: ...
1
vote
0answers
62 views

Why are my 3D plots getting inverted?

For some reason, all 3D plots that I make in Mathematica 9 get inverted in both the image and the axes. For example, using the simple plot: ...
1
vote
2answers
75 views

Plot The volume of a cylinder between a cone and XY

I want to plot the volume of a cylinder between a cone and the plane XY The equation of the cone is $z$ $=$ $\sqrt{x^2 + y^2}$ and the cylinder equation $y^2 - 2y + x^2 = 0 $ I am using the ...
23
votes
3answers
1k views
1
vote
0answers
70 views

Bad rendering of rotated text in 3D graphics in notebooks

Why is my rotated text so badly rendered in 3D graphics in notebooks (the exported pdf are OK). It happens for me with v9 or v10.1.0 and OSX (10.9.5). Notice that the rendering is good in 2D ...
6
votes
1answer
95 views

Graphics3D and Bit Depth of Rendering

A year or so ago, I sent this question to WRI (nb- a former employer of mine) and, as happens with bug-reports-that-arent-bug-reports, it was swallowed into the black hole that is Chambanna. So- I ...
5
votes
3answers
125 views

Choosing which edges of the box to show in 3D graphics

Is there a way to explicitly choose which edges of the bounding box to show when plotting something with Boxed->True? For instance, a plot like ...
6
votes
7answers
1k views

How to draw a Circle in 3D on a sphere [duplicate]

The Circle function is strictly a 2D Graphics object, so that we cannot directly combine a ...
28
votes
1answer
344 views

Random polyhedra walk

I would like to recreate ssch's random polyhedra random walk, which he posted in the chat. For convenience here it is again: Since it's been one and a half year since then I've certainly had time ...
3
votes
1answer
114 views

Put labels sloped along axes in ListPlot3D

The three text labels in the following figure are all in horizontal direction. How to put the labels sloped along each axis to which it is attached? My Code ...
6
votes
1answer
261 views

Eliminate an unexpected mesh line

What is the source of the vertical mesh (ring) in this figure and how does one eliminate it? ...
0
votes
0answers
43 views

How to get an obj file and close it using the reflection without knowing what the vertex is?

I was given an problem in mathematica, that gives me a .obj file, and I need to close it. All I was given was this, ...
2
votes
1answer
68 views

Combined ListPlot3D using arrays of different length

I have three parts of a ListPlot3D that I would like to combine. The problem is, the middle part has more points in one dimension than the other two, which means I can't combine them easily to plot ...
9
votes
2answers
191 views

How to have one or multiple Boxed graphics, mixed with non Boxed, in the same Graphics3D

In the following example, I would like to Boxed only the RegionPlot3D, and not the Sphere. ...
0
votes
1answer
153 views

Create hexagonal mesh on 3D Parametric Plot and 3D spheres?

I am looking to put a cool geometric mesh on this object. I came across this question that explained how to put a hexagonal mesh on a parametric equation but I have a series of geometric objects of ...
28
votes
3answers
754 views

Mathematica and POV-Ray workflow (Q&A)

A couple of years ago, Alexey Popkov asked this question: Which ray tracing software is compatible with Graphics3D? It is my opinion, for various reasons, that out of the many ray tracing programs ...
2
votes
1answer
73 views

more than one label in Graphics3D

I'm trying to add some information to my Graphics3D Plot. At the moment I output the value of a function that changes when I use the sliders. I do that with PlotLabel. I need more data to be displayed ...
9
votes
1answer
100 views

How to synchronize the display of dynamic objects?

I was looking at this question, which asks to keep the orientation of some 3D graphics objects constant (relative to the viewer) while rotating the rest with the mouse. I thought that maybe the ...
0
votes
1answer
42 views
0
votes
0answers
46 views

Controlling scaling of multiple vector fields in VectorPlot3D

I'm trying to plot the electric and magnetic fields of a relativistically moving electric charge using VectorPlot3D, and apply "Manipulate" to change the velocity. The code I'm using is as follows: ...
4
votes
1answer
97 views

Constant orientation of graphics in Graphics3D

I have been facing a challenge for programming for quite a while now, and I think it is now time for me to consult some Mathematica experts: I would like to draw a three-dimensional graphic, e.g. ...
1
vote
1answer
132 views

Make continuous 3D tube out of 2D image (Mathematica 8) [duplicate]

I have the following image with transparency: which I want to paste repeatedly into a 3D space to make it like a tube, something like this (but denser): I tried using the code from here but it ...
7
votes
3answers
704 views

How to make a smooth revolution surface plot

I'm trying to plot a 3d revolution plot from a set of 2d points. These data points form a 2d curve, then we rotate that curve around y axis and get a 3d surface. @J. M. has a well explained and very ...
4
votes
3answers
188 views

How do I plot a filled cylinder in 3D?

All, I'm trying to plot a filled cylinder in 3D using Graphics3D and then take 2D slices of said cylinder. I know that Cylinder is officially 'filled', but the 2D ...
3
votes
2answers
209 views

how can I bold the outline of conic section as the plane intercepts the cone?

Plot3D[{-5 - x - y, -Sqrt[8 x^2 + 8 y^2]}, {x, -5, 5}, {y, -5, 5}, Mesh -> None, BoxRatios -> {1, 1, 1}, PlotLegends -> "Expressions"]
13
votes
2answers
1k views

How do I map a Mollweide projection onto a sphere?

I have this Mollweide projection of the Earth circa 600 million years ago (http://jan.ucc.nau.edu/~rcb7/370moll.jpg).(1) I want to map this onto a sphere. My results have big black splotches in ...
10
votes
2answers
749 views

How to create these famous surfaces in topology with the desired color effects?

It was said such real objects of famous topological surfaces were plotted by the cooperation between mathematician Richard Palais and artist Luc Benard, and published as the cover page of Science ...
0
votes
0answers
17 views

Consistent Graphics3D object size from different view points [duplicate]

Consider the following code that shows a rotating cube. ...
18
votes
5answers
527 views

Plot a partition of the sphere given vertices of polygons

I saw in this question that Mathematica can draw spherical triangles. I guess something similar can be done to plot a spherical polygon. I am interested in something similar: I have a set of ...
4
votes
0answers
61 views

VertexNormals depends on Polygon's orientation - an expected behaviour?

I'm studying VertexNormals (on Mathematica 10.0.2 for Mac) and have set up the following to represent three points and a normal vector: ...
5
votes
1answer
101 views

Export from ParametricPlot3D to 3D Formats yields distorted surface meshes

as described im my blog post: http://wolfig-techblog.blogspot.de/2015/04/blender-as-shader-for-mathematica.html I tried to export a Klein bottle ParametricPlot3D to one commonly used 3D mesh formats ...
0
votes
1answer
51 views
13
votes
3answers
2k views

Finding a Concave Hull

I have a 3d clustered data: Is there any other way to get concavehull of 3D data points?
6
votes
2answers
403 views

Don't understand why Mathematica is complaining about my Graph expression; how can I fix it?

The Tube in Arrow problem is fixed in version 10. Note that in version 10 Graph3D must be ...
0
votes
1answer
53 views

Dashed 3D plot: dashes run together

When I use the Dashed option in my 3D parametric plot, the dashing looks very muddy and the dashes are running together. For example, I plot the below code, right ...
0
votes
0answers
66 views

How to remove Graphics3D artifacts and order graphics objects; best practice?

What is best practice (or different methods) to remove graphical artifacts in Graphics3D objects? Are there, for example, rules of thumb for ordering the arguments (...
3
votes
1answer
113 views

White Lines in Contour Plot and 3D Plot

This is a follow up question to the original question here (has a solution). I am plotting another different total potentials and for this particular case the repulsive potential is a rectangle (open ...
7
votes
0answers
120 views

BoundaryMeshRegion::buncl error in V 10.1, that works ok in V 10.0.2

This code works ok in V 10.0.2 (from a post I was looking at here) I noticed what seems to be a regression bug. This code works in version 10.0.2 on windows 7 ...
15
votes
0answers
197 views

Bug(?) in version 10: Tooltip and ListPointPlot3D

Bug introduced in 10.0.0, persists through 10.1 The coordinates of a point in a three dimensional graph can be shown in a tooltip: ...
0
votes
0answers
40 views

How to show mulitple 3D graphics in one figure

I have this surface. I want to create another one which is rotated 60 degrees about a point at the left extreme and then want to see both these surfaces together in one figure? Any help appreciated! ...
8
votes
1answer
531 views

How to add texture to solid Graphics3D object such as cylinder?

I'd like to add texture to a Cylinder inside Graphics3D. I can't see how to use FaceForm and ...
0
votes
1answer
36 views

How to add pattern or write numbers on a cylinder? [duplicate]

I want to draw several cylinders in Mathematica. In order to distinguish them in a grey-style print, I should write a visible number on or add a different pattern (dotted, lines, stripes, etc.) to ...