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

learn more… | top users | synonyms (1)

8
votes
3answers
1k views

Plotting a 2D shape along a 3D parametric function curve

Say I have a 3D curve that is parametrically defined. How would I be able to plot shapes like figure 8's whose centers are aligned along the 3D curve? Say the curve was: ...
3
votes
2answers
110 views

Creating a tube with custom caps

I need a tube with only one end capped. I can do this relatively easily with: ...
4
votes
1answer
30 views

What is the default Lighting in 3D graphics?

The default value of the Lighting. This typically uses "Standard", with several coloured lights, or ...
1
vote
0answers
29 views

Import[] .obj data with per-vertex colors?

There's a somewhat standard way of including per-vetex color with obj files: Geometric Vertex[edit] A vertex can be specified in a line starting with the letter "v". That is followed by (x,y,z[,...
0
votes
1answer
42 views
251
votes
6answers
119k views

How do I draw a pair of buttocks?

I'm trying to develop a function which 3D plot would have a buttocks like shape. Several days of searching the web and a dozen my of own attempts to solve the issue have brought nothing but two ...
0
votes
1answer
58 views

Visualization problems [on hold]

I am visualizing 1-dimensional curves that are periodic. Due to periodicity, extending the domain should result in the curve being retraced and therefore remaining unchanged. This doesn't seem to be ...
0
votes
0answers
32 views

Drawing Arrows to connect points from two separate data sets representing coordinates

I have 2 separate excel files that I'm importing into Mathematica. Each excel data file has numerous rows of data containing a coordinate of three columns (x,y,z). I have been able to plot these ...
9
votes
1answer
223 views

How to define a custom 2/3D graphic primitive like built-in?

There are lots of basic graphic-pimitive in Mathematica, such as 2D- pimitive: Line[], Circle[], Disk[] and 3D-pimitive: ...
0
votes
0answers
38 views

Graphics3D and Postscript

When trying to export a figure with Graphics3D to postscript, I get abysmal results seen in the attached image. The image on the left is what I see in Mathematica. The image on the right is the ...
1
vote
2answers
33 views

ListAnimate — restore frames to original position after interaction during a pause

I have a ListAnimate where the frames consist of graphics made of lines and points. I want to make sure that, when the animation is paused and then resumed, all ...
8
votes
7answers
464 views

how to get $n$ equidistributed points on the unit sphere

We can get $n$ equidistributed points in the unit circle using CirclePoints. But how do you get $n$ equidistributed points on the unit sphere(surface of a ball)? ...
1
vote
0answers
23 views

Make a .C3D file in Mathematica

I have two different groups of points in an excel file, which are captured by two different cameras from two different angles (Motion Capture Process). These points are extracted by using markers on a ...
4
votes
1answer
146 views

Export and manipulate 3D plots

How can I export 3D Mathematica plots such that I can put them into a presentation and still being able to rotate them? Is there a specific format or does it depend on the program used to create the ...
14
votes
2answers
607 views

How to convert Graphics3D object into an Image3D object?

How does one convert a Graphics3D object into an Image3D object? E.g., start with ...
6
votes
2answers
209 views

Image3D with values outside of the range [0,1]

I am writing some functions in Mathematica for representing MRI anatomical image volumes. The natural way to represent such a volume seems to be as an Image3D form. However, I've noticed an ...
1
vote
2answers
96 views

How to convert Image3D object into Graphics3D object and vice versa?

There are some rendering options (for example, Lighting) which are associated with the Graphics3D objects. I cannot apply these ...
11
votes
1answer
174 views

How to rasterize a Graphics3D expression into an Image3D? [duplicate]

I'd like to make a 3d image from a 3d graphics. Unfortunately Rasterize@Graphics3D[Sphere[]] gives a 2d image, is there any function like a Rasterize3D that does ...
1
vote
0answers
53 views

Problem with Volume and Parallelepiped [on hold]

This worked (copied from the documentation), and gave correct image with Graphics3D. R = Parallelepiped[{0, 0, 0}, {{1, 0, 0}, {1, 1, 0}, {0, 1, 1}}]; Volume[R] ...
0
votes
2answers
150 views

How to do this 3D grid drawing? [on hold]

