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

learn more… | top users | synonyms (1)

5
votes
3answers
368 views

How to measure cross sectional area of Tube

I have modified my question to a simple version. I have vertex clusters, polygons and a list of center points. Attached pts and polygons of 3d tube are: ...
5
votes
2answers
983 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 ...
5
votes
4answers
990 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
280 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
368 views

Generating stripes on a polygon

I want to create a Graphics3D polygon that has stripes on it. My code is ...
5
votes
2answers
557 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
223 views

Is it possible to assign different colors to parts of an .obj file?

There are four different cubes in an .obj file. After loaded into Mathematica, is it possible to assign four random colors to the cubes? ...
5
votes
1answer
226 views

Synchronizing manual rotations for multiple Graphics3D outputs?

Say I make a set of three Graphics3D images, here of three different cones, by evaluating: ...
5
votes
1answer
651 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: ...
5
votes
2answers
476 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
512 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
2answers
260 views

How to draw a box with holes using Mathematica

How to draw these two(especially the second one) graphs using Mathematica? The curve is not important.The point is how to dig some holes in a cube. BTW, These two shapes are Homotopy.
5
votes
1answer
208 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
257 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
158 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
223 views

How can we get this infinite prism lattice to look more like `PolyhedronData[{“Prism”, 3}]`?

This is D$_3$h prism with order 12 (8 currently, needs 4 more edges) and rotational symmetry D$_3$ with order 6. A d=11 version is shown here. Using this code: ...
5
votes
1answer
166 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
1answer
209 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
526 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
456 views
5
votes
1answer
158 views

Why does Arrow not work well with Scaled coordinates in 3D?

I am a little puzzled by the fact that if I try to use Arrow with Scaled coordinates in 3 dimensions the arrowheads are all over ...
5
votes
2answers
400 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 ...
5
votes
1answer
249 views

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

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

How to label axes in 3D plot adequately?

The following code produces plot with axes labels, which are jumping constantly. ...
5
votes
1answer
438 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
381 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
2answers
563 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
623 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, ...
5
votes
0answers
102 views

How can I make sure that 3D plots have the exact same orientation and viewpoint?

First off, I apologize that I can't come up with a simpler working example, but I only seem to have this problem with the larger examples. I am trying to make animations, using functions like the ...
5
votes
0answers
127 views

Creating a PolyhedronData[] structure for custom polyhedra [duplicate]

The PolyhedronData[] structure is wonderfully rich. I would like to create data for my own polyhedra, not any of the many that Mathematica provides. Is this ...
4
votes
1answer
579 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
358 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
549 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
243 views

Plotting Semi-hollow spheres [duplicate]

I wish to create a nice data representation of three nested spherical sections, with a cut away so they can be viewed. As a MWE, something like; ...
4
votes
3answers
177 views

Text Annotation Disappears in Wrapped 3D Graphics

In a 3D graphic, if I wrap a figure, for example, ...
4
votes
2answers
915 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
1answer
277 views

Game of Life in 3D

Is there a three-dimensional cellular automaton that in some sense generalizes Conway's Game of Life? If so, how might we use the CellularAutomaton command to ...
4
votes
3answers
711 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 ...
4
votes
1answer
355 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
216 views
4
votes
3answers
145 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
2answers
258 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
78 views

How can I use multiple Textures in Graphics3D

I am creating a Graphics3D object for a box using 6 Polygons (1 per side). I can use one single Texture on one or more sides but I can not find a way to use different Textures for different sides of ...
4
votes
2answers
156 views

How to minimize the distance between two curves in 3D

I'm trying to find the shortest distance between r(t) and rm(t), at a certain time t. I could not get it using EuclideanDistance, any guess on how to do that? Here is what I have: ...
4
votes
1answer
202 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
257 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
2answers
303 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
1answer
226 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
221 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 ...