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

learn more… | top users | synonyms (1)

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
4
votes
2answers
82 views

Problem with ViewVector

I am trying to have a satellite (camera) move around the earth (unit sphere) and take picture of the earth. The satellite keeps constant distance from the earth, and always looks toward earth center. ...
4
votes
1answer
113 views

Animation of tube with fixed height

the problem is following: my task is to make an animation: tube changes its radius but doesn't change its height. With command ...
4
votes
2answers
250 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 ...
4
votes
1answer
163 views

combined 3D graphics with no interface

I'd like to combine several 3D graphics, but the interface, indicated by the arrow in the figure attached between them is alway present. How to eliminate it? Thanks in advance. Here is my example: ...
4
votes
1answer
244 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: ...
4
votes
1answer
156 views

OpenGl Z-Order Equivalent in Mathematica?

I am trying to draw the arrows in this picture on top of the two parallel plates. In OpenGL I would just set the 4th coordinate the z-order to be closer. Any ideas how to draw them on top in ...
4
votes
1answer
227 views

How can I colorize an imported model?

How can I colorize an imported model from for example 3ds max? I'm trying to find the way to colorize a 3D plot from an imported model with something like this: ...
4
votes
1answer
56 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 : ...
4
votes
0answers
126 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 ...
3
votes
2answers
349 views

How can I define a 3d-body through different views? [closed]

In one of the maths blogs I follow I stumbled upon the following question: The bottom, side, and front views of an object are shown below: How would the object look in three dimensions? My ...
3
votes
2answers
295 views

Increase 3D Graph thickness for 3D printing in Mathematica?

My code: Plot3D[{(2*x*y)/(x^2 + y^2)}, {x, -2, 2}, {y, -2, 2}] Output: And now I can export this to STL by using the export STL command, however, when I try ...
3
votes
2answers
425 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: ...
3
votes
3answers
272 views

How can I fill a wire-frame structure with gas in a Graphics3D drawing?

I am very poor at visualization. I want to make a transparent "building" filled with gas. I wrote the following code for the building and it's fine. ...
3
votes
2answers
341 views

Generating an Airy disk on a plane

I wish to generate a surface intensity plot of an Airy disk (or perhaps a two-dimensional Gaussian approximation to an Airy disk) on an (x, y)-plane at a specified coordinate. The hope is to have ...
3
votes
2answers
204 views

fit a curve in a three dimensional space

I have a list of points of a curve in a three dimensional space, like ...
3
votes
3answers
160 views

Colorize a 3D distribution of points according to density

Suppose we have some random 3D distribution of points. I'll use the spherical ball defined below as an example and a starting point for the discussion here : ...
3
votes
1answer
159 views
3
votes
3answers
219 views

Image3D and Graphics3D

also I guess that the topic was tackled in Combining Image3D and Graphics3D. My question is quite similar: How do I match the coordinate Systems of Graphics3D and Image3D? Here some code: ...
3
votes
2answers
138 views

ParametricPlot3D Question

When I graph: ParametricPlot3D[ If[11*Cos[t] <= 5, {9*Cos[s]*Sin[t], 10*Sin[s]*Sin[t], 11*Cos[t]}, Null], {s, 0, 2*Pi}, {t, 0, Pi}] I get but ...
3
votes
2answers
179 views

Represent Plot Scale with an offset

I want to know how to represent the axis on my 3dplot with a scaled offset. Please see the image below, I just want to show in the plot as {X-Axis*0.1} and {Y-Axis*0.1} ...
3
votes
2answers
146 views

Is Mathematica compatible with primusrun?

I use Mathematica 9 on Ubuntu 12.04 LTS x86 (64-bit). My computer has an Nvidia graphics card, for which I installed primus and ...
3
votes
3answers
116 views

A one-liner to place some number of Graphics3D polytopes on a plane and to randomly assign colorations

