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

learn more… | top users | synonyms (1)

0
votes
0answers
40 views

Fill the gap between two consecutive sphere with different colors [duplicate]

I wanted to shows the radial density (thickness 1) with different color such that dark color shows for lower radius and light color for higher radius. The gap between concentric sphere should be ...
4
votes
1answer
141 views

How to show the projections of 3D orbit on the three primary planes

Perhaps this question has been asked before but even though I searched the site I did not find what I want. The code is rather simple: ...
0
votes
1answer
54 views

Applying transformations to data coming from an STL file

I am very new with the use of 3D graphics in Mathematica, so my question might be very naive. I need to Import an STL file, apply transformations to it (rotation and translation), and export it back ...
1
vote
0answers
31 views

Equilateral triangulation of a polyfile-defined surface

I would like to be able to make a (low fidelity) triangulation of a given surface with constant edge lengths (using equilateral triangles). This requirement limits the Gaussian curvature at each ...
0
votes
0answers
33 views

How do I change a 3d bspline curve to a polygon based graphic?

I have a graphics image generated with bsplines: Graphics3D[Tube[BSplineCurve[pts], 2]] I want to export this to a .stl file. To do so I know I need to modify ...
0
votes
3answers
290 views

Mapping Contour Plot onto ListPlot3D (or by using color variations)

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. ...
1
vote
0answers
54 views

Jagged appearance of lines in 3D plot

I wanted to know if there's a simple way to plot some field lines of a 3D vector field, something like an extension of StreamPlot. I've searched for a while, but ...
1
vote
1answer
44 views

Labelling Vertices of a GraphicsComplex

I cannot figure out how to label the vertices of a GraphicsComplex, for example ...
7
votes
1answer
124 views

Exporting 2D & 3D graphics for use in Adobe Illustrator

I have recently (perhaps since Mathematica Version 10?) encountered a change in how PDF images are saved and how they behave after being loaded into Adobe Illustrator (v16.0.4 under Mac OS X 10.10.5). ...
3
votes
1answer
104 views
4
votes
1answer
159 views

How can I draw this polyhedron?

I'm high school student, and I am doing research about buildings using Mathematica. I want to plot the polyhedron shown below: I have tried using Table, but it ...
3
votes
2answers
85 views

Creating a tube with custom caps

I need a tube with only one end capped. I can do this relatively easily with: ...
7
votes
0answers
60 views

How to rasterize a Graphics3D expression into an Image3D?

I'd like to make a 3d image from a 3d graphics. Unfortunately Rasterize@Graphics3D[Sphere[]] gives a 2d image, is there any function like a Rasterize3D that does ...
11
votes
2answers
910 views

OpenSCAD like functionality with Mathematica?

