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

learn more… | top users | synonyms (1)

0
votes
0answers
38 views

All Graphics3D commands crash

Recently updated from Mathematica 8.0 to 10.2 running on Windows 7 (8.0 was uninstalled before installing 10.2). Anytime a 3d graphics is rendered, the first rendering in a notebook is completely ...
13
votes
3answers
469 views

Particles bouncing in a 3D box

I made this Manipulate code which shows a pack of particles randomly moving inside a box. It has a huge performance issue. What should be the best way in doing ...
3
votes
3answers
126 views
2
votes
1answer
100 views

Seeing coordinates in Graphics3D

I'm writing some structures built up from different strings that specify the coordinates of the lines. The code used to generate these is built up from a ton of user defined functions from my library, ...
1
vote
1answer
59 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 ...
10
votes
3answers
1k views

Make the moon's 3D gif

How do I make the following gif I tried: ...
0
votes
2answers
125 views

The Disc and Washer Methods [closed]

How is it possible to demonstrate a visual solid of revolution utilizing the washer method? For example to show the shape formed by rotating the region bounded by $y=(x-2)^4, 8x-y=16$ about $x=10$? ...
0
votes
0answers
74 views

How to select morphological components of a 3D image by clicking [closed]

This is a follow up of this question and I'm following the answer given by Dr. Belisarius. The updated answer can select morphological components by clicking on them. It was implemented for 2D images, ...
7
votes
0answers
138 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: ...
7
votes
0answers
125 views

ClipPlanes on Translated 3D objects crash front end

Bug introduced in 10.1 or earlier and persists through 10.4.1 Applying Translate to a simple 3D object (e.g. Pyramid) along ...
0
votes
0answers
42 views

Intel Graphics Driver Crash and Recovery messages with 3D graphics?

Ever since i updated to Mathematica 10.4 from 10.2, I have been occasionally experiencing a graphics crash error message and 3D images/graphics that used to appear normally just turn black upon ...
22
votes
3answers
1k views

How to make a 3D topographic globe?

I've made some attempt with this dataset of elevation. But I have some trouble with ListSurfacePlot3D, which can not show the globe correctly: And I've checked that the data is out of problem, ...
0
votes
1answer
64 views

ParametricPlot3D etc. with parameters satisfying an implicit relation

I need some help on plotting the curve generated by a vector, given its three components as a function of two parameters, e.g. s1 and s2, whose range are known, and they have to satisfy a given ...
8
votes
3answers
443 views

Changing the atom color for plotting xyz-files

Mathematica takes the standard color code for atoms when plotting an *.xyz file, but I want to customize the color for the specific atoms. I really become desperate as I did not get it so far. ...
10
votes
2answers
775 views

How can I access the internal function that plots a molecule from a formatted XYZ file?

Mathematica has the ability to plot a molecule using the data contained in an XYZ file. This is a simple text file, of which this is an example. The molecule is plotted using the ...
4
votes
1answer
121 views

eigenoscillations of a sphere

I would like to animate the eigenoscillations of a sphere (Earth?). It's just simple to draw images one by one: ...
6
votes
1answer
275 views

Why does Arrow not work well with Scaled coordinates in 3D?

Bug introduced in 8.0 and fixed in 10.4 or earlier. I am a little puzzled by the fact that if I try to use Arrow with Scaled ...
3
votes
2answers
51 views

ParametricPlot3D does not export with the specified PlotRange?

I am trying to plot a function with ParametricPlot3D with a specified plot range to export as an stl file, however when exporting the graphic mathematica ignores the PlotRange and exports the whole ...
2
votes
3answers
445 views

How to make this 3-D Plot Transparent?

Basically, I want to make this 3-D Plot transparent. I've already tried Opacity[]. I also want to change its color to e.g. light blue. ...
2
votes
1answer
121 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: ...
0
votes
0answers
82 views

Selecting morphological components of a 3D image

This is a follow up of a previous question : Selecting morphological components by clicking on them? I followed the answer provided by Dr. belisarius. It works fine for 2D images. However, I can't ...
-2
votes
1answer
63 views

Plotting 3-dimensional graphs [duplicate]

I just started Calculus 3 and I thought it would be useful to see images of functions to get used to the transition of visualizing in 3-dimensions. I was wondering how one would go about plotting a ...
39
votes
7answers
3k views

How to plot contours on 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 ...
5
votes
1answer
93 views

How to export a 3D circle as a single piece PDF vectorial object?

I need to export a circle drawn in 3D with a specific point of view to a PDF file. This is easy to do. However, the exported circle is made of tons of non-connected small bits. I need the whole ...
41
votes
2answers
3k views

How to make this beautiful animation

How to make an animation of following gif in Mathematica? Edit: The animation shown above was created by Charlie Deck in processing. And how to make 3D analog? I tried first few steps ...
4
votes
2answers
115 views

How can I create a graphic of a wedge of a cylinder (like a slice of pie)?

http://demonstrations.wolfram.com/HoleInACylinder/ This demonstration uses Graphics3D and is able to generate what I want, but I cant figure out how to separate ...
4
votes
2answers
197 views

How can I visualize a map $f:T^2\to T^2$?

Let $T^2\cong S^1\times S^1$ be the one-holed torus surface (say, embedded in $\mathbb{R}^3$) and say I have a simple-ish map $f:T^2\to T^2$ which I'd like to visualize. How might I do that? To make ...
7
votes
1answer
325 views

plotting 3D image for the “grazing goat and silo” problem

