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

learn more… | top users | synonyms (1)

1
vote
2answers
94 views

How to adjust the animation rate in a Manipulate environment

The enclosed code is a simplified version of the "Make Your Own Solar System" demonstration. How do I remove the manual Faster and Slower animation controls and add code for a permanent very slow ...
2
votes
0answers
116 views

Visualizing the Gradient Vector

I already found this Example but i want to add a description and the individual vectors as in the picture. My approach so far: ...
0
votes
1answer
98 views

Display 3D function and its gradient in same graphic [duplicate]

Is it possible to display e.g., $z=x^2+y^2$ with Plot3D and in the same box, in the $z=0$ plane, plot its gradient?
0
votes
0answers
35 views

coordinate system problem [duplicate]

I had an issue about the coordinate system of mathematica. I have a {800,600} image acquired with a camera. The projection matrix P of the camera is calculated using the calibration task. Now, when I ...
2
votes
0answers
223 views

How can I create a minimal surface with trefoil knot as inner edge and circle as outer edge?

This minimal surface is the subject of Michael Foster's beautiful wood-turned sculpture "Inversion" (see http://breezyhillturning.com/styled-2/photos-2/index.html). In addition, how can one create 2D ...
0
votes
0answers
57 views

How to plot a ternary plot? [duplicate]

Does anybody know how to plot a ternary plot (equilateral triangle)? Suppose, I have a list of lists like this (triplets): ...
3
votes
2answers
118 views

Slow rendering in GraphPlot3D

Is there a way to speed up this rendering? I have to make this call many times in order to make an animation of some dynamics on the graph g. Thus dynamics are carried in the list var. Each entry in ...
1
vote
2answers
149 views

3D Sphere Plot + Points [closed]

I'm currently trying to create a 3D plot of a sphere along with four points of different colour, using the following code: ...
23
votes
2answers
4k views

What are the possible ways of visualizing a 4D function in Mathematica?

I have a function $F$ that maps the xyz space to a set of reals, more clearly: $c = F[x,y,z]$ Where $c$,$x$,$y$ and $z$ are reals. What are the possible ways of visualizing this 3d function in ...
1
vote
1answer
29 views

Rescale::nargs: error, what can be the cause [closed]

I was trying the code given in the answer to this question What are the possible ways of visualizing a 4D function in Mathematica? but in V 10.01, on windows, it now gives an error ...
6
votes
1answer
302 views

How to add texture to a parametric plot?

I need to put some simple textures to some parametric plots. My textures are not complicated, They are like the first example in here. Is there any simple way of doing this? For example, How can I ...
4
votes
2answers
96 views

How to make overlapped part to be transparent?

I want to ask is it possible to make the overlapped part to be transparent in Graphics3D. ...
0
votes
1answer
66 views

presentation of 3D image only

For viewing or discussion is it possible to display a mouse rotatable ParametricPlot3D or Manipulate holding back Mathematica code lines in a slideshow for example?
3
votes
1answer
171 views

How do you make a 3D city population graphic?

I want to make a graphic that has the shape of a country, finds all the cities of that country, gets their coordinates and populations and turns that into a SmoothHistogram3D with the population being ...
0
votes
0answers
49 views

How to set suitable View* for Graphics3D [duplicate]

My codes and result as following. There is an people object in 2D view. You can move the people object in 2D view, the direction of the arrow is the direction that the people see. You can use the ...
2
votes
1answer
82 views

View inside the room

I used Cuboid to build 4 walls and make them composed like a room, the codes and result as followings. My question is that is it possible to move the viewpoint to inside the room? The thing I want to ...
-1
votes
1answer
133 views

Syntax errors in mollusk shell function plot [closed]

I would like to reproduce this plot with Mathematica: In fact, both the mathematical background of such plot, and its implementation in Mathematica are here. This code is from web page I linked ...
0
votes
0answers
29 views

Plotting center of mass point in a solid hemisphere? [duplicate]

I have been trying everything I can find online but I seem to be stuck trying to plot a center of mass point within a solid unit sphere with z >= 0. I have the center of mass point already but I ...
1
vote
1answer
83 views

Delineate a Subset of Values on a 3D surface plot

This is building on a question previously answered by Rahul recently. I have a particular 3D surface plot on which I wish to delineate where z (the function) is between the corresponding x value and ...
1
vote
1answer
84 views

How to draw tubes around the edges of a three-dimensional object?

