# Questions tagged [graphics3d]

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

1,693 questions
Filter by
Sorted by
Tagged with
26 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 ...
31 views

### How to add noise to these random straight lines in 3D?

Here's a code that draws a pack of random straight lines in 3D: ...
188 views

### How to generate randomly curved and twisted strings in 3D?

Here's a code that draws a set of random straight lines in 3D: ...
123 views

### Plot a bezier triangle

I have to construct a bezier triangle that interpolates these 4 points: $\qquad (0,0,1),\,(1,0,0),\,(0,1,0),\,(0.5,0.5,0.75)$ However, the surface that I get is so weird. Anyone please can help me to ...
392 views

### Construct a polyhedron from the coordinates of its vertices and calculate the area of each face

I have the 3D coordinates for a set of points. I want to construct the convex polyhedron with those points as vertices. I know I can use functions like DelaunayMesh ...
86 views

### Export high resolution 3D graphics

There is a code for a revolution of Koch Snowflake I just want to export it as an obj file (or any other 3D format) ...
40 views

### VectorPlot and VectorPlot3D showing blank output

I am trying to plot the following simple vector field $$\sqrt{4-x^2-y^2-z^2}*(y,-x,0)$$ but when I plug this field into the functions VectorPlot and ...
187 views

### Making a 3D-solid from RevolutionAxis

I have the following 3D-model: RevolutionPlot3D[Sqrt[E^-x (1 + E^x)^2], {x, 0, 4}, RevolutionAxis -> {1, 0, 0}] Is there a way to make this model into a solid ...
33 views

### Colorfunction in DensityPlot3D not acting as expect

Im trying to set the color function of a DensityPlot3D output so that it colors the positive values one color and colors the negative values a different color. ...
98 views

### Plot a wave on a surface

Say I'm plotting a 3d-ring with ...
434 views

### MoleculePlot3D - how to replace spheres?

How to replace the spheres in the plot with other 3d figures, say "N" with a Cylinder, "O" with a Cuboid, and "H" with a sphere. ...
140 views

### Cross-section parts of a Cube and show results graphically

I am trying to visualize a 3D section of a chopped up 1x1x1 Cube. I don't want to use the Cube[] function to draw this. (unless you think you can still accomplish it that way). Ok, so say you have a ...
32 views

### ListPointPlot3D + Grid

I have to plot some points in the 3d space. This is the code I use ...
139 views

### How to create a 3D plot with inclined axes?

I want to create a 3D plot with inclined axes. For example, I want to change angle between x and y. ...
151 views

### Sphere[] mesh/wireframe using Graphics3D

When using ParametricPlot3D to plot a sphere, we get a nice mesh / wireframe for it: ...
42 views

### 3D graphics are not rendering properly

