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

learn more… | top users | synonyms (1)

2
votes
1answer
92 views

How to rescale a Graphics3D object?

I've created a Graphics3D object by extruding a binary 2D image (as shown here). ...
2
votes
2answers
160 views

Modifying imported 3D file

Since I am visualizing my work using Mathematica, I import some 3D models of molecules to my notebook. So, the question is, is there any way to modify somehow that imported models inside Mathematica ...
3
votes
0answers
218 views

Use of RegionFunction with Graphics3D?

I'd like to plot in 3D a long list of polygons created with TetGenConvexHull, but only in regions specified by a function. Is that possible? As I have it my ...
4
votes
3answers
135 views

Am I missing the point of ViewCenter?

Based on this description of 3D graphics and the associated Wolfram Training video, I anticipated that using the mouse to rotate the graphic below would rotate around the point where the three ...
2
votes
1answer
157 views

Viewing the inside of cuboid intersections

    I have a number of cuboids intersecting as illustrated. I would like to see their intersection, almost the view from inside. Setting the ...
1
vote
2answers
423 views

Isometric 3d Plot

I was wondering if its possible to make the following type of plot in Mathematica: I would like to take a 3D object, such as an ellipsoid, and cut out a wedge. I know this can be done using ...
9
votes
2answers
337 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 ...
6
votes
2answers
290 views

Breaking down a 3D model into patches

I have a 3D model, say the Stanford bunny, which is available in Mathematica examples. Import[ "http://exampledata.wolfram.com/bunny.noff.gz" ] Also ...
18
votes
3answers
1k views

How to make hollow polyhedra?

I found a version of the Mathematica spikey in 3D printable format (STL) at the Shapeways site that was hollow. Here it is when viewed in MeshLab: You can see there's a bit cut out of the end, and ...
38
votes
2answers
1k views

My donut has holes in it!

More than one hole, I mean… I’m trying to export from Mathematica into the X3D format, with the longer term goal of generating 3D figures for PDF inclusion. But I'm stuck at the first step: ...
5
votes
1answer
308 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 ...
1
vote
1answer
244 views

How manipulate rasterized Graphics3D objects combined with non-rasterized objects

I am trying to construct a building with a manipulated sliding roof and other objects that can be manipulated. I have found that the manipulation of translations and rotations of graphics groups of ...
1
vote
1answer
87 views

Performing operations on function lists

I am exploring the use of Dynamic variables for the ViewPoint and ViewVertical options in a ...
11
votes
3answers
791 views

How can I visualize 6 square matrices as a cube?

I have six square matrices of the same dimensions in a list, for example: ...
3
votes
2answers
301 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 ...
1
vote
1answer
552 views

Adding tangent (velocity) vectors to a plot of a space curve [duplicate]

I am just getting started with Mathematica and need help plotting tangential vectors to a 3D parametric function. I know how to do this in 2D but am unsure how to do it in 3D. Maybe I am using the ...
6
votes
2answers
332 views

Plot3D constrained to a non-rectangular region

I would like to make a nice 3D graphic of a parabolic bowl, with a cylindrical rim. If I do the following: Plot3D[x^2 + y^2, {x, -3, 3}, {y, -3, 3}] I get a ...
1
vote
2answers
371 views

Interpolating and plotting a surface for a sparse set of 3d data points

I have a set of $(x,y,z)$ coordinates which sparsely cover a surface, e.g.: data = {{51, 15, 0.1}, {300, 11, 0.99}, {140, 22, 0.123}, {54, 12, 0.66}, ...}; What ...
1
vote
0answers
53 views

Animated 3D graphics is low resolution [duplicate]

I'm trying to animate a 3D shape in Mathematica 7. It's working, but the graphics is extremely crude while animated. The resolution gets better if I stop the animation. Is there a way to get a nice ...
5
votes
2answers
593 views

How to label axes in 3D plot adequately?

The following code produces plot with axes labels, which are jumping constantly. ...
1
vote
0answers
41 views

3D plot changes it's size while rotating [duplicate]

When I am rotating drawn 3D plot by mouse it rotates Ok until mouse release. After that it slightly changes it's size instantly. Probably it tries to accommodate document layout or something. Is it ...
3
votes
1answer
360 views

White spots in ListDensityPlot

I have a problem with ListDensityPlot. I have some data on an irregular grid. I try to plot them with ...
2
votes
2answers
314 views

Plotting rainbow circle [duplicate]

I am trying to plot a parametric circle in rainbow colors. It should go round once, but I'd like to be able to make it go round the rainbow an arbitrary amount of times. I currently have: ...
2
votes
1answer
150 views

Poor Graphics3D rendering

I am rendering a world environment simulation in Mathematica with Graphics3D code: ...
6
votes
1answer
365 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 ...
1
vote
2answers
150 views