Suppose I have a three-dimensional object (such as a cylinder, or some finite parametric surface). Is there any easy way to draw tubes with given radius around the edges of the object (i.e., tubes ...
1
vote
1answer
107 views

How to combine manipulate and eventhandler

I combine manipulate and eventhandler, now I can change the controller when working on eventhandler, but how to change the value in eventhandler when I control the manipulate controller? ...
13
votes
2answers
270 views

Mathematica, animations, and external ray tracing programs

As much as I enjoy and admire Mathematica's animation capabilities, I would like to take my animations to the next level by exporting the geometry of every frame to an external ray tracing program ...
1
vote
1answer
75 views

sluggish 3D graphics

After I plot two concentric cylinder, I see that rotating the 3d object is not smooth and it's slow. ...
1
vote
1answer
189 views

Combining solar system planets orbits and positions in Graphics3D and Show

I am building an animated model of the solar system, where I would like to display the OrbitPaths of the planets along with their ...
0
votes
1answer
56 views

Strange wiggles on the surface of a ParametricPlot3D

I'm trying to plot two cones but when I try to display them, Mathematica (10) makes the edges wiggly. My code is: ...
3
votes
2answers
192 views

How do I display the plane of best fit in 3D?

I'm trying to display the plane of best fit in the same 3D-box. Currently, I have the following code which spits out a plot of the points in 3D. I want to have a plane of best fit, can Mathematica do ...
1
vote
2answers
128 views
45
votes
1answer
2k views

Implementing a first person view of 3D objects in a scene

I've created the following scene with a Chinese-style building surrounded by trees, and a horse and a rabbit grazing on the grass in Mathematica (don't ask me why there's a bust of Beethoven in ...
12
votes
0answers
669 views

Using TetGen in Mathematica to get 3D Voronoi diagram

In this post, the use of TetGen for 3D Voronoi tesselation has been briefly discussed. However there is still no info about the use of TetGen to generate a 3D Voronoi diagram. The TetGen documentation ...
5
votes
3answers
287 views

How can i construct a 3D surface pass through a curve defined by formula and some other controllable points?

For example, If a have a curve defined by x^2+y^2=1 and z=0, and some isolated points having z coordinates, Can I construct a 3D surface passed through? It's better if I can change the surface shape ...
4
votes
1answer
326 views

3D Plot of The Riemann Zeta Function

I am a new user and i would appreciate your help to visualize the 3D of the following function. Edit I tried this ...
8
votes
3answers
330 views

Multiple-colored regions on a Sphere in Mathematica

The problem: I would like to draw a sphere where the bottom half is one color, and the top half is split into 3 equal regions, each with its own color. I have come up with the following code, by ...
6
votes
1answer
220 views

Real-like jet engine flame

I’m trying to make rocket flame and jet engine fire of all kinds that is an 3Graphics object so that it can be used with a 3D rocket project. But I can’t get the basic translucent effect right. ...
2
votes
3answers
368 views

How to export 3D graphics to Collada (.dae) format?

I'm looking for a way to export 3D graphics objects to the Collada (.dae) format. I need an automated way, i.e. using Blender to manually convert from another ...
2
votes
2answers
169 views

Using RegionPlot3D to make a cone under restrictions

I have to plot a cone that satisfies this statement: Use the RegionPlot3D command to draw a picture of a cone with its point at the origin. The other end of the cone is a circle with radius 5 ...
0
votes
0answers
41 views
13
votes
2answers
566 views

Phase portrait on a cylinder

It is very nice and very easy to make a sketch of a phase portrait with StreamPlot. For example, for the classical pendulum, defined by $$ \dot x=y,\\ \dot y=-\sin x, $$ The code ...
5
votes
1answer
237 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: ...
3
votes
1answer
185 views

How to combine solid objects using logical expressions?

How can one define and render in 3D a single solid object using logical operations on component solid objects? For instance, I would like to define a solid object that consists of a ...
4
votes
1answer
113 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 ...
2
votes
1answer
122 views

Mean curvature of Sphere

I am trying to calculate mean curvature of a parametric surface(like sphere), and I wrote this code based on this discussion. Here is my code: ...
13
votes
2answers
375 views

How to build a 3D graph from a 3D matrix?

Following this and that question and the corresponding answers, Mathematica can build 2D graph from 2D matrices. Question How to make the corresponding 3D graphs from 3D cubes? Attempt ...
0
votes
0answers
69 views

Visualization of 3D data by Raster3D and Import

I would like to visualize data stored in an external .txt file. The data is a 3D array of real numbers. I would like to visualize the data by using Raster3D function, but I am not sure what is the ...
2
votes
1answer
130 views

Getting errors when I try to evaluate code taken from Trott's Mathematica Guidebook for Graphics

I would like to learn how to make high quality images in Mathematica. In my pursuit, I have come across Michael Trott's Mathematica Guidebook for Graphics. I have been trying some of the examples, ...
10
votes
1answer
253 views

Compose many Geometric Transformations for 3D Graphics

I'm struggling to understand what would be a good way to compose several geometrical transformations to create a single TransformationFunction to be applied to a ...
14
votes
5answers
3k views

How to draw a great circle on a sphere?

I apologize for the text description, but new users are not allowed to post images. I want to draw a circle that cuts through the center of a sphere and has an inclination of 15 degrees with the ...
2
votes
1answer
82 views

Can I line the mesh lines on a `RegionPlot3D` up with integer values of the axes?

(Sorry if this is a duplicate, I searched briefly and didn't find anything.) I have region plots in 3D like: ...