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

learn more… | top users | synonyms (1)

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
169 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
48 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
132 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
82 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
106 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
268 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
72 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
183 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
55 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
188 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
127 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
663 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
281 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
328 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
218 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
364 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
161 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
562 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
235 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
180 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
111 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
120 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
68 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
129 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
252 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
81 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: ...
4
votes
1answer
558 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 ...
1
vote
2answers
180 views

Rotating a plane about an arbitrary axis

I would like to rotate a plane by $k$ degrees about an arbitrary axis. How should I do it using RotationTransform? hmm i realise if I do the following ...
9
votes
5answers
651 views

Randomly assigning color to 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 ...
1
vote
1answer
74 views

Ticks Label in 3Dplot in Mathematica

In 3DListPlot, I am plotting data such that I have discretized a contineous function. While plotting, I automatically get the ticks labeling, marking the discrete points. I want to replace the ...
0
votes
1answer
59 views

Newbie code problem with graphics3D

I would like to draw a calabi-yau space in mathematica. from Andrew J. Hanson's Pdf (page 6) about this topic I got this code, which just does not show anything at all in my mathematica test version. ...
2
votes
1answer
136 views

How to generate apart or non-intersecting spheres in cube? [duplicate]

I am trying to generate model of randomly distributed uniform spheres in the cube. For randomly distributed spheres I am using RandomReal option. But when I run the ...
22
votes
1answer
562 views

Unintended edge extensions in 3D Cube rendering

Bug introduced in 7.0.1 or earlier -- persists through 10.0.1 or later I have arranged a certain configuration of cubes in 3D using the following code: ...
4
votes
1answer
142 views

How to get Mathematica to draw soft edges?

I need to create some black and white illustrations for which I use Glow[White]. Unfortunately this makes soft edges disappear, so objects blend into the ...
2
votes
1answer
643 views

Plotting 3D Vector Field in one plane

I want to plot a vector field F={Fx, Fy, Fz}. However, I only want to plot it in one plane (say, z=0). When I use ...
0
votes
0answers
67 views

Another problem concerning slicing through Graphics3D

In my project, I have to generate 3D model of randomly distributed filled spheres inside a cube. As a result, I have to show the distribution of the spheres in the cube layer by layer. Using code from ...