How to maintain a smooth surface in CDFs while playing? [duplicate]

I created a CDF for viewing the Möbius Band, and its generation. https://www.dropbox.com/s/e3af0xelbbqjfhd/Cinta_Moebious_Rafa.cdf But: 1.- When it´s PAUSED the surface is soft and you can see with ...
16
votes
1answer
382 views

3D bubble textures in Bread (and other solids)

Bread has a bubbly texture that I would like to be able to recreate using Mathematica. Here are some examples of bubble textures: Bread Swiss cheese Foam Note that most of the ...
1
vote
1answer
558 views

Quality control when exporting graphics into JPG

If I export a graphics from Mathematica to JPG format the image quality in JPG is visibly lower than that in Mathematica. Is it possible to control and eventually increase the quality of the exported ...
2
votes
1answer
461 views

Distance between 3D curves

I would like to determine the distance bewteen two representations of the Lorenz Attractor. I have two 3D representations for different initial conditions and I want to calculate the distance between ...
0
votes
2answers
91 views

Assigning colors to Graphics3D objects from an ordered list

I'd like to draw a set of spheres with colors assigned from a defined set. To provide an example, say I wish to draw a set of three spheres of radius 2 at the positions: {{6, 5, 10}, {1, 4, 20}, {2, ...
0
votes
1answer
211 views

Projection of a set of 4D points to the 3D space

Consider the following set of points in the 4D space: ...
2
votes
1answer
154 views

How to draw tiles with different height?

I have a random matrix RandomReal[{1, 2}, {20, 20}], whose elements represent the heights of an array of tiles. The cross sections of each tile are square and ...
3
votes
1answer
156 views
0
votes
0answers
27 views

How do I automatically “trim” the bounding box for a Graphics3D output? [duplicate]

I noticed that, provided some Graphics3D output scaled with ImageSize, I can get rid of a lot of the empty space around the graphic by right-clicking and then selecting "Trim Bounding Box". Thinking ...
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 ...
1
vote
0answers
97 views

Anti-aliasing won't work when there is PlotStyle command

I've found that if there is PlotStyle command in the input, anti-aliasing will not work. However if the Style code is ...
6
votes
2answers
298 views

How to show wireframes on imported Object / Mesh (.obj file)

I've managed to import a Wavefront (.obj) file and store it in a variable like so: ...
9
votes
2answers
271 views

Drawing Cylindrical Segment with Graphics3D

For a visualization I need a combination of 3 Cylindrical segments to visualize the incident, reflected and refracted beam of light at a surface. I got as far as the following code. ...
0
votes
1answer
124 views

Outputting a set of graphics 3D objects with positions defined by one array and colors by another? [duplicate]

I have a set of 2- or 3-space coordinates in an array, $(v_1,...,v_N)$, and an array of RGB color values (outputs from ImageValue[]) for each coordinate, $(c_1,...,c_N)$. How can I output a ...
1
vote
1answer
193 views

Exporting as .PDB extension

I am working with the 3-D coordinates of proteins. The file format I import and modify coordinates of is in the .PDB format, and the string to import is also in this same format. Currently, when I try ...
8
votes
3answers
333 views

Generating a “flare” effect in Graphics3D?

I'm attempting to indicate that there is a point-source of light at some position in a Graphics3D-generated image. Is there any built-in tool to do this? My patch-work solution thus far has been to ...
11
votes
2answers
2k views

Graphics3D: Finding intersection of 3d objects and lines

I found these two nice links 1) intersecting graphics 2) Implementation of Balaban's Line intersection algorithm in Mathematica which works for 2d. However, I need to find whether a ray(line) ...
12
votes
3answers
319 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} - ...
2
votes
1answer
177 views

Find points on the surface of a Graphics3D object

If I have a Graphics3D object that was generated from manipulations to PolyhedronData rather than via an explicit equation, for example the Spikey (for which the entire code can be found here The ...
4
votes
2answers
308 views

Efficient drawing of convex polyhedron given a set of points [duplicate]

I have a set of points in the 3D space and I want to draw the bounding convex polyhedron of those points. A very naïve solution would be to draw a triangle between every three points: ...
2
votes
2answers
120 views

Arrow pointing upwards in a Graphics3D

I am trying to write a code for an arrow that points upwards from the center of the circle in a Graphics3D. ...
-1
votes
1answer
57 views

How can a 3DBarChart be made to be fixed size and proportions?

I have a 3DBarChart that adds bar graphs as would be required by the dataset, but as it gets wider runs off the page and can not be printed. Is there a way to fix the height & width of the ...
7
votes
3answers
393 views

Combining Image3D and Graphics3D

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

Thick polygons in Graphics3D [duplicate]

I have a polygon that I want to thicken with thickness h. How do I do this? FaceForm is evil and says: The directive ...
9
votes
4answers
545 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: ...