The idea is to make axes 3d, with a more subdued in black mesh, and shafts with their respective numbers with a maximum of 10 in each (black to print after the size of half a sheet craft, vine also ...
9
votes
3answers
720 views

How to create this spikey in Mathematica?

I came across this post while messying around the StackExchange mobile. I think this thing can be easily done by Mathematica as well but I'm not an expert in geometric field. Can anyone give some ...
23
votes
1answer
814 views

3D bubble textures in Bread (and other solids)

Bread has a bubbly texture that I would like to be able to recreate using Mathematica. Here are some examples of bubble textures: Bread Swiss cheese Foam Note that most of the ...
1
vote
2answers
145 views

Displaying Dandelin spheres touching hyperbola boundary patches in cone

Can we show the Dandelin spheres scenario (shown by Hrhm for case of ellipse) for a hyperbola as well? I'm not happy with what we get to see of this on the net. The double nappe/sheet of a cone is ...
0
votes
0answers
93 views

Animating ballistic movement [on hold]

I was tasked with creating a 3D animation of the movement of a ball through space, while taking into account influences such as the magnus effect, air drag, and rotation. In order for this to happen a ...
1
vote
0answers
46 views

Magnify Part of a 3D Graphic [duplicate]

I have a 3D Graphic built, and I want to magnify part of it. I would prefer a circle or ring-shape that can be placed anywhere in front of a 3D graphic that would magnify it. Ultimately, I want to ...
47
votes
2answers
3k views

An efficient circular arc primitive for Graphics3D

As many people have noted, the 2D graphics primitive Circle doesn't work in a Graphics3D environment (even in v10.0-v10.4, where ...
4
votes
1answer
115 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: ...
26
votes
4answers
443 views

$3D$ graphic of soccer ball

How to make a soccer ball $3D$ graphic? The following image is from Wikipedia, Spherical polyhedron: Truncated icosahedron (left) and standard soccer ball (right) ...
1
vote
0answers
108 views

Plotting the Schwarz D minimal surface

With the aid of the following paper I'm trying to plot the Schwarz D minimal surface: paper. So far I have followed all the instructions to the best of my abilities and have come up with the following ...
2
votes
1answer
57 views

Disobedient RegionPlot3D

I faced a strange behavior of a RegionPlot3D. I am drawing a piece of a plane bounded by a parabola. This works: ...
3
votes
1answer
154 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: <...
3
votes
2answers
83 views

How to apply `DiscretizeGraphics` to a tube?

I want to export the numerical solution of the Chan-Lee oscillator as an STL file so that I could print it out. But when I expanded the curve into a tube, ...
5
votes
1answer
458 views

How to combine solid objects using logical expressions?

How can one define and render in 3D a single solid object using logical operations on component solid objects? For instance, I would like to define a solid object that consists of a ...
2
votes
1answer
42 views

Export a 3Dplot keeping the zoom, rotation properties

I want to export a 3Dplot but when I export the image remains quiet. I want to the image can rotate and make zoom and paste in to a Powerpoint, for the presentation I can explain to the public the ...
8
votes
2answers
135 views

Dynamic ClipPlanes calculated from current ViewPoint

(This is a follow-up question to the answer found here.) I would like to define a clip plane dynamically from the current ViewPoint of my ...
2
votes
1answer
195 views

How to graph a 3D function of two variables? [closed]

How to graph this: \begin{alignat*}{3} x(s, t) &= a\cos(mt) \cos^{k}(ns) &&\cos(t) &&\cos(s), \\ y(s, t) &= a\cos(mt) \cos^{k}(ns) &&\sin(t) &&\cos(s), \\ z(s, ...
1
vote
0answers
54 views

Real, scaled sizes of bubbles in bubblechart [closed]

I'm trying to create a BubbleChart3D with sets of 4 numbers, to see which spheres overlap. ...
2
votes
1answer
60 views

Need help with making an interactive 3D plot

My main problem is to generate a manipulatable 3D plot, combining three functions and two of those functions depend on another variable Theta (which shall be the manipulateable variable). To explain ...
3
votes
2answers
102 views

How to Draw a 3D Scatter Plot Graph

Firstly: I am completely new to Mathematica, but I need to be able to create a 3D Scatter Graph with the following points: {0.000824, 15.8, 39.0}, {0.000507, 20.5, 39.6}, {0.000444, 20.5, 39.8}, {...
1
vote
1answer
101 views
1
vote
1answer
74 views

Issue formulating RegionPlot3D to visualize RegionIntersection

Description I am looking to visualize gas cloud growth within custom modules. For demonstration purpose, it is assumed gas cloud takes a spherical shape whilst module is defined using a ...
0
votes
0answers
14 views

3D graphs will not show together [duplicate]

I have tried to plot two 3D graphs together in mathematica with Show but it only shows one graph. This is my code: tophalf = Plot3D[Sqrt[x*y], {x, -10, 10}, {y, -10, 10}] bottomhalf = Plot3D[-1*Sqrt[...
1
vote
0answers
28 views

Why is SliceDensityPlot3D leaving out sections that DensityPlot gets? [duplicate]

My program uses NDSolveValue to solve for a 3D function. The code is pretty hefty so I've pasted it here, and I'm just including the really relevant excerpts of it below. Once I have my 3D function, <...
3
votes
0answers
225 views

Visualizing the Gradient Vector [closed]

I already found this Example but i want to add a description and the individual vectors as in the picture. My approach so far: ...
3
votes
4answers
199 views

Plotting the solution of $\sin(x)\sin(y)$ + elliptic cylinder

I have a problem with one of my school project :( I need to add function: $\sin(x)\sin(y)$ to elliptic cylinder $\left(\frac x a\right)^2+ \left(\frac y b\right)^2 = 1$ After few hours, only this ...
1
vote
2answers
93 views

how do I 3D Plot f(x,y,z)=0

I am very new to mathematica and was wondering how I could 3Dplot -5(x-2)-7y+3(z+4)=0 I've tried 3DPlot and Contour but neither have seemed to work. PLease help.
0
votes
1answer
46 views

Scale size PolyhedronData

How can I plot a truncated cube with size (sqrt(2)-1)? The code I am using is simply PolyhedronData["TruncatedCube"]
3
votes
3answers
115 views

How to extract coordinates {x,y,z} from Raster3D

I want to extract coordinates out of a Raster3D. It is possible to extract coordinates out of an Image3D by using ...
2
votes
1answer
74 views

Coloring (Temperature) surface of parametric 3D plot

I am stuck on figuring out how to do a "Temperature" Color scheme for a surface plotted using ParametricPlot3D. As an example, here is a plot of one example surface. This is a antenna gain plot of ...
19
votes
2answers
914 views

Determine whether points lie within a cow

I would like to determine whether randomly-generated points ...