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

learn more… | top users | synonyms

8
votes
3answers
386 views

Filling between two 3D surfaces

I know it is possible to create a filling in between two curves on a 2D plot, but is it possible to do the same in 3D? My attempt like this: ...
1
vote
1answer
163 views

How to plot X and Y data to see average data converging?

I initially have ran a large, say 1000 (to be changed later) number of monte carlo simulations (mcRun), and I want to see when the average data result starts to converge to a reasonable value. So I ...
6
votes
2answers
98 views

Projecting Reference Lines in a SmoothHistogram3d Surface

What is the best way to draw a path (red color, dashed) along the surface of the smoothHistogram3D. Assume the paths desired to be the X=0 and Y=0 Axes. ...
12
votes
1answer
172 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 ...
15
votes
3answers
461 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 ...
7
votes
3answers
314 views

How can I find the vertexes of a Polygon?

I made a polygon with the following vertexes : ...
6
votes
2answers
279 views

Plotting All Possible Points Belonging to a Group Orbit

Given that $$X = \{(x,y,z) \in \mathbb{R}^3 |\, x^2 + y^2 + z^2 - 2(xy + xz + yz) = k\}\,,$$ where $k$ is a constant. Also given that a group $G$ is represented by $$\langle g_1,g_2,g_3|\, g_1^2 = ...
3
votes
1answer
183 views

Debugging graphics

All the examples I am seeing on internet are related to normal functions that carry out loops and assignments but I have not seen one example where I can see a graphics based program being debugged. ...
9
votes
1answer
448 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 ...
5
votes
1answer
338 views

How does one draw a parallelepiped in Mathematica?

I'm a bit new to the application, and I'm not sure how to draw a parallelepiped in Mathematica.
1
vote
3answers
432 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 ...
7
votes
2answers
360 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 ...
0
votes
1answer
161 views

How can I remove orange-box around the Graphics3D?

I don't know whether this is a correct question or not, but I played from two days on this problem and still I didn't find a solution. The save button is enabled whenever we have to specify ...
2
votes
2answers
195 views

How can I overlap image on Graphics3D at a specific position?

I make a Polygon with size of {width=0,length=50,height=30}; I want to overlap Image on ...
4
votes
1answer
247 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 ...
11
votes
2answers
375 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 ...
4
votes
0answers
99 views

Creating a PolyhedronData[] structure for custom polyhedra

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 ...
5
votes
2answers
672 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?
0
votes
0answers
103 views

Why does mathematica crash when I rotate a 3D graph? [duplicate]

Possible Duplicate: SIGSEGV error with 3D Plots I just recently installed mathematica 8 on my linux machine, running ubuntu 11.10 I decided to tun and test mathematica so while the terminal ...
3
votes
1answer
162 views

Problem in RegionPlot3D

I tried to plot the region bounded by the three planes. This is supposed to give me a pyramid type of shape (actually two, but I am just taking one of them). The code is given by ...
32
votes
0answers
736 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 ...
7
votes
3answers
413 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
0answers
284 views

How to map rotate, pan, zoom to manipulate controls

I am wondering if there is a way to restrict the motion of the rotate mouse cursor in when moving around a 3d plot. For example, I want the y direction of the cursor to correspond to pulling the z ...
1
vote
2answers
263 views

How to draw a tangent to a surface in a given direction?

It seems quite embarrassing for me, but somehow I can't draw a tangent line to a surface in a given direction. Assume that I want to visualize directional derivative of the function, say, ...
12
votes
1answer
317 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 ...
1
vote
1answer
200 views

Code to draw geometry doesn't run

I'm new to Mathematica and have no background whatsoever in programming, although I will teach myself soon. I was wondering if one of you programming pros could help me out. I received a code from ...
5
votes
1answer
177 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 ...
6
votes
2answers
338 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.
11
votes
2answers
599 views

Finding a Concave Hull

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

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

I have a random 3D data points. How to calculate volume of the convex hull and volume of the object.
4
votes
1answer
176 views

Rough edges plotting a surface

I'm trying to use SphericalPlot3D to create some images of a surface but I get some rough edges on the surface around the boundary. However, after rotating the ...
7
votes
1answer
449 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 ...
8
votes
1answer
757 views

Construct 3D image from multiple 2D images

My goal: How to (1) construct 3D image for visualization. (2) how to write 3D array or image into binary raw file. Is there a way to accomplish this in Mathematica? Alternative_Answer for: ...
46
votes
2answers
41k views

Cutting bagels into linked halves

I recently came across this video: Mathematically correct breakfast, which shows how a bagel can be neatly sliced into two identical linked halves. I'd like to try this with Mathematica. Here's a ...
2
votes
2answers
160 views

MapThread to Spheres with various colours

I have these two lists ...
6
votes
1answer
251 views

Color linear interpolation of ParametricPlot3D

I am looking for any ideas about how to colorize an ellipsoid with a custom gradient style or by a Blend function. I would like to colorize ellipsoid as follows: ...
9
votes
1answer
257 views

Outline around sphere

Is there an easy way to draw an outline around a sphere? Is there something like EdgeForm[] that will work? I'm looking for perhaps a thick red line; I'm making a ...
7
votes
1answer
421 views

How to render a 3D tubular graphics from a 2D image path

Question: Is it possible to create a tubular 3D image like Extruding along a path using "Tube" function in mathematica for following images? Image (1) Image (2) Thanks I have been ...
13
votes
3answers
538 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 ...
11
votes
4answers
1k views

How to draw an ellipse arc in 3D?

There is no Circle or Disk object in 3D. I quickly found a way to use Cylinder (thin lines, no faces, very flat): ...
13
votes
3answers
505 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? ...
4
votes
1answer
191 views

Noticeable slowdown in graphical performance when using manipulate

I have been making these mathematica 3D objects that involve a molecule with some sort of surface displayed above them. This is done fairly easily by: ...
2
votes
2answers
278 views

Animating a 3-D arrow given the vector's x, y, and z components as a function of time

I am trying to show how a vector M varies over time. I have the following code: ...
11
votes
1answer
215 views

Facegrids at ticks

I want to plot a 3D graphic and I want facegrids at the ticks that I specify. I've tried several solutions but I cannot get this working. The result with the code provided below is that it does its ...
22
votes
1answer
367 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 ...
6
votes
3answers
922 views

Animate ParametricPlot3D for two different parametric equations

I want to write a computer program to generate 3-D plots (with x-y-t axes) to demonstrate the evolution of the two missiles in the following case: i. $x = 100t$, $y = 80t-16t^2$ for $0\leq t\leq 5$ ...
13
votes
2answers
615 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 ...
5
votes
1answer
253 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 ...