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

learn more… | top users | synonyms (1)

6
votes
2answers
259 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 ...
6
votes
2answers
274 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 ...
6
votes
1answer
215 views
6
votes
1answer
652 views

Construct a simple mesh or tetrahedral mesh from 3D image surface

I have a 3D Y-Shape hollow tube, not so good surface. Import["http://dl.dropbox.com/u/68983831/tube02.vtk", "Graphics3D"] I tried to use following vertex data ...
6
votes
2answers
249 views

Slice through Graphics3D

is there any possibility to slice through a Graphics3D object? At the end I would like to have a stack of images slicing , e.g. $n$ times in $z$-direction: $((x,y,z_{0}), (x,y,z_{1}),…,(x,y,z_{n}))$ ...
6
votes
2answers
653 views

Calculating a minimum bounding box for a set of 3-space coordinates / spheres

I have a set of 3-space coordinates for the atoms of a molecule (I could also transform them into spheres with radii corresponding to the atoms they represent). I would like to place this molecule ...
6
votes
1answer
178 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 ...
6
votes
1answer
183 views

ListContourPlot3D doesn't use all points

Edited thanks to @Kuba: In the following example, ListContourPlot3D accepts an array of points spaced at intervals 0.1 apart throughout the volume, but seems to choose an arbitrary number of points ...
5
votes
2answers
273 views

Morphing a “sheet of paper” into a torus

How can I visualise the standard topological "rubber-sheet" construction of a torus, that is, morphing a square into a torus? How can I start or are there any examples in the Mathematica ...
5
votes
4answers
339 views

How can I randomly color Graphics3D objects?

I have a set of Graphics3D primitives (here, spheres) which I would like to assign either: (1) One of a subset of colors, e.g. {Green, Red} (2) A random color over some RGB interval Writing ...
5
votes
2answers
381 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
4answers
667 views

How can I fill a curve in ParametricPlot3D?

I'd like to fill a curve in a ParametricPlot3D in the same way as I might with ListPointPlot3D; i.e., ...
5
votes
1answer
273 views

How should a beginner figure out the context to use an expert answer provided on this forum?

J.M.'s answer to Extruding along a path related to custom cross-sections appears to answer a question I have been puzzling over for some time. I am interested in producing a tube with the stadium or ...
5
votes
2answers
301 views

Generating stripes on a polygon

I want to create a Graphics3D polygon that has stripes on it. My code is ...
5
votes
2answers
471 views

Finding concave hull for separated small clusters

Data : data3D = Import[file, "VertexData"]; Graphics3D[Point[data3D]] How to find concave polygon for separated small clusters.
5
votes
2answers
873 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
2answers
404 views

three-dimensional graphic objects that are not simple cuboids

I am trying to draw some graphics with Mathematica. The objects I want to draw are just a little bit more complex than a cuboid -- the difference being that the top and bottom faces are of different ...
5
votes
1answer
401 views

Drawing a torus not bounding a solid torus

I am trying to make a "pretty" picture of a torus in $\mathbb{R}^3$ which does not bound a solid torus. The standard way of constructing such a thing is to first take a non-trivial torus knot: ...
5
votes
1answer
157 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
189 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: ...
5
votes
1answer
133 views

Drawing a quadrangular surface

Is there a way to draw a quadrangular surface in Mathematica so that it shows the bilinear term (not two triangles)? The quadrangular polygon is given by the expression $$\phi = \sum_i^4 N_i U_i$$ ...
5
votes
1answer
157 views

Integration of Two Manipulatable Cylinders

Introduction I created the following code to simulate the many possible interactions between a cylindrical protein crystal and a x-ray beam during serial femtosecond crystallography. ...
5
votes
1answer
416 views

How to create 3D architectural models in this shape with interactive faces?

I am a non-technical person in the imageProcessing side,so I don't have any idea how can I make polygon in the below shape... the above polygon is a 3D ...
5
votes
1answer
145 views

How to remove a black border around Graphics3D[Texture[…]]

So I can create a 2D image that looks like ...
5
votes
2answers
464 views

How to label axes in 3D plot adequately?

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

Exporting a 3D plot into a 3D viewing format and axis scaling

I've been trying to export a Plot3D into an X3D (JVX, VRML) file using the Mathematica's Export function. The problem is that when the PlotRange is large compared to the other two dimensions the ...
5
votes
1answer
259 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 ...
5
votes
1answer
332 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 ...
5
votes
2answers
426 views

ListPointPlot3d to visualize points close to a manifold

I have a large set of points that are close to manifold which I want to show in a ListPointPlot3D. Using part of the data set illustrates this there are fewer ...
5
votes
1answer
252 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 ...
5
votes
1answer
49 views

Explain the difference between ViewPoint and ViewVector?

I've read the documentation, but am still very unclear as to what the difference is between ViewVector and ViewPoint for ...
5
votes
1answer
413 views

axis label and ticks alignment of ListPlot3D and Histogram3D

I have a question on axis label alignment of ListPlot3D and Histogram3D. These labels are not aligned with the axis of the view, but only horizontally. I have tried very hard to align them manually, ...
4
votes
1answer
441 views

How can I model composite 3D structures?

I know that Mathematica isn't built to model 3D, but most of my models are equation-defined so here's my question: is it somehow possible to combine ad-hoc 3D objects as well as ...
4
votes
2answers
266 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: ...
4
votes
2answers
739 views

Plot 2D Vector function in 3D

I want to plot a 2D vector function such as $F(x,y) = (a(x,y),\,b(x,y))$ in a 3D graph so that the vectors are embedded in the xy plane. I tried to do the following: First I defined a piecewise ...
4
votes
3answers
147 views

Text Annotation Disappears in Wrapped 3D Graphics

In a 3D graphic, if I wrap a figure, for example, ...
4
votes
2answers
380 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: ...
4
votes
2answers
799 views

How to process .vtk file

I want to extract the cluster of points inside 3D box, is there any way one can do this in Mathematica?
4
votes
2answers
202 views
4
votes
3answers
130 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 ...
4
votes
1answer
197 views

Synchronizing manual rotations for multiple Graphics3D outputs?

Say I make a set of three Graphics3D images, here of three different cones, by evaluating: ...
4
votes
1answer
441 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
206 views

How to rotate 3D graphics in ListAnimate … without making a mess?

Manipulate is, of course, wonderful … but there are LOTS of examples that are simply far too computationally intensive to use live real-time animations for. In such ...
4
votes
1answer
956 views

Rotating 3DPlot into animated gif

I'm trying to make an animated gif of a 3D plot by rotating the plot in its middle, around a vertical axis. I used the tricks gave by F'x and Heike in this thread autorotating 3D plot but I ...
4
votes
1answer
143 views

Rotation of Graphics3D like rotating Plot3D

I like the way 3D plots are rotated with the z-axis always pointing up-down. Is there an elegant way of forcing that type of rotation on Graphics3D? I have tried the following: Using an invisible ...
4
votes
1answer
174 views

Remove the white margins of a Graphics3D figure

If the option Boxed is set to be False in Graphics3D, additional white margins may appear as ...
4
votes
1answer
189 views

Manipulating a Graphics3D output with a large number of geometric primitives

I'm attempting to view and rotate a Graphics3D object with a very large set of geometric primitives ($\approx 10^6$ objects such as spheres or lines), and everything is functioning very slowly. Are ...
4
votes
1answer
149 views

“Show” with Manipulate runs fine normally, but gives errors as a CDF

I've simplified my code to what can reproduce my error. Basically, I have two lines: ...
4
votes
1answer
388 views