I keep seeing reference to use of Mathematica as a CAD tool (for instance: http://www.makerbot.com/support/guides/design/). I'd like to use it as such if feasible, but I'm having trouble locating ...
3
votes
2answers
71 views

how to use filling in Graphic plots

i'm going to plot some angles in Trigonometric circle by using Graphic command how can i use filling axes by different colors in this program or color between the angles? ...
7
votes
1answer
290 views

Real-like jet engine flame

I’m trying to make rocket flame and jet engine fire that is a Graphics3D object so that it can be used with a 3D rocket project. There are many types of such flames, but for starters I would like the ...
4
votes
1answer
140 views

How can I truncate only a single vertex of a polygon?

One can truncate all the vertices of a polygon at once with Truncate. I want to do exactly that -- but only on a single vertex. Is this possible with Mathematica 9? ...
0
votes
0answers
43 views

How to export graphics for Blend4Web [duplicate]

Mathematica Online is not helpful in deploying 3D graphics on your website. But a new sdk Blend4Web looks promising. Does anyone know a way to export textured graphics into the Blender engine?
47
votes
1answer
2k views

How to construct a treemap using non-rectangles?

I've written the standard version of a tree map (a graphic that shows nested data) and I'm looking to improve on this layout by switching to different types of polygons or perhaps circles. Can anyone ...
1
vote
1answer
51 views

How to set the opacity of a mesh?

I try to set the opacity of a mesh in this way: bunny = ExampleData[{"Geometry3D", "StanfordBunny"}]; Show[bunny, Opacity -> 0.5] However, the mesh is fully ...
129
votes
1answer
24k 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 ...
6
votes
2answers
123 views

Visualize scalar field $f(x,y,z)$ in three dimension

I am trying to visualize scalar field in three dimension generated from some simulations with tuples $(x, y, z, w)$ where $w=f (x, y, z)$. Here is my first attempt ...
30
votes
3answers
814 views

Mathematica and POV-Ray workflow (Q&A)

A couple of years ago, Alexey Popkov asked this question: Which ray tracing software is compatible with Graphics3D? It is my opinion, for various reasons, that out of the many ray tracing programs ...
8
votes
3answers
206 views

Ticks disappear in Graphics3D with Epilog

Bug introduced in 10.0.0 and fixed in 10.0.2 Normally, you can enable Graphics3D to show tick marks by doing this: ...
1
vote
1answer
64 views

Adding a fading color only to 3D curves going outside a cylinder

I'm having a problem with color shades on multi curves drawn with the Mathematica 7.0 code below. All the curves with both their endpoints inside the unit cylinder (green circle on the picture below) ...
0
votes
0answers
29 views

Mesh-Warping image from 3DS

Id there a way to warp an image using a mesh (plane with 14x8 cells) I have created and imported from 3d-studio? The reason for this is to warp a UV texture so I can look up quickly for distorted ...
1
vote
1answer
62 views

Adding a fading color to multiple lines in 3D

I would like to add a fading color to all the 3D lines I'm drawing with the code below, but I'm having difficulties with implementing the idea. The curves are starting on a unit sphere, and extend in ...
11
votes
3answers
2k views

How to make a tight crop of a 3d plot?

I like Mathematica, but it's syntax baffles me. I am trying to figure out how to minimize the whitespace around a graphic. For example, ...
0
votes
2answers
64 views
1
vote
1answer
73 views

Program to demonstrate rotation according to quaternion values

On the Wolfram|Alpha website, I type quaternion(1,1,1,1) into the search field. Wolfram|Alpha shows a 3D transformation of the quaternion values representing the orientation of an object. I have 9 ...
7
votes
1answer
173 views

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

Bug introduced in 8.0 or earlier and persisting through 10.2 or later I'm working on this SE question about pentagrams on top of dodecahedron for exercising. Both solutions are basically connecting ...
0
votes
0answers
64 views

How to get an element mesh from a region?

I've been exploring a new 3D solid commonly called the "Chestahedron" (7 faces of equal area). I wanted to find the centroid, so turned to Mathematica and found it!:) Other things of interest turned ...
5
votes
2answers
112 views

Generating and Imaging of the water molecules with Graphics3D [duplicate]

my problem is I don't know how to generate e.g. 20 water molecules: Graphics3D[ Rotate[First@ChemicalData["Water", "MoleculePlot"], 45 Degree, {8, .5, 0}]] ...
14
votes
0answers
182 views

CDF Player - MMA9 - MMA10 oddities

I'm (slowly) building a WordPress site with some didactic simulation made with Mathematica. Users can run the simulations (on-line or off-line) with the free Wolfram CDF Player. One of the last ...
0
votes
1answer
86 views

Plot given points, lines and arcs in 3D

I need to plot 6 points in 3D. I used the command 'Plot' but I couldn't draw it. The coordinates of points $A,A',B,B',C,C',D$ are given. $AD,BD,CD$ are straight line segments $AA',BB',CC'$ are arcs ...
13
votes
1answer
139 views

Change in Lighting and Show in V10?

According the documentation for Show: Options explicitly specified in Show override those included in the graphics ...
0
votes
1answer
82 views

Variable ViewPoint coordinates [duplicate]

Can I use the option ViewPoint on Graphics3D[], with its setting a variable function? For example: ...
2
votes
2answers
202 views

BarChart3D does not print zeros and odd tick positions

Bug introduced in 9.0 and fixed in 9.0.1 I want to generate a simple 3D view of some frequencies for two variables. I have the counts in a 4x3 matrix, say. This is my bar chart code: ...
3
votes
2answers
83 views

How do you stack 2D graphics into a 3D graphic? [duplicate]

Suppose you have a series of 2D graphics that depend on a parameter. For example, ...
3
votes
2answers
106 views

Problem with old code for a Calabi-Yau manifold

I would like to draw a Calabi-Yau space in Mathematica. From Andrew J. Hanson's paper (page 6) about this topic, I got the following code, which just does not show anything at all in my Mathematica ...
1
vote
1answer
117 views

How to “merge” various graphics 2d into one 3d graphic? [duplicate]

I did some calculations and as result got a 2D graphic, but at the beginning of the work I used a constant parameter. What I want is to make a 3D graphic with this parameter as an axis, varying from 1 ...
2
votes
3answers
201 views

Interacting with 3D Graphics, for export

Are there any export formats which preserve the ability to interact with 3D Graphics? (In particular, the ability to rotate.) EDIT: I've found this question: How to make a 3D plot auto-rotate? ...
21
votes
2answers
2k views

How to build a bvh (a motion capture file format) player in Mathematica?

How to build a bvh player that can be used to visualize human motions in Mathematica? Any idea or sample code would be appreciated. ...
12
votes
1answer
2k views

How do I flatten transparency on a graphics, for conversion to eps or similar?

I've got a graphic that I'd like to save as an eps file. Trouble is, the graphic has some transparency to it. Since the eps format doesn't handle transparency, I want to flatten the transparency out, ...
42
votes
4answers
2k views

Create a torus with a hexagonal mesh for 3D-printing

I am new to Mathematica, and I'm looking for a way to create patterns on the surface of 3D objects. One thing I have not been able to do is to create a hexagonal mesh on a torus. What I would like to ...
19
votes
3answers
1k views

How to plot a figure like this

I saw a beautiful figure illustrating the optical lattice clock, and would like to make a similar one. This is the figure (taken from here) Is it possible to make a similar one using Mathematica? ...
9
votes
6answers
3k views

How do I draw a hemisphere?

I want to draw a solid or partially transparent hemisphere above a partially transparent cuboid object in Graphics3D. However, I do not know how to do this s.t. only half the sphere is drawn. Here's ...
5
votes
1answer
132 views

DiscretizeGraphics and BoundaryDiscretizeGraphics Fail on CapsuleShape and SphericalShell

It seems the new Graphics3D primitives have some incomplete features. Earlier, I uncovered a problem with computing their exact surface area see here. Now, I ...