I'm looking for a nice one- or two-liner to randomly place some number, $N$, of Graphics3D polytopes on a plane with dimensions $X \times Y$, and to specify that $k ...
3
votes
1answer
274 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 ...
3
votes
1answer
251 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 ...
3
votes
1answer
211 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. ...
3
votes
1answer
265 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 ...
3
votes
2answers
123 views

Draw only part of axis in graph

I'm looking to draw only one half of an axis in ContourPlot3D, mainly because I don't wan't the axis lines to be where the interesting stuff happens (intersection ...
3
votes
1answer
173 views

How to speed up Manipulate with Graphics3D

How do I speed up the Manipulate of the Graphics3D objects here? It is currently painfully slow, and I'm at a loss. I have reviewed many other posts and implemented what I could based on them, but it ...
3
votes
1answer
94 views

Adding and summing overlapping Airy (or Gaussian) disks on a plane

In a previous question of mine, I asked how one might draw an Airy disk on a plane: Generating an Airy disk on a plane, and recieved some impressive answers from the users Timothy Wofford and ...
3
votes
1answer
134 views

How can I use Manipulate[] to click on a Graphics3D output and generate $(x,y)$ outputs on a projection plane parallel to my screen?

Say I have some Graphics3D object that I'm looking at from a top down perspective, e.g.: ...
3
votes
1answer
153 views

Depth from Graphics3D

Consider this simple 3D rendering with some geometric primitives: ...
3
votes
1answer
121 views

How can I improve my Zooming code?

I recently started to work with the EventHandler function to make it possible to Zoom, Pan, etc, with only the use of a mouse. I have found a way to zoom that is ...
3
votes
0answers
175 views

Weird behaviour from ListSurfacePlot3D

Looking at Documentation for ListSurfacePlot3D, I follow the basic example presented there. ...
3
votes
0answers
201 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 ...
3
votes
0answers
104 views

How can I truncate only a single vertex of a polygon?

One can truncate all the vertices of a polygon at once with Truncate. I want to do exactly that -- but only on a single vertex. Is this possible with Mathematica 9? ...
2
votes
3answers
424 views

How do you show a cone inside of a sphere?

I have a sphere of radius 5 and a cone (i.e. z=√(x^2+y^2)) inside of it. I can show them separately, but I'd like to show them together. I've tried a few tricks with opacity, implicit specifications, ...
2
votes
2answers
222 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
2answers
247 views

How to draw Graphics3D items with straight border lines?

I want to make a Polygon with straight border lines. For that purpose I wrote the following code, but it doesn't show straight borders. ...
2
votes
2answers
360 views

How to draw a coordinate system diagram?

I want to make drawings like these in Mathematica: I don't know if Mathematica is a gppd solution for drawing such images. If it is, please tell me how to do it; if not, please suggest another ...
2
votes
2answers
198 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
2answers
284 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 ...
2
votes
2answers
501 views

How to Plot Prism in Graphics3D

I want to create an image of a rectangular prism, but there is no built-in primitive for it. One method to display a prism is shown in whubers's answer to Mathematica for teaching orthographic ...
2
votes
1answer
163 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 ...
2
votes
2answers
202 views

MapThread to Spheres with various colours

I have these two lists ...
2
votes
1answer
113 views

ListPointPlot3D with connected points?

With the command ListPlot[data,Joined -> True] I can visually connect adjacent data points in the array with lines. However, this option appears to be missing ...
2
votes
1answer
244 views

How can I draw a curve through as set of xyz points?

I have a list of data and want to make a curve like the one below which I made in solidworks. The problem of this curve is, that I don't know how to put it in a box with coordinates. The best I ...
2
votes
3answers
169 views

Changing the Actions in EventHandler

I would like to be able to change which action specified events take depending on some condition. For example, I have established a SetterBar ...
2
votes
1answer
161 views

3D arrow tail properties

I would like to use VectorPlot3D to plot a vector field with 3D arrows: ...