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

learn more… | top users | synonyms (1)

1
vote
3answers
1k views

How to plot a 3D list of points [closed]

I have 3 variables {Eff[i][j], i/15, j/100}. I need to plot them as a 3D figure, the height of the figure is Eff[i][j], which is ...
38
votes
1answer
1k 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 ...
22
votes
1answer
498 views

On drilling holes with minimal redundancy (and with colors!)

The old Mathematica package Graphics`Shapes` featured the function PerforatePolygons[], which drilled a hole in any ...
20
votes
2answers
565 views

How to get shadows in Graphics3D?

It was a shock to me when I found that in Graphics3D a surface is always transparent to the light sources: ...
27
votes
3answers
1k 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 create a hexagonal mesh on a torus. What I would like to ...
8
votes
2answers
516 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 ...
6
votes
2answers
360 views

How to get UV mapping of 3D tube

Here is cylinder data: file We can mesh the surface, thanks to lalmei, Belisarius and Simon (link) How to achieve uv mapping from a 3d straight and curved tube? Working code: ...
14
votes
6answers
477 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 ...
12
votes
2answers
483 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 ...
11
votes
1answer
1k views

3D plots with parallel projection

It is easy to make 3D Plots with Mathematica, e.g. use: Plot3D[Sin[x+y^2],{x,-3,3},{y,-2,2}] But I want to have nice plots in my thesis, so I decided to use ...
8
votes
1answer
231 views

Add lines to 3D Plot

How can I add lines that demarcate the different regions of the following 3D plot: Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, -8, 8}] To give you an idea of what ...
6
votes
1answer
367 views

Building a molecule viewer: aesthetic rotations

