Questions tagged [graphics3d]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
42 views

How to precisely set the surface thickness of the graph?

I have a Mathematica ver 12.0 I would definitely like to convert the following graph to an STL file. So I set the PlotPoints to 120 and the surface of the graph is very smooth. ...
6
votes
2answers
291 views

2D and 3D graphics that project a world map on Icosahedron

I would like to generate 2D and 3D graphics of icosahedron with continuous world map projected on them. An example is provided as follows: It's trivial to generate 3D Icosahedron using ...
0
votes
1answer
33 views

How would you make a Graphics3D that has Labels for +x and -x?

So I'd like to make a graphic of a 3D cave network, and so I'd like to have labels on the axes indicating north, south, east, west, up, and down. The way that I imagine doing this is by labeling each ...
5
votes
1answer
112 views

My first Mathematica project code review, Dodecahedron

I thought of a project to get my feet wet with Mathematica and have completed it. If anyone finds time to look at the code and send some feedback I would appreciate it. If it's inappropriate to ask ...
0
votes
0answers
47 views

How can I simulate an object falling into a hyperboloid geodesic that is spinning at a particular speed?

I am trying to make a visual representation of the trajectory traced by an object that travels through a rotating hyperboloid geodesic. Here is the code for the hyperboloid geodesic: ContourPlot3D[ ...
0
votes
0answers
14 views

How to concatenate multiple `CapsuleShape[]` while changing their size?

I am trying to create a 'chain' of capsules so that they are concatenated at certain points. Then, I want to change the size (radius, etc) of a given capsule, while preserving the relative orientation ...
0
votes
0answers
23 views

How do you project a user defined 3D object on to a plane? / How do you get the “shadow” of a 3D object?

I have been working on creating a 3D model of an American football. I have the model but I need to find the cross sectional perpendicular to any given orientation vector of the object. I've looked ...
0
votes
1answer
42 views
0
votes
3answers
38 views

How to use “Style” properly with “ListPointPlot3D”?

Using MMA 12.0 on a Windows 10 machine. I am trying to plot a list of points in a 3D plot. Each point has a different weight which I want to show using different point sizes. The points are also in ...
5
votes
2answers
276 views

Scaling the edge length of a graph to be equal to edge weight

I've imported a dxf file in Mathematica dxf = Import["input.dxf"] The following graph is present in the dxf file available here. The actual dimensions don't ...
2
votes
3answers
137 views

Extracting Mesh lines from a GraphicsComplex

I was working on some geometric manipulation and hoping to further process this graphic's isolines however I was stumped as how best to do that when I looked at the object's ...
2
votes
1answer
70 views

Annular segment in 3D

I would like to plot a segment of a circular annulus in three dimensions with constant thickness (like a thick washer, but through some limited ranges of angle). This shows the shape: ...
2
votes
1answer
47 views

Finding the cross-section [duplicate]

I need to have the 3D plot of this picture below. To be precise, I need it to be the same like the blue one. However, i dont know how figure it out. Can you help me? ...
3
votes
0answers
32 views

Change aspect ratio of camera in Graphics3d?

The funtion Graphics3D has the option to set the position and orientation of the camera. But the image seen by the cammera is always a square. Is it posible to change this? The following pictures ...
2
votes
2answers
104 views

Is possible to embed a text on a face grid in Graphics3D?

I am trying to embed a text on the left FaceGrid (such that it looks like it is written on the respective FaceGrid), how can I ...
2
votes
0answers
45 views

Thickness of lines in Graphics3D

Using Thickness in Graphics3D, I can't achieve variable thicknesses below 0.01- they are always treated as a thin line with the ...
2
votes
1answer
38 views

Increase number of lines shown by FaceGrids

From the documentation, you can create face grids in a graphic with: Graphics3D[Cylinder[], Axes -> True, FaceGrids -> All] But it says nothing about ...
0
votes
0answers
54 views

Plotting a vector path on a torus

I am looking to visually represent some properties of vectors when plotted on the plane versus when the are plotted on the torus. Plotting them on the plan is relatively straight forward, however I ...
1
vote
1answer
51 views

RegionPlot3D behaving badly

If you go to the documentation page for RegionPlot3d, in the Scope/Presentation section you will find this code: ...
0
votes
1answer
109 views

Graphics3D from Mathematica to stl

I made these two Regular skew apeirohedra using Graphics3D. The flow of my code is like this : (1) calculate all vertexcoordinates and faceindices (in "mucube", but in "muoctahedron" I just used ...
3
votes
1answer
55 views

How can I look directly at the center of the TextureCoordinateFunction?

By manually adjusting the coefficients inside TextureCoordinateFunction I can get the numbers on each ball to sort of face the camera: ...
4
votes
0answers
65 views

weird behaviour with BoundaryDiscretizeGraphics

I see a weird behaviour with BoundaryDiscretizeGraphics. When I slightly change the PlotRange option I get a different shape. Is this a bug? Below I have included an example that highlight the ...
13
votes
1answer
196 views

Control grain size of stipple shading

Mathematica 12.1 introduced a number of amazing shaders such as StippleShading. Is there a way to control the grain size of ...
1
vote
1answer
28 views

How to place cuboids with a list of points?

I have a list of points found in a 3D Sierpinski triangle. How do I replace these points with Cuboids? The points come from a nested list ...
12
votes
2answers
391 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: ...
0
votes
0answers
20 views

ListDensityPlot odd behavior

I have two lists in the form data1={{x1,y1,f[x1,y1]},.....} and data2={{x2,y2,f[x2,y2]},.....}. Each table has 672 elements, and ...
0
votes
1answer
51 views

How to 3DPlot a triple integral in cartesian coordinates

I am trying to make a 3d graph of the triple integral in cartesian coordinates. I am positive that I have been filling out the correct parameters but I am unsure what could be wrong. Additionally I ...
1
vote
1answer
36 views

Drawing a Sphere and ParametricPlot3D [closed]

I want to draw a sphere and a parametric curve, but the output doesn't show the parametric curve. ...
10
votes
1answer
135 views

Extract ViewVertical from ViewMatrix

Given a ViewMatrix setting of the form {t, p}, how can one determine the ViewVertical? Let'...
2
votes
0answers
41 views

Graphics3D: How to arrange ViewPoint etc to get Star Wars opening scene battleship overflight?

I'd like to see if I can get a Graphics3D animation of something akin to the opening scene of Star Wars where a battle ship flies in overhead (2:17 into this clip). ...
1
vote
1answer
72 views

Insets hides behind a surface

MacOS, Version 12.1 In the following code, the "Hi" is above the surface, but you still can't see it from above. ...
11
votes
1answer
163 views

Mottled appearance of ContourPlot3D with transparency

I'm trying to make a ContourPlot3D that needs to be transparent. With transparency, however, something odd happens. With ...
6
votes
0answers
265 views

Plotting severely distorted in V12.1 but works in V12

The following code can plot a surface in 3D (the plot) and also makes a row of two plots using ...
1
vote
0answers
53 views

Great circle on a sphere does not show up perfectly when looking at it head on

The following code produces the following out. What's the reason for the great circle to be broken up around the x-y plane? ...
0
votes
0answers
28 views

Plot trajectory and angle of object using multivariable vector plot

I want to plot a projectile motion graph, with and without drag. So I want the x-axis to be the horizontal displacement. y-axis is the change in angle. z-axis is the vertical displacement. ...
1
vote
1answer
25 views

visualizing the intersection of a parametric triangle vs sphere

I would like to visualize the intersection of a triangle and a sphere. I was able to figure out the parametric equation of a triangle and exclude the intersecting part from it with RegionFunction. I ...
3
votes
0answers
55 views

How to embed a plot drawn by Mathematica into a webpage

In this webpage for Calculus, page the author presented graphs of surfaces in 3D so that we can interact with (rotating, zooming). My question: can we create a graph using Mathematica and then ...
0
votes
0answers
44 views

How to input thickness in a spherical gyroid

I have the equation to contourplot3D a spherical gyroid given below ...
3
votes
2answers
52 views

Coloring DiscretePlot3D according to min

I have two discrete functions, which I'll greatly simplify for this question: RedFnc[i_, j_] := 1 + i + j; BlueFnc[i_, j_] := 1 + (1 - i) + (1 - j); I am ...
9
votes
0answers
122 views

Export/Import a 3D file format with Textures

In version 12.1, the docs say that it is now possible to export/import to a 3D file format while preserving textures: But I can't seem to find a single example of this new feature! Code to try: If ...
10
votes
0answers
266 views

How to make this Möbius Torus animation?

I came across a beautiful animation of a Möbius torus, and I'm hoping someone can help me make this animation in code: What I've tried: I made the basic shape but can't get the right colors, ...
2
votes
1answer
50 views

Plotting space defined by implicit equations via pure functions (ContourPlot3d, RegionPlot3D, Graphics3D)

Is there a simple elegant way to plot any implicit curve or surface in 2D or 3D, given the input reg (list of intervals, i.e. cube) and ...
2
votes
1answer
60 views

reduced image quality / sharpness when texture has opacity / alpha / transparency

The output of Graphics3D looks blunt (polygon borders, arrow) when a polygon primitive is present in the scene with texture that has opacity channel. Also it seems that different kind of texture ...
4
votes
1answer
49 views

The rendering of plot meshes on exported x3d files is inconsistently rendered by different browsers

I'm exporting some plots from Mathematica into x3d for display on the web, and I'm having some trouble getting the plot mesh to display consistently. I believe this behaviour is ultimately a bug on ...
0
votes
0answers
13 views

Trouble re-importing the output from an x3d export

I'm having some trouble re-importing the output of an x3d export of a 3D plot, and I'd like to understand why it's failing and how to fix it. The short version of what I want to do is to make a 3D ...
1
vote
1answer
54 views

Mesh is lost in ListPlot3D with some PlotTheme

When plotting the following data with PlotThemes "Business" or "Web", the lowest ...
-4
votes
1answer
88 views

3D Plotting and optimising on the surface area of a spherical gyroid [closed]

*this is an equation of a shperical gyroid emphasized texti want to plot it in mathematica and obtain the shapes like those on the picture below. sinxcosy + sinycosz + sinzcosx = 0 i also want to know ...
4
votes
2answers
96 views

ListPlot3D can't plot data of an almost vertical surface?

I have two sets of data. data1, boundary points of the two yellow surfaces shown below, are correctly plotted. However, data2, ...
1
vote
1answer
73 views

How to plot this geometric object in 3D? [closed]

Let $v_{0}=(1,0,0)$. Then how to plot in 3D the geometric object $$\left\{ \left(v_{0}\cdot v_{1},v_{0}\cdot v_{2},v_{1}\cdot v_{2}\right):v_{1},v_{2}\in\mathbb{R}^{3} \text{are unit vectors}\right\} ...
7
votes
0answers
274 views

Making cool animations of an accretion disk/planetary disk

I am trying to make an animation of an accretion disk or a planetary disk. For example, a cool disk showing below (created by NAHKS TR'EHNL): or in this link Here is what I have tried so far: step1:...

1 2
3
4 5
34