I have noticed that on my installation of Mathematica 12.1 on Fedora 31 3D graphics do not render properly. Whenever opacity is specified for an object it disappears altogether (it is a rendering ...
127 views

### Get 3D surface grown by constant distance

There is a nice example of how to generate an isometric visualisation of surfaces which are at a constant distance from a given region. All these examples are just working on one single region. If one ...
41 views

### Controlling Graphics3D aspect ratio when ViewMatrix is explicitly defined

My goal here is to visualize 3D data using an oblique cabinet projection. I would like to be able to adjust the "depth" or spacing of the Z-axis, maintain a golden ratio between the X and Y ...
25 views

### Plotting 3D region depending on 2 parameters with constraints

I'm trying to plot the full range that a set of estimates gives. They depend on some parameters and conditions, but I haven't been able to to it effectively with RegionPlot3D. Here is the set that I ...
35 views

### Find the pixel values for the surface of a 3D image

I would like to find the pixel values for the surface of a 3D image Say a sphere Graphics3D[Sphere[]] I think ImageData[] should ...
56 views

### Rotating 3D graphics inside Show separately by clicking and dragging

Is there a way how to rotate by clicking and dragging just one of the 3D graphics inside Show? For example rotating the cube without rotating the tetrahedron in this code: ...
37 views

### CountourPlot3D problem when intersecting semiplanes

I have the following code: ...
74 views

### 3D Figure with Cylinders and Spheres

I would like to draw a figure in 3D where I have a large cylinder inside which there are: a) smaller cylinders parallel to the larger cylinder that contains them, like in the image below (taken from: ...
42 views

### 3D plot of a tensor

How to plot a tensor in three dimensions. For example, let us take a dielectric constant tensor of rank two. ...
279 views

### Using fewer mesh lines, 3D graphics

I want to make the Final use fewer mesh lines, the ideal version will look like the second image. Where the triangle shape is more clear and clean. Can anyone give me some advice on how to fix my code?...
67 views

### Overlay Graph3D with Graphics, with aligned coordinates

I have a Graph3D object representing a 3D lattice path ...
30 views

### detailed explanation of a sherical gyroid code and how to modify the code to obtain different pores sizes and numbers

***I have the code of a spherical gyroid below which I have used to print a 3D object sphere. i will need a detailed explanation of all the terms starting from a = 3 pi till mesh. moreover i printed ...
64 views

### Geometry3D objects as functions of parameters

I want to make a simulation of a rigid body with mathematica, but I want to use a Geometry3D object instead of a Graphics3D primitive. Mainly I don't know how to rotate the 3D model, I know how to do ...
213 views

### How to get colors at points in Graphics3D?

To get the color at a 2D point in Graphics you can Rasterize it and look up the pixel value, but not for ...
182 views

### How would I go about creating a tear drop shape of cubes in mathematica? [closed]

I am just practicing making some new designs with Mathematica and I thought of this recently. I want to make a tear drop shape (doesn't matter the orientation) constructed of mini cubes. I am ...
45 views

### Intersection Region of two Conic Hull

I have the following semi-infinite conic hull, r1=ConicHullRegion[{{0,0,0}},{{-1,0,0},{0,-1,0},{1,0,1}}]; r2=ConicHullRegion[{{0,0,0}},{{-1,0,0},{0,-1,0},{0,1,1}}]; ...
50 views

### Rescale Graphics3D Based on Box Ratios

If I plot a sphere using Graphics3D with BoxRatios->1, then I get a nice looking plot: ...
172 views

### Converting a 2d surface into a 3d volume

I have a 2d surface shown in the image below using ListPlot3D[]: It is generated with one line of code: ...
65 views

### How can one get an edge/border on a sphere/point in 3D scatter plots

I want to get a point or the Sphere[] Graphics3D object to have a border or edge in a 3D scatter plot. The EdgeForm[] directives seem to apply only to polygon objects. The effect I am trying to get is ...
76 views

...
62 views

### Coloring Graphics3D as a Function of Spatial Coordinates

I would like to plot a Graphics3D object colored based on the value of some spatial function. For example to plot a triangle colored by the function ...
107 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 ...
41 views

### Coloring of polyhedron faces [duplicate]

I just got a new MacOS laptop, and the following has changed. When I look at a polyhedron, it displays like this: However, when I touch it with the mouse to rotate, or save it to PDF, it looks like ...
66 views

### Cannot 3D print prisms and ellipsoids

I get errors if I try to Printout3D[ ] or Export[ ] to an .stl file an object containing ...
75 views

### How can I plot Sinc function and avoid their auto-replicas?

The problem is to plot the 3D Sinc function, but I cannot avoid the self-projection. I use the following code: ...
94 views

### 3D plot of Intersection of sphere with plane (basic)

I should be able to get this from the answer here - but, with apologies, I'm afraid I can't figure it out. I have a sphere and a plane as follows: ...
46 views

### Ellipsoid in GraphicsComplex

I am trying to use Ellipsoid in a GraphicsComplex and I am stuck. My understanding of ...
214 views

### Building large chemical models such as VANTAblack

I would like to build a (large) molecular model of the nanotubes that make up VANTAblack, which consists of a sheet of hexagonally connected carbon atoms all rolled into a (teeny) tube. I can easily ...
79 views

### Exporting several prisms (or Polyhedrons) to stl (with filled inner space)

I want to export hundreds of prisms to stl. And for this stl file to be 3D printable, its inner space must be filled. I've tried two approaches to solve this problem. (just two prisms for a brief ...
62 views

### RegionIntersection fails with Lines in 3D

I have 2 intersecting Lines emerging from the same point and I want to fined the point of intersection. The function RegionIntersection found the origin point but failed to find the intersection. What ...
43 views

### Problem with scaling in ParametricPlot3D

I have an integral given by intS[zs,c] and I want to plot the expression functionS (which contains ...
51 views

### Coloring lines as a function of coordinates

I want to colorize lines as a function of coordinates in 3D. Here is my code. In this graphic I used one color. My aim is using a color function based on 3d coordinates. ...
120 views

### Checking Membership in Boundary of Conical Hull

I want to check whether a given point is also a member of the edges of a given conical hull. For example, I have: ...