I am working on building a molecule viewer in Mathematica and am running in to problems with controlling rotation of the molecule (which is rendered as a ...
13
votes
4answers
2k 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 ...
12
votes
2answers
720 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 ...
11
votes
1answer
501 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 ...
9
votes
2answers
244 views

Is there a way to programmatically set global preferences?

Can I set global preferences that are accessible via "Edit"->"Preferences" programmatically from within a notebook? As learned from this question, turning off anti-aliasing can make a huge difference ...
8
votes
1answer
226 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 ...
7
votes
3answers
1k 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, ...
5
votes
1answer
269 views

Histogram3D frame ticks with bin text labels rendered in x-y plane?

Is it possible in Histogram3D to substitute frame ticks text labels and have the layout in x-y plane? Starting with a ...
10
votes
1answer
399 views

How do I place a texture on an irregular 3D model?

I'm trying to reproduce a textured head in Mathematica, and I'm using a kind of 'net' of a head which contains all the features on the face. The texture looks like this: which is supposed to look ...
7
votes
6answers
1k 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 ...
6
votes
3answers
417 views

Drawing a cuboid with rounded corners

I want to draw a cuboid with rounded corners,like this: RoundingRadius only works with Rectangle or Framed.I have no idea how ...
6
votes
2answers
1k views

Need 4D plot (3D + color for function) [duplicate]

I have a function f(x,y,z) of three variables and some constants: ...
5
votes
1answer
182 views

Embedding StreamPlot in Graphics3D

I am trying to visualise the action of the infinitesimal generator of a Lie group on the solution of a 2-ODE system drawn in the 3D space (t,y1,y2): t is time and y1,y2 are the two dependent ...
5
votes
3answers
221 views

Switching among view points in a Manipulate expression

Edit: Some additional viewpoints were included to make it easier to test. Here's code for an alternative function, the graph of which is a bit less symmetric. Feel free to use either code set: ...
4
votes
1answer
188 views

Point style in ListPointPlot3D

In ListPointPlot3D, it seems the only point style available is the default, because there is no PlotMarkers option for this ...
4
votes
1answer
517 views

Plotting a 2D shape along a 3D parametric function curve

Say I have a 3D curve that is parametrically defined. How would I be able to plot shapes like figure 8s whose centers are aligned along the 3D curve? Say the curve was: ...
4
votes
2answers
462 views

Transparent Cylinder with Dashed Edges only

I would like to have that kind of cylinder with Dashed edges (including the bellow inner ring): I've been trying that: ...
3
votes
2answers
254 views

How can I fill an entire Building with transparent points? [duplicate]

I am posting the same code found at an earlier question, although the concept here is totally different. The following code corresponds to a building-shaped structure. ...
2
votes
1answer
221 views

Including two ListLinePlots in a 3D graphic

I have two lists of data which I am plotting on two ListLinePlots. I would like to have these two plots appear perpendicular to each other on a 3D graphic. I have ...
20
votes
1answer
423 views

Unintended edge extensions in 3D Cube rendering

I have arranged a certain configuration of cubes in 3D using the following code: ...
11
votes
4answers
666 views

Is there a way to increase the smoothness of a cylinder?

I am using Cylinder to produce wide flat disks (in Mathematica 8). This works just fine except that the circular base of such a cylinder turns out to be really just ...
11
votes
2answers
651 views

Why is ListDensityPlot unable to plot datasets with extreme ranges

Consider the following dataset: data = Flatten[ Table[{x 10^-9, y 10^-9, x^2 + y^2},{x, -100, 100, 10}, {y, -100,100, 10}] , 1]; If I try to ...
9
votes
0answers
363 views

How to improve these WASD + mouse look 3D controls?

Insipred by this question and the corresponding answer I've written a code for full-screen exploration of 3D scenes using standard WASD and mouse look controls. Here it is. ...
9
votes
2answers
739 views

Coloring each face of a Cuboid with a different color

Is there a way to color each face of a Cuboid with a different color? I looked in the help but couldn't find anything. I found this Coloring the faces of a 3D ...
9
votes
4answers
548 views

ParametricPlot3D output without the meshlines

Caveat: Mathematica version 3.0. if (or when) it matters. I define a 3D-object with ParametricPlot3D, say, the following: ...
7
votes
3answers
395 views

Combining Image3D and Graphics3D

I want to combine an Image3D and a Graphics3D using Show. Here is the code: ...
6
votes
3answers
352 views

How can I stop the blinking when rotating a Graphics3D? [closed]

I wrote a function interactiveDesign that returns different Graphics3D items in a list. Then I call the function ...
5
votes
1answer
136 views

How can I get this Graphics3D to rotate around a particular sphere?

I made this Graphics3D of the Sun with the plotted orbits of a few astronomical objects. ...
5
votes
2answers
529 views

How to render a 3D ellipsoid with Graphics3D?

With Graphics3D[Sphere[{0,0,0},1]] I can render a uniform 3D sphere, but how can I render an ellipsoid? I would need to specify the rotation of the ellipsoid and ...
5
votes
1answer
310 views

Graphics3D model of the human body and organs?

Does someone have a 3D model for a man (or woman) that can be displayed in Mathematica using Graphics3D? I have tried importing free .3DS models but they look ...
4
votes
2answers
154 views

Extrude 2D cross-section to 3D shape with shrinkfactor

I would like to create a 3D shape from extrusion and scaling of a 2D contour. The 2D contour that I have looks like this: and it consists of a bunch of points (here plotted with ...
4
votes
2answers
336 views

10bits per rgb / 1024 shades of gray?

Can we display 10 bits per rgb in Mathematica? I'm using a quadro card and 30 bit monitor and can get a smooth gradient using Psychtoolbox in matlab. The following Mathematica should produce a bar ...
3
votes
2answers
324 views

What is the default ColorFunction for 3D plots?

This should be a really simple question, but it isn't in the documentation for some perverse reason. I like the default ColorFunction that Mathematica uses for ...
2
votes
3answers
274 views

Smooth 4D (3D + color) plot from discrete points

I have a file containing isosurface $\{x,y,z,F\}$ data (around 9000 points). My goal is to generate a smooth (NOT a discrete set of points!) colored surface using ...
2
votes
2answers
178 views

Reducing quality of Graphics3D scene to improve performance?

ProteinData["SERPINA1", "MoleculePlot"] gives the detailed Graphics3D plot below. I'd like to make many small copies of this ...
6
votes
1answer
224 views

Graphics3D from Mathematica to SolidWorks (for 3D-printing)

I have an 3D Graphic generated with Mathematica's Graphics3D, and want to use it later in SolidWorks. SolidWorks files are usually *.stp, *.step, *.stl extentions. google search hasn't given me a ...
6
votes
1answer
190 views

Does it make sense to ask for the color of a Graphics3D “voxel”?

Say I generate some Graphics3D object, e.g.: Graphics3D[{Red, Sphere[{0, 0, 0}, 1], Blue, Sphere[{1, 0, 0}, 1]}] Does it make sense to ask for the color of a ...
5
votes
2answers
607 views

How to label axes in 3D plot adequately?

The following code produces plot with axes labels, which are jumping constantly. ...
4
votes
1answer
80 views

Does the VerticalCallout algorithm in PieChart3D work correctly?

In real world usage you often want to use real world labels with long strings (say 15-20 characters) in 3D pie charts. Here is a toy example : ...