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

learn more… | top users | synonyms (1)

1
vote
2answers
67 views

Use a custom3D graphic for points in ListPointPlot3D

I would like to make a plot where the points of ListPointPlot3D are themselves a Graphics3D object created using SphericalPlot3D, and each one depends on the position of the point. So basically, you ...
2
votes
1answer
114 views

How to create a parallelepiped tiling?

I know how to create parallelepiped and combine them to form a parallelepiped tiling, but the tiles overlap... I started with this code: ...
1
vote
1answer
144 views

Finding intersection of 3D lines

I want to find the intersection of 3D line. I want to detect the 3D light source position by intersecting 3D lines. ...
15
votes
3answers
550 views

How to get the real PlotRange using AbsoluteOptions?

The problem in general involves the unreliable behaviour of AbsoluteOptions when option values are implicitly specified (e.g. ...
3
votes
2answers
122 views

Draw only part of axis in graph

I'm looking to draw only one half of an axis in ContourPlot3D, mainly because I don't wan't the axis lines to be where the interesting stuff happens (intersection ...
5
votes
4answers
668 views

How can I fill a curve in ParametricPlot3D?

I'd like to fill a curve in a ParametricPlot3D in the same way as I might with ListPointPlot3D; i.e., ...
0
votes
0answers
28 views

How to get shadow of a 3d object [duplicate]

Suppose that we have a box or a sphere or an other 3D object and a ponctual light source. How we can generate the cast shadow using mathematic? Is there any tools to render a shadow given the light ...
27
votes
3answers
857 views

Create a torus with a hexagonal mesh for 3D-printing

I am new to Mathematica, and I'm looking for a way to create patterns on the surface of 3D objects. One thing I have not been able to do is create a hexagonal mesh on a torus. What I would like to ...
31
votes
6answers
1k views

How to plot contours in the faces of a cube

I'm trying to plot contours of a function f[x,y,z] on the faces of a cube as the example below, which represents the domain of this function. Is there a way to do ...
6
votes
3answers
278 views

How to make a 3D plot auto-rotate?

When doing presentation with Mathematica, I often want a 3D plot to rotate automatically, so the 3D feeling is stronger. I don't want to drag the mouse very time. So, I want a general function like ...
8
votes
1answer
192 views

Add lines to 3D Plot

How can I add lines that demarcate the different regions of the following 3D plot: Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, -8, 8}] To give you an idea of what ...
0
votes
0answers
59 views

Define new 3D graphics primitives in Mathematica 9 [duplicate]

I have generated a three-dimensional probability distribution function (PDF) and I would like to place a series of these PDFs at certain coordinates on a cuboid. I've rasterized the PDF so it is a 3D ...
0
votes
0answers
38 views

Mathematica how to plot objects with labels in 3D plot [duplicate]

The following code plots 3 cuboids, each with a label at the lower left vertex. The label is meant to be part of the cuboid object. Yet, since Text[] is used to ...
0
votes
0answers
71 views

Why cannot import 3ds file into 3dsmax

The obj file can be imported into max rightly, but when I import the .3ds file into max I get some camera objects. Some 3ds files can be imported into max. What's wrong with the file? Is it ...
2
votes
1answer
215 views

ContourPlot3D for a 3D vector contour plot

The procedure ContourPlot3D allows plotting the contour lines of the components of a 3D-vector. The problem is I don't know how to give the contour planes of each ...
1
vote
1answer
85 views

Shading using VertexNormal changed when combining graphics3D andy ListContourPlot3D with Show

I want to combine some ListContourPlot3D and Graphics3D to present, on one 3D plot, the projection of the contour plots on each ...
5
votes
1answer
157 views

Integration of Two Manipulatable Cylinders

Introduction I created the following code to simulate the many possible interactions between a cylindrical protein crystal and a x-ray beam during serial femtosecond crystallography. ...
7
votes
2answers
209 views

Draw an arbitrary convex polyhedron without excess diagonals drawn

I want to draw a set of convex polyhedrons whose vertices are defined by spherical coordinates on the surface of a unit sphere. Currently I followed the advice from here: ...
0
votes
1answer
86 views

Rotating a set of 3D points against an arbitrary axis

I want to rotate a list of 3D points around unit vector (1,0,1) by the angle of Pi. How can I accomplish it?
3
votes
1answer
173 views

How to speed up Manipulate with Graphics3D

How do I speed up the Manipulate of the Graphics3D objects here? It is currently painfully slow, and I'm at a loss. I have reviewed many other posts and implemented what I could based on them, but it ...
3
votes
2answers
288 views

Increase 3D Graph thickness for 3D printing in Mathematica?

My code: Plot3D[{(2*x*y)/(x^2 + y^2)}, {x, -2, 2}, {y, -2, 2}] Output: And now I can export this to STL by using the export STL command, however, when I try ...
1
vote
1answer
80 views

Are there built-in functions for testing if a point lies within Graphics3D primitives?

I noticed in this question, Behavior of Graphics`Mesh`InPolygonQ with self-intersecting polygons, that Mathematica has some "psuedo-hidden" functionality for allowing one to quickly perform a winding ...
0
votes
2answers
86 views

Drawing a large set of Graphics3D cylinders provided a set of cylinder specifications in a list

I'd like to draw a large number of 3D cylinders using Graphics3D. My list specifying the cylinders has elements that look like the following: ...
1
vote
2answers
127 views

Opacity and overlapping points on ListPlot3D

I am plotting a dataset on ListPointPlot3D, and in order to give an idea of density of points I used opacity of 0.5. The problem is that that while the opacity of points behind one another is added, ...
0
votes
2answers
102 views

Outputting a film (in .avi, .mp4, etc. formats) where frames correspond to Graphics3D outputs

