# Questions tagged [graphics3d]

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

1,849 questions
Filter by
Sorted by
Tagged with
130 views

### Is it possible to directly translate or rotate a Graphics or Graphics3D object?

I have seen the documentation for Translate (https://reference.wolfram.com/language/ref/Translate.html), which allows one to translate a graphics primitive (like <...
58 views

### Ising Model 1D /Thermodynamics properties

I want to plot the thermodynamics properties of the Ising model like free energy, entropy, magnetization..etc., when h=0 ( no external field ) and when h= finite values For the energy as function of ...
56 views

### How to draw projection of a point on a line in 3D?

Let be given a pyramid SABCD. Put H is projection of A on ...
49 views

### 2D projection of a 3D plot [duplicate]

how we can obtain a 2D projection of 3D plot. I would to have a plot like this : PS: the plot is a publication paper.
451 views

### How to draw the dashed line automatic behind of a pyramid?

I am trying to draw this pyramid like this I tried ...
46 views

### Plot Arg[z] in three dimensions

I would like to plot the function Arg[z] for a complex number $z$ in three-dimensions: I would like to obtain it as a surface over the complex plane, as in the &...
63 views

### Coloring according to orientation

I have the set of the following 3D objects (this is an MWE just for visualization of the issue): ...
272 views

### How to impose golden color on 3D object with flat surface?

I would like to have a 3D object with a golden color as in the attached image, how can I create such color and edges in Mathematica? Here is my try ...
153 views

### PlotRange is not working with MaterialShading in Graphics3D

Here is a minimum example: ...
79 views

### Rotating arc about an axis - with Circle3D. Or not

I borrowed Circle3D from here How to draw a Circle in 3D on a sphere and wrote the code below. Maybe you can guess: The red and green arcs are rotating as I want them to - about the z-axis. But I want ...
51 views

### Remove shadow in 3D plots with different viewpoint

Consider the following two plots ...
38 views

### Dashing issue in Graphics

I have plotted a 3D image using Graphics3D and I have included a Dashing option. If I save the image as a png file (left image) ...
143 views

### Different TextureCoordinateFunction in two faces of a surface

Let us say that we have the following example from the Texture[] help page, modified with FaceForm[] to get different textures for the inner and outer faces: ...
60 views

### Remove artifact in Graphics3D

I have this 3D image where on top(below) there is a hemisphere(blue) and an inner cylinder(green), you can see there is some overlap/artifact being displayed. How can I remove this? ...
939 views

### How to draw two circles on sphere?

I am trying to draw two circle SAB and ABC on this sphere (no need dashed line) I tried ...
53 views

### Quarter circle surface opening outward

I have a Graphics3D issue, I have a cylinder within a cylinder. I want to generate a surface from a quarter circle, but the quarter circle should be "curving ...
123 views

### 3-d plot labels

I would like to put labels on vertices instead of putting a label on axes. I am not sure how this can be done. My specific question is the following. In the attached 3-d picture, I would like to ...
2k views

### How to project 3d image in the planes xy, xz, yz?

Some idea of how to do something similar to the image, but with any 3d object
35 views

### Error in plotting two spheres under a transformation

The following code tries to plot two unit spheres undergoing transformation of their radius and also a translation in z direction: ...
59 views

### How to show these two plots "clearly"?

The following two plots are not visible when shown togather: ...
96 views

### how to rotate a 3D vector around arbitrary axis

I have three vectors red, blue, and green and their origins are at (x,y,z) where red and blue are perpendicular and can be rotated together in the x-y plane by ...
1k views

### Implementing a planetary terrain generation algorithm

From this (now deleted) question I found this site where the author discusses a simple technique for random terrain generation on a sphere. The method discussed is as follows: start with a ...
69 views

### How to rotate Graphics3D perpendicular to the screen?

The docs say I can move to corner to the graphic to start rotation in direction perpendicular to the screen, yet in my own 3D plots, this doesn't work, any idea how to turn it on? (Mathematica 12.3.1 ...
96 views

### Export ComplexPlot3D as Mesh with Material

If I generate a complexplot as follows: a1 = ComplexPlot3D[Log[z], {z, -5 - 5 I, 5 + 5 I}] I can export it to a 3D mesh (for use in external applications) with: <...
77 views

### Visualizing a curve "from the side"

I'm trying to animate the idea that values of $\sin x$ are concentrated around -1 and 1. Looking at the sine curve from the side, middle should be lighter than the edges. My first attempt doesn't ...
35 views

### How do I find the new coordinates of a rotated Cuboid[]?

How do I find the new coordinates of a rotated Cuboid[], obtained through ...
50 views

### Is there a way of plotting ParametricListPlot3D?

I wish to draw a closed shape in 3D using a list of points. Specifically, I want to plot the product of an expensive function "qfun" of angular coordinate theta, with a simple function of ...
167 views

### Rasterize drops anti-aliasing/changes axes thickness

When I Export a result of Rasterize, I seem to get a worse-quality image, compared to exporting image directly. Image dimensions are the same in both cases. The ...
2k views

### Game of Life in 3D

Is there a three-dimensional cellular automaton that in some sense generalizes Conway's Game of Life? If so, how might we use the CellularAutomaton command to ...
201 views

### Contour Plot in Spherical coordinates

There is a ContourPlot3Din Cartesian coordinates, and afik none in dealing with implicit functions in spherical coordinates. EDIT1: If provided the spherical plot ...
92 views

### Bloch ball for a given transformation: Applying transformations to regions

How can we apply transformations to Regions in the Wolfram language? For example, given the transformation $r_x \rightarrow r_x\sqrt{1-g}, r_y \rightarrow r_y \sqrt{1-g}, r_z \rightarrow g + r_z (1-g)$...
139 views

### Extraneous curve due to MeshFunctions

I was using MeshFunctions to get intersection of quadratic with plane, but am getting some unexpected curves, any idea how to get rid of them, or maybe a more ...
252 views

### Opacity or related issue with DensityPlot3D

I'm trying to make use of the function DensityPlot3D with the following specific example ...
73 views

### Should behavior of Cube[] and Cuboid[] be the same in these cases?

Bug introduced in v12.0 (?) and fixed as of 12.3.1 While attempting to export a symbol with head Region (or Graphics3D) as an OBJ file, I run in to problems using ...
349 views

### How can I reduce this code to draw a cone and a pyramid

I am trying to draw this question by Mathematica. I tried ...
136 views

### Rotation/Viewing options for 3D plots

Preamble In this post from several years ago: , it has been suggested that a "Globe" method is available for RotationControl. ...
114 views

### How to turn three two-dimensional plots into one 3D-plot

I am trying to make a complex function grapher (code below), and have made real and imaginary output 3d graphs, and have created functions to "slice" the graph into two dimensional contour ...
63 views

### Generatrix visible in RevolutionPlot3D with thickness

I am trying to plot an open cone (without the base) with a certain thickness. I have first tried with RevolutionPlot3D as follows: ...
46 views

### Problems manipulating 3d Show[] output with multiple 3d objects

My situation is as follows. I have two 3d objects, one created inside Mathematica and the second an imported STL file, that I want to superimpose and view together inside Mathematica. I want to be ...
516 views

### Graph3D behavior does not seem to be following the given options. Is this a bug or am I not stating the options properly?

Something simple like RotationAction->"Clip" doesn't perform the intended change. Example: ...
46 views

### Does Glow work during mouse-driven 3D rotations in Mathematica Online?

As specified in the documentation for Glow, the code Graphics3D[{Glow[Red], Black, Cylinder[]}] displays a cylinder that glows ...
78 views

### Why do Spheres with negative radius appear dark?

If I run the following, Graphics3D@{Blue, Sphere[{0, 0, 0}, 1], Sphere[{3, 0, 0}, -1]} I find that the positive radius sphere is properly lit as one would expect, ...
418 views

### Depth from Graphics3D

Consider this simple 3D rendering with some geometric primitives: ...
58 views

### Visible point light

Is there a way to create a visible light sphere for point light? The default behavior is the following: And the desired is the following: I'm working in mathics-threejs-backend, the 3d graphics ...
42 views

### Graphics3D default properties? [duplicate]

I realized that it is impossible to reproduce default sphere only by declaring its color. ...
21k views

### What are the possible ways of visualizing a 4D function in Mathematica?

I have a function $F$ that maps the xyz space to a set of reals, more clearly: $c = F[x,y,z]$ Where $c$,$x$,$y$ and $z$ are reals. What are the possible ways of visualizing this 3d function in ...
119 views

### Extracting Lighting specs used in a Graphics3D object

I'm getting a plot which is mostly fine with Lighting->Automatic, but a bit too dark. How do I go about getting the Lighting specification used in the plot so I ...
93 views

### Combined Plot3D of two functions, each with own MeshStyle?

Can someone suggest a way to specify per-function MeshStyle when plotting multiple functions? An example is below, I'm trying to show two contours, with black and red/dashing style. The Plot3D only ...