I am looking for the code to generate a 3D graphic with this area rotated around its PQ-axis: The red circle represents a silo centered at point P. A goat is tethered at point Q on the edge of the ...
2
votes
1answer
97 views

How to add color to a knot

Is there a way to use a colorscheme to a KnotData image? One way is probably convert it to a parametric form and then use ...
4
votes
0answers
42 views

When Graphics3D renders a Polygon with non planar points, how does it triangulate to two separate polygons?

If we try to make a Polygon with nonplanar points, the documentation says Non-planar polygons are accepted in Graphics3D and ...
0
votes
3answers
168 views

Can I convert a 3-D plot into a 2-D plot?

I am studying the Landau Free Energy Equation. First of all the plot displayed only shown negative range. can i show the positive range too? (y-axes). Then, can I turn this plot into 2-D Plot? ...
0
votes
1answer
45 views

Plot bivariate data with marginals using Graphics3D [duplicate]

I have some 2D data (a load of random walks) that I would like to show using a bivariate line plot with marginals attached (I would like the output to look similar to that in this question.) The ...
0
votes
1answer
80 views

Can I plot a cone about an arbitrary axis in 3D? [closed]

I'm playing around with Mathematica to try to produce a 3D visualization of something. I need to generate the surface of a cone with a circular base. But the axis of the cone must be the body diagonal ...
7
votes
6answers
649 views

How to draw a dodecahedron with each face modified to a pentagram?

I'd like to draw a dodecahedron with each face carved on the sides so it becomes a pentagram. I wonder how to start to do this kind of task in the Wolfram Language? Edit: The result should still be ...
4
votes
2answers
128 views

Create a square polygon that can be used as the base of a pyramid

For example I want to use the design generated by this code as the base of a pyramid as well as other iterations of the design ...
7
votes
1answer
252 views

How to make sure polygon is drawn flat in 3D?

Bug introduced in 8.0 or earlier and fixed in 10.4 I'm working on this SE question about pentagrams on top of dodecahedron for exercising. Both solutions are basically connecting different sets of ...
139
votes
1answer
25k views

Mathematica Minecraft

Some time ago I asked myself: with all these great graphics and interactive capabilities of Mathematica, what kinds of 3D games can be implemented in it? And the answer which came to mind is ...
2
votes
2answers
223 views

How to create several 3D plots of 2D functions in Mathematica?

I have multiple 2D functions defined and I'd like to plot them in (what I call) a fence plot. An example of a fence plot is The three functions I want to plot (all defined on $-1 <= x <= 1$) ...
2
votes
0answers
35 views

vector graphics of a ListPlot3D

My problem is quite simple and yet I can't seem to find a solution to it. I'm trying to create a figure in vector format but if I export it to EPS I get a very bad gradient in the colors. If I export ...
3
votes
1answer
73 views

Understanding FaceGrids

I'm having difficulties with FaceGrids. This should be pretty basic, but the documentation isn't helpfull with its fancy and mostly useless examples (again!) I ...
2
votes
1answer
54 views

Same mesh graduations on a plane as axes ticks

I need to define a plane with a mesh as a reference plane. Currently, the mesh lines don't match the axes ticks. That plane is defined so it can adapt automatically to a variable scale in a ...
15
votes
3answers
1k views

ListSurfacePlot3D generates ugly artifacts

I have a list of $\{x,y,z\}$ pairs representing points in $R^3$. For every unique value of $z$ there are many $\{x,y\}$ pairs defining a polygon/contour in that particular $z$-plane. My dataset looks ...
1
vote
1answer
57 views

How to rescale a NDSolve curve to fit in a box?

I'm numerically solving some differential equations and the 3D curve I get has a very complicated shape and size that cannot be predicted from the initial conditions. I need to rescale the whole ...
1
vote
2answers
83 views

A way to show all the 3D curve, with view still centered on {0, 0, 0}

I frequently have this graphics output problem : I draw a 3D curve using NDSolve, and depending on the initial data, there's no way I could predict the shape and ...
4
votes
2answers
199 views

Plotting a complicated 3D wave on the surface of a sphere [duplicate]

Suppose you have a vectorial wave described by a complicated function of time and cartesian coordinates $t$, $x$, $y$ $z$ (very simple example below) : ...
3
votes
1answer
64 views

Import Excel sheet into 3D array, 1st row and column as x- and y-axis

It might be simple, but for me, it took several hours working on, but still cannot figure out. Basically, I'd like to create 3 dimensional list data ({x,y,z}) from excel file, so I can plot them ...
1
vote
1answer
74 views

How to define a stochastic electromagnetic field? [closed]

I would like to show the effect of a stochastic electromagnetic field on a relativistic charged particle, using a manipulate box. The field should be randomly varying in time and in space, and be ...
1
vote
1answer
53 views

Using ColorFunction to plot Cones with colors depending on orientation

I have an assembly of cones plotted with Graphics3D with positions and orientations according to data read from a file. Now I am using Hue to color the cones and I use the following code to plot them: ...
4
votes
1answer
118 views

interpolating a smooth closed surface to a non-uniform data set (ListSurfacePlot3D)

I want to generate a smooth coloured surface from a discrete set of points of the form {x,y,z,F} using the ListSurfacePlot3D. My data set is quite non uniform; the ...
13
votes
2answers
2k views

Creating 3D dice

How to create an image of a 3D die from the 2D images? There is an example in the Documentation Center I tried but it doesn't work.