I'd like to make a exportable film (in some format like .avi or .mp4, something playable on most computers) where each frame is a Graphics3D output. For example, we might generate frames in the ...
2
votes
1answer
124 views

How to color the surface of the Box of 3D graphics

Is there any possibility to color the surface of the Box of a Graphic3D[]? ...
1
vote
1answer
198 views

Finding 111 plane of Carbon Diamond

All, I looked at the example on the Mathematica Website with the Carbon Diamond Lattice. Example I am referring to I am wondering is there a way to highlight an individual plane such as the 111 or ...
0
votes
1answer
62 views

Combining an imported PDB file with a set of Graphics3D objects

Imagine we import a PDB file like so (using the example from ref/format/PDB in the help directory): ...
1
vote
2answers
120 views

How can I increase the number of polygons / resolution for this plot?

I have generated the following plot: Code: RegionPlot3D[ x^2 + z^2 < 1 && x^2 + y^2 < 1, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}, Axes -> False] ...
10
votes
2answers
176 views

Boundary effect of Graphics3D object Tube[]

I draw a Graphics3D object of two tubes: Graphics3D[{Tube[{{-0.2, -1, 0}, {-0.2, 1, 0}}, 0.05], Tube[{{0, 0, -1}, {0, 0, 1}}, 0.05]}, Boxed -> False] And ...
5
votes
2answers
381 views

How to render a 3D ellipsoid with Graphics3D?

With Graphics3D[Sphere[{0,0,0},1]] I can render a uniform 3D sphere, but how can I render an ellipsoid? I would need to specify the rotation of the ellipsoid and ...
0
votes
1answer
161 views

plotting xy, yz, zx plane at

I have a data list in the following form, data = {x, y, z, f} I would like to present three kinds of subdata set as a density (or contour) plot on the ...
0
votes
0answers
66 views

how to plot 3d graph with its projection on the plane? [duplicate]

I know that using matlab we can plot above kinds of graphics, looking very nice and informative. For so long time, I have been wondering how to plot those kinds of figures in mathematica. I was ...
1
vote
1answer
108 views

Plot3D missing a zone

I am trying to plot a simple graph using Plot3D: ...
3
votes
1answer
93 views

Adding and summing overlapping Airy (or Gaussian) disks on a plane

In a previous question of mine, I asked how one might draw an Airy disk on a plane: Generating an Airy disk on a plane, and recieved some impressive answers from the users Timothy Wofford and ...
3
votes
2answers
204 views

fit a curve in a three dimensional space

I have a list of points of a curve in a three dimensional space, like ...
2
votes
2answers
358 views

How to draw a coordinate system diagram?

I want to make drawings like these in Mathematica: I don't know if Mathematica is a gppd solution for drawing such images. If it is, please tell me how to do it; if not, please suggest another ...
3
votes
2answers
333 views

Generating an Airy disk on a plane

I wish to generate a surface intensity plot of an Airy disk (or perhaps a two-dimensional Gaussian approximation to an Airy disk) on an (x, y)-plane at a specified coordinate. The hope is to have ...
3
votes
3answers
116 views

A one-liner to place some number of Graphics3D polytopes on a plane and to randomly assign colorations

I'm looking for a nice one- or two-liner to randomly place some number, $N$, of Graphics3D polytopes on a plane with dimensions $X \times Y$, and to specify that $k ...
9
votes
1answer
316 views

How do I place a texture on an irregular 3D model?

I'm trying to reproduce a textured head in Mathematica, and I'm using a kind of 'net' of a head which contains all the features on the face. The texture looks like this: which is supposed to look ...
3
votes
2answers
246 views

10bits per rgb / 1024 shades of gray?

Can we display 10 bits per rgb in Mathematica? I'm using a quadro card and 30 bit monitor and can get a smooth gradient using Psychtoolbox in matlab. The following Mathematica should produce a bar ...
0
votes
1answer
202 views

How can I combine several 2D-plots to one big 3D plot?

So I've been able to make a list given by list = Table[{xValues, f[xValues, t (*fixed*)]}, {xValues, xmin, xmax}] For example: ...
7
votes
2answers
224 views

Is it possible to manipulate a graphics object with 3 rotation transforms simultaneously?

The code that I have written has an unintended consequence that I'm not sure how to get around. I want 3 rotation transforms to be applied simultaneously to 1 graphics object. Instead, I get 3 ...
7
votes
1answer
596 views

How do I flatten transparency on a graphics, for conversion to eps or similar?

I've got a graphic that I'd like to save as an eps file. Trouble is, the graphic has some transparency to it. Since the eps format doesn't handle transparency, I want to flatten the transparency out, ...
25
votes
2answers
3k views

3D heatmap density plot

I have a set of data that looks like {{x1, y1, z1}, {x2, y2, z2}, ...} so it describes points in 3D space. I want to make a heatmap out of this data. So that points ...
5
votes
1answer
133 views

Drawing a quadrangular surface

Is there a way to draw a quadrangular surface in Mathematica so that it shows the bilinear term (not two triangles)? The quadrangular polygon is given by the expression $$\phi = \sum_i^4 N_i U_i$$ ...
0
votes
0answers
67 views

How to improve the quality of 3D rendering? [duplicate]

I am trying to combine various 3D objects for a composite image. But some of the objects just don't look very good. In the end, I want to have a publication-quality image. For example, here I ...
5
votes
1answer
145 views

How to remove a black border around Graphics3D[Texture[…]]

So I can create a 2D image that looks like ...
0
votes
0answers
31 views

Hiding 3D Axes Blocked by Surface [duplicate]

I want to plot a 3D surface with the axes crossing at (0,0,0), without a bounding box. I'd also like the portions of the axes "hidden" by the surface to not show. For instance, ...
8
votes
1answer
174 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 ...