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

learn more… | top users | synonyms (1)

18
votes
2answers
218 views

How to avoid the wiggly text on Ticks and Labels when rotating 3D objects

Motivation I'm trying to do a nice animation of the rotation of a ParametricPlot3D . My problem is that the Ticks numbers and <...
18
votes
3answers
2k views

Using Inset[..] to overlay a Graphics3D with its raster version

Preamble First let me explain the why. You can skip this and go directly to the question if want to answer it right away. We had more than one discussion about how to produce nice looking 3d plots ...
17
votes
5answers
5k views

How to draw a great circle on a sphere?

I apologize for the text description, but new users are not allowed to post images. I want to draw a circle that cuts through the center of a sphere and has an inclination of 15 degrees with the ...
17
votes
3answers
3k views

How to calculate volume of convex hull and volume of a 3D object

I have a set of random 3D data points. How can I calculate the volume of the convex hull?
17
votes
1answer
610 views

Is it possible to produce anaglyphs with Mathematica?

I'd like to prepare some presentations in Mathematica to help students visualize functions of two variables (it's a usual calculus course). I thought it would be both cool and useful to have the ...
17
votes
2answers
801 views

Export Plot3D in Mathematica 10.1 is Rasterized by default

When I use Export to export Plot3D to PDF format, I get different behaviour in Mathematica 10.1 compared to 10.0. In particular, ...
17
votes
2answers
1k views

Which ray-tracing software is compatible with Graphics3D?

I am interested in working alternative to Mathematica's FrontEnd for rendering Graphics3D produced by Mathematica. The requrements are: An ability to import ...
16
votes
3answers
2k views

How to plot a 3D surface with a simple black and white style?

Mathematica has great plotting capabilities. However, sometimes what is needed is a very basic black and white plot without textures, lighting, glow and other complex features. So, here is my question:...
16
votes
3answers
949 views

3D view of a route shown on a map

You should have already seen such a thing, specially in documentaries about ancient life: the movement of a tribe is shown on an ancient map along a route with a dashed arrow. I want to do the same ...
16
votes
3answers
4k views

How to convert a 2D image into a 3D graphics?

I have an image I would like to make into a .dxf and to do this I need a Graphics3D object. Is there anyway I can do this? Can ...
16
votes
1answer
1k views

Animating moving surface of torus

I would like to try to recreate something similar to Paolo Čerić's torus animation: I have isolated the moving surface torus section form this Wolfram Demonstration by Kevin Sonnanburg: ...
16
votes
2answers
2k 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 ...
16
votes
1answer
374 views

Creating a cloud of blocks that form I ♥ U in different viewpoints

This picture shown bellow has three shapes with different view angle (I ♥ U). How to do this type of model? A few tries: ...
16
votes
2answers
1k views

How do I generate the Mathematica Version 2 Spikey in Mathematica?

As we all know, Mathematica changes its logo design with every new version, while still maintaining the dodecahedral/icosahedral motif. I have been able, through much digging around, to finally ...
16
votes
0answers
256 views

Bug(?) in version 10: Tooltip and ListPointPlot3D

Bug introduced in 10.0.0, persists through 10.1 The coordinates of a point in a three dimensional graph can be shown in a tooltip: ...
15
votes
5answers
660 views

Revolution of Koch Snowflake

How do I plot a shape made from revolving the Koch Snowflake? I try to use RevolutionPlot3D[f, {t, t1}], but I think there is no $f$ for the Koch Snowflake.
15
votes
4answers
2k views

Mathematica for teaching orthographic projection

Edit: All the four answers to this question are great, and if you're interested, you should take a look at all the answers. Nevertheless, belisarius' code was accepted since it was closest to what I ...
15
votes
3answers
1k views

How can locators be added to the points on a 3D grid?

Here is a pared down example of some 3D data that I want to make dynamic and add locators to each set of points. Is that possible? ...
15
votes
2answers
2k views

Texture mapping and resizing a sphere primitive in Mathematica

Background Info In Mathematica, it's only possible to texture map a sphere through the use of SphericalPlot3D or ...
15
votes
2answers
1k views

ListSurfacePlot3D generates ugly artifacts

I have a list of $\{x,y,z\}$ pairs representing points in $R^3$. For every unique value of $z$ there are many $\{x,y\}$ pairs defining a polygon/contour in that particular $z$-plane. My dataset looks ...
15
votes
1answer
759 views

Mathematica: 3D plot based on combined 2D graphs

I have several sigmoidal fits to 3 different datasets, with mean fit predictions plus the 95% confidence limits (not symmetrical around the mean) and the actual data. I would now like to show these ...
15
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, ...
15
votes
2answers
461 views

Mathematica, animations, and external ray tracing programs

As much as I enjoy and admire Mathematica's animation capabilities, I would like to take my animations to the next level by exporting the geometry of every frame to an external ray tracing program (...
15
votes
0answers
186 views

