# Questions tagged [graphics3d]

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

1,833 questions
Filter by
Sorted by
Tagged with
19 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 ...
14 views

### Rotate a Cuboid around z axis

How can I rotate a Cuboid[] around the z axis? Using the simple code: Rotate[Cuboid[],-Pi/4,{0,0,1}] I get the string ...
33 views

### Visualizing a curve "from the side"

I'm trying to animate the idea that values of $\sin x$ are concentrated around 0 and 1. Looking at the sine curve from the side, middle should be lighter than the edges. My first attempt doesn't ...
30 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 ...
151 views
+50

### 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 ...
185 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 ...
88 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)$...
137 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 ...
57 views

### Manipulate is dizzy [closed]

I've a problem in making an animation by using manipulate. I have several graphics object that depends on a time dependent configuration. I use Show to create an image with all of them and manipulate ...
245 views

### Opacity or related issue with DensityPlot3D

I'm trying to make use of the function DensityPlot3D with the following specific example ...
72 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 ...
344 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 ...
126 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 ...
512 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 ...
76 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, ...
415 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 ...
117 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 ...
89 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 ...
70 views

### Hide edges of cube [closed]

Is there an option to hide the edges of a Cuboid? The default behavior is the following: And the desired is the following: I'm working in mathics-threejs-backend ...
258 views

### Option Lighting in the Show function does not work

Bug introduced in 11.2 or earlier and persisting through 12.3.1 There are something wrong when I try to evaluate the example from Lighting Docs, here is the code: <...
133 views

### Can I draw a sphere using Graphics3DSketch?

I've seen a very nice example to draw a sphere with dashed longitude/latitude in the invisible part: Dashed mesh behind 3D object. I wonder is it possible for me to only include the equator and two ...
121 views

### Can I dash only the invisible edges of dodecahedron? [duplicate]

I'm new to Mathematica and trying to draw a dodecahedron. Here's my code and output: ...
111 views

### Plot or draw a differential geometry graph in Mathematica?

I want to draw a differential geometry diagram, but I don’t know how to draw it. I can only draw graphics like the first picture. There are many differential geometry diagrams in textbooks. What tools ...
106 views

### Lighting/Mesh problem after GeometricTransform

This is probably a silly question but... Context I have gathered from this site Functions to draw sets of concentric 3D rings as follows: ...
139 views

### Convert image of roads to 3D graphics

I have images like this: and I want to convert those lines to 3D graphics so I can export it as OBJ or STL. My best attempt has been by using MorphologicalGraph (following this post) and doing: ...
34 views

### Graphics3D: Background object erroneously placed in front of foreground object

I want to plot the trajectory of a particle running on sphere together with the particle sitting on top of the last point of the trajectory. The problem is that in the resulting plot, it appears as if ...
169 views

### A list of Graphics Primitives

Is it possible to programmatically get a list of 2D and/or 3D Graphics Primitives? Edit: Indeed, there is an answer to this question here. It is, however, much focused on a function checking that the ...
55 views

### Where is wrong in this code to plot intersection of a plane and a sphere?

I am trying to plot the circle is intersection of the sphere with center O(0,0,0) and radius R and the plane ...
126 views

### I am trying to plot every mesh point of a model elephant so that the surface of the elephant wraps around the interior surface of the mirror

I'm trying to find a way to turn the elephant inside out in a way. Imagine cutting an elephant in half from tail to trunk, stopping right before the trunk. You could flatten the elephant out and wrap ...
68 views

### Plotting normal vectors to planes and to paraboloids (picture seems inaccurate)

I have a somewhat complicated picture (actually two) to plot that I've been struggling with in Mathematica... the first one almost worked: ...
51 views

### Animate smooth transition between viewpoints with ViewProjection -> "Orthographic"

I'm looking for code to animate smooth transition between 2 viewpoints with ViewProjection -> "Orthographic". My first attempt is below but it's ...
199 views

### Visualising 'The Moessner Miracle' in higher dimensions

I thought it would be interesting to try and represent "The Moessner Miracle" in higher dimensions. This is my first attempt for higher dimensions anywhere so I'm not sure if the logic is ...
484 views

### "graph-paper" style for z=0 plane in a 3D plot

I'm looking to get publication-quality illustrations in the style of "Interactive Linear Algebra" book where z=0 plane has the look of graph-paper What is a good pattern to achieve this ...
192 views

### Ridges on Breather surface

BreatherSurface is given in Mathematica code. Taking clue from this view or otherwise how to obtain table of $(u,v,x,y,z)$ points and its plot of any one single ridge where the cusps have infinite ...
560 views

### How to generate a Coronavirus 3D geometric model?

How to generate a Coronavirus 3D geometric model like this one: https://urbanmilwaukee.com/wp-content/uploads/2020/02/1024px3D_medical_animation_coronavirus_structure-1024x576.jpg Or this one: ...
47 views

### Retain rotate, zoom and pan in Plot3D generated inside a Palette

Consider the following .wl package: ...
4k 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 the ...
88 views

### How to draw intersection of a plane and a sphere?

I am trying draw a circle is intersection of a plane has equation 2 x − 2 y + z − 15 = 0 and the equation of the sphere is ...
198 views

### Wrong occluding relation of objects in 3D graphics in Mathematica 12

I want to mark the intersection of lines with a spherical node with the following simple code: ...
147 views

### How to plot a 3D graph of a difficult transcendental equation?

i need to create this plot from an article, using this equation where and here rho2/rho0 is kept = 2, c2= 0.7c0, va= 0.4c0 and c1 vary such that this equation is satisfied i am very confused ...