ListContourPlot and ListContourPlot3D use better interpolation for arrays of values than for lists of tuples (i.e. {{x,y,z,f[x,y,z]}..}

From reading the documentation, it seems that ListContourPlot3D should work equally well on an array versus a list of tuples, ?ListContourPlot3D ...
15
votes
0answers
995 views

Using TetGen in Mathematica to get 3D Voronoi diagram

In this post, the use of TetGen for 3D Voronoi tesselation has been briefly discussed. However there is still no info about the use of TetGen to generate a 3D Voronoi diagram. The TetGen documentation ...
14
votes
6answers
749 views

How can I suppress rotation of 3D graphics?

Given a 3D image built of a combination several Graphics3D objects, is it possible to suppress rotation of the displayed image by the mouse? To be specific, here ...
14
votes
3answers
2k views

Finding a Concave Hull

I have a 3d clustered data: Is there any other way to get concavehull of 3D data points?
14
votes
3answers
851 views

How can I set the view vector in a 3D scene by tracking my face's position?

Faking 3D with 2D tracking data is something that I've long wanted to implement for use with my front facing laptop camera. A first step to solving this would be dynamically setting the viewpoint ...
14
votes
3answers
571 views

Particles bouncing in a 3D box

I made this Manipulate code which shows a pack of particles randomly moving inside a box. It has a huge performance issue. What should be the best way in doing "...
14
votes
3answers
386 views

Histogram3D with various colors and textures on cuboids' faces

I'm trying to produce an Histogram3D-like graph, but with a little more customization. In particular I want to manually specify the color of each cuboid and to print some information on the top faces....
14
votes
2answers
621 views

How to convert Graphics3D object into an Image3D object?

How does one convert a Graphics3D object into an Image3D object? E.g., start with ...
14
votes
2answers
588 views

How to build a 3D graph from a 3D matrix?

Following this and that question and the corresponding answers, Mathematica can build 2D graph from 2D matrices. Question How to make the corresponding 3D graphs from 3D cubes? Attempt ...
14
votes
2answers
560 views

Advanced graphics with Mathematica

Ten years ago I bought a book by Tom Wickham-Jones, Mathematica Graphics: Techniques and Applications. I read parts of it but then I forgot its existance. In recent years I read the nice book of ...
14
votes
1answer
520 views

Method -> {“AxesInFront” -> False} for Graphics3D

I'm aware of two ways to manage positioning of Axes for Graphics3D: AxesOrigin and ...
14
votes
1answer
712 views

Easy way to export Graphics3D as triangles with VertexNormals?

I would like to export an arbitrary Graphics3D object as a text file containing: list of vertices vertex normals triangle faces ...
14
votes
0answers
221 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 ...
13
votes
2answers
2k views

Creating 3D dice

How to create an image of a 3D die from the 2D images? There is an example in the Documentation Center I tried but it doesn't work.
13
votes
3answers
482 views

Graphics3D: Opacity limitations

Trying to make a better-looking globe model, I start off with something like this To enhance the 3D effect, I want the lines further from the eye to be "grayer" than the lines closer to the eye, as ...
13
votes
3answers
523 views

Representing a Stencil of a Finite Difference Operator with Mathematica's Graphics3D

I have the following finite difference operator: $$ Lu_{ijk}:= du_{ijk} +c(u_{i-1,j,k} + u_{i+1,j,k} + u_{i,j-1,k} + u_{i,j+1,k} + u_{i,j,k-1} + u_{i,j,k+1})\\ -u_{i-1,j+1,k}-u_{i-1,j-1,k} - u_{i-1,j,...
13
votes
3answers
816 views

How to properly project a Graphics object consisting of line primitives

My problem starts from attempts at depicting overlapping lines of different thickness, i.e. ...
13
votes
1answer
178 views

Change in Lighting and Show in V10?

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

How do I stop my joystick from rotating a 3D graphic?

I am trying to use Mathematica to illustrate mixed strategies in Game Theory. I want my students to be able to use common joysticks as controllers. What I find, however, is that in addition to doing ...
12
votes
5answers
908 views

Randomly assigning color to Graphics3D objects?

I have a set of Graphics3D primitives (here, spheres) which I would like to assign either: One of a subset of colors, e.g. {Green, Red} A random color over some RGB interval Writing something like:...
12
votes
2answers
623 views

Map of United States as a 3D histogram

By combining the state data from here and the extrusion code from here I have managed to make prisms of the various US states such as However, the extrusion method looses information about the ...
12
votes
2answers
1k views

OpenSCAD like functionality with Mathematica?

I keep seeing reference to use of Mathematica as a CAD tool (for instance, this). I'd like to use it as such if feasible, but I'm having trouble locating equivalents of the functionality I use in my ...
12
votes
2answers
566 views

Calculating morphometric properties

Is it possible to calculate segment length, segment diameter and branch angles for three dimensional geometry. Geometry contains vertex points and polygon surfaces as ...
12
votes
2answers
565 views

Is there a way to interactively read a point from a Graphics3D?

Suppose I have a tesselation, e.g. the Stanford bunny: bunny = Import["http://graphics.stanford.edu/~mdfisher/Data/Meshes/bunny.obj", "OBJ"] I'd like to be ...
12
votes
3answers
1k views

Dashed mesh behind 3D object

I am trying to create a simple, almost transparent 3D sphere with a mesh that is made of solid lines if they are on the front surface (i.e. if they are directly visible) and of dashed lines if those ...
12
votes
3answers
190 views

3D graphics rendering artefact with overlapping planes (z-fighting)

I am trying to render a matrix as a depth map: ...
12
votes
2answers
451 views

Color Histogram3D by Bin Location

I am using a Histogram3D plot to view the correlation of the R & G of an RGB image. Naturally, I want the bins to have a color corresponding to their $x$, $y$ (...