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

learn more… | top users | synonyms (1)

9
votes
2answers
797 views

How to get UV mapping of 3D tube

Here is cylinder data: file We can mesh the surface, thanks to lalmei, Belisarius and Simon (link) How to achieve uv mapping from a 3d straight and curved tube? Working code: ...
9
votes
1answer
426 views

Add lines to 3D Plot

How can I add lines that demarcate the different regions of the following 3D plot: Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, -8, 8}] To give you an idea of what ...
9
votes
1answer
405 views

How to display MeshRegion without vertices

I'm writing a library for handling very large and complicated (boundary) mesh regions on the order of ~150,000 vertices, ~450,000 edges, and ~300,000 triangles. The regions themselves are the cortical ...
9
votes
1answer
133 views

Rotate manually 3D graphics when (auto)playing

Is there a possibility in Mathematica to allow for manual rotation of 3D graphics when (auto)playing either using Manipulate or ...
9
votes
1answer
375 views

Isometric perspective for Graphics3D

Is it possible to render Graphics3D in an isometric projection? I know that the ViewPoint option can be used for orthogonal ...
9
votes
1answer
205 views

Mathematica's “POV” export format ignores ColorFunction

I was playing with xslittlegrass's Pov-Ray package and more generally with the POV-conversion function ExportString[#, "POV"] &, and noticed that ...
9
votes
1answer
384 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 ...
9
votes
1answer
118 views

How to synchronize the display of dynamic objects?

I was looking at this question, which asks to keep the orientation of some 3D graphics objects constant (relative to the viewer) while rotating the rest with the mouse. I thought that maybe the ...
9
votes
0answers
104 views

ListDensityPlot3D does not antialias axes

I sent a bug-report to Wolfram and the case number is [CASE:3454878] I'm on Linux with Mathematica 10.3 and I have my 3D graphics output set to the highest "Antialiasing Quality". It works fine for ...
9
votes
0answers
144 views

How to rasterize a Graphics3D expression into an Image3D?

I'd like to make a 3d image from a 3d graphics. Unfortunately Rasterize@Graphics3D[Sphere[]] gives a 2d image, is there any function like a Rasterize3D that does ...
9
votes
0answers
212 views

Mathematica and POV-Ray workflow: ListContourPlot3D

I have the following function describing a molecular electronic Orbital. ...
8
votes
5answers
531 views

Faking MoleculePlot for compounds where it isn't available

Mathematica's ChemicalData has a lot of useful information, but many compounds only have flat 2D structure diagrams rather than the cool 3D ...
8
votes
3answers
1k 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 ...
8
votes
5answers
936 views

Drawing a cuboid with rounded corners

I want to draw a cuboid with rounded corners, like this: RoundingRadius only works with Rectangle or ...
8
votes
3answers
353 views

Help recreating a gif

For my math class I am trying to recreate a mathematical GIF. Here is the GIF I wish to make: At this point I think I have a 3D function that would work to lay the hexagons on to. ...
8
votes
3answers
698 views

How can I find the vertexes of a Polygon?

I made a polygon with the following vertexes : ...
8
votes
3answers
419 views

Generating a “flare” effect in Graphics3D?

I'm attempting to indicate that there is a point-source of light at some position in a Graphics3D-generated image. Is there any built-in tool to do this? My patch-work solution thus far has been to ...
8
votes
3answers
2k views

How to make a 3D plot auto-rotate?

When doing presentation with Mathematica, I often want a 3D plot to rotate automatically, so the 3D feeling is stronger. I don't want to drag the mouse every time. So, I want a general function like ...
8
votes
1answer
780 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 ...
8
votes
3answers
562 views

Plotting triple data points while xy data are not regular

I plotted recently some figures in Matlab and their quality was not that satisfactory, so I come to Mathematica as my supervisor suggested. This is how such figure looks like in Matlab: . In Matlab, ...
8
votes
3answers
1k 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 8's whose centers are aligned along the 3D curve? Say the curve was: ...
8
votes
2answers
411 views

How to make a cylinder with bottom that shows hidden part of edge as dashed curve [duplicate]

I am learning a bit about TikZ and found a nice feature in its graphics, that I am having hard time duplicating with Graphics3D. It is making a ...
8
votes
3answers
421 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 ...
8
votes
2answers
496 views

Graphics3D: Objects with holes

In a recent project, I found out that there is a big limitation when using Graphics3D to construct objects - it lacks the ability to construct objects with holes in ...
8
votes
1answer
280 views

FindClusters for 3D Pancake/Platelet Shapes

I'm looking to properly cluster a dataset of roughly 3 million data points in 3-space. The shapes form closely spaced "clusters" that resemble pancakes. Here is a downsampled dataset: ...
8
votes
5answers
1k views

How I calculate the volume of multiple intersecting spheres?

I would like to know how to calculate the volume of the union of multiple possibly intersecting spheres (using Sphere[]). Please see the figure: I was trying to get a mesh/delaunayMesh out of the ...
8
votes
1answer
812 views

How to add texture to solid Graphics3D object such as cylinder?

I'd like to add texture to a Cylinder inside Graphics3D. I can't see how to use FaceForm and ...
8
votes
1answer
2k views

Quality control when exporting graphics into JPG

If I export a graphics from Mathematica to JPG format the image quality in JPG is visibly lower than that in Mathematica. Is it possible to control and eventually increase the quality of the exported ...
8
votes
1answer
148 views

Exporting Graphics3D is not complete

Bug fixed in 9.0.1 When I export the result defined as the variable pot1 to pdf, the lower contour plot isn't showing. How do I fix this? ...
8
votes
3answers
267 views

Ticks disappear in Graphics3D with Epilog

Bug introduced in 10.0.0 and fixed in 10.0.2 Normally, you can enable Graphics3D to show tick marks by doing this: ...
8
votes
1answer
579 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 ...
8
votes
1answer
238 views

Explain the difference between ViewPoint and ViewVector?

I've read the documentation, but am still very unclear as to what the difference is between ViewVector and ViewPoint for ...
8
votes
1answer
404 views

ListContourPlot3D doesn't use all points

Edited thanks to @Kuba: In the following example, ListContourPlot3D accepts an array of points spaced at intervals 0.1 apart throughout the volume, but seems to choose an arbitrary number of points ...
8
votes
1answer
760 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 ...
8
votes
0answers
63 views

Problem exporting Graphics3D into PDF

When I try to export some Graphics3D, like this one: into a PDF file I get a bad appearance like this: It's possible to fix? Steps to reproduce the problem: ...
7
votes
6answers
681 views

How to draw a dodecahedron with each face modified to a pentagram?

I'd like to draw a dodecahedron with each face carved on the sides so it becomes a pentagram. I wonder how to start to do this kind of task in the Wolfram Language? Edit: The result should still be ...
7
votes
4answers
1k views

Combining 2D slices into a 3D plot

I am currently trying to combine several 2D plots into one big 3D plot. The 2D-plots are simply input-results from calculations (so these things have 2D coördinates (x,y)). The results depend on an ...
7
votes
3answers
3k 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$ ...
7
votes
3answers
670 views

Speed up ContourPlot3D

I have two issues with the following code. (1) It executes too slowly. If I use "Speed" instead of "Quality" for PerformanceGoal, I get the speed but an undesirable delay in proper rendering of the ...
7
votes
1answer
332 views

plotting 3D image for the “grazing goat and silo” problem

I am looking for the code to generate a 3D graphic with this area rotated around its PQ-axis: The red circle represents a silo centered at point P. A goat is tethered at point Q on the edge of the ...
7
votes
1answer
280 views

Plot the 3D complement

I have plotted a 3D region using Show[RegionPlot3D[set1, opt1], RegionPlot3D[set2, opt2], RegionPlot3D[set3, opt3]] So this command plots the union in $\mathbb ...
7
votes
3answers
1k views

How to make a smooth revolution surface plot

I'm trying to plot a 3d revolution plot from a set of 2d points. These data points form a 2d curve, then we rotate that curve around y axis and get a 3d surface. @J. M. has a well explained and very ...
7
votes
2answers
717 views

Is it possible to manipulate a graphics object with 3 rotation transforms simultaneously?

The code that I have written has an unintended consequence that I'm not sure how to get around. I want 3 rotation transforms to be applied simultaneously to 1 graphics object. Instead, I get 3 ...
7
votes
2answers
178 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. ...
7
votes
1answer
317 views

Eliminate an unexpected mesh line

What is the source of the vertical mesh (ring) in this figure and how does one eliminate it? ...
7
votes
3answers
666 views

Combining Image3D and Graphics3D

I want to combine an Image3D and a Graphics3D using Show. Here is the code: ...
7
votes
4answers
2k 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., ...
7
votes
2answers
1k views

How can I mesh a solid cylinder with triangular or tetrahedral elements

I need to plot triangular mesh on a cylinder. However the function Cylinder doesn't have a mesh option. By using ...
7
votes
3answers
483 views

Thick polygons in Graphics3D [duplicate]

I have a polygon that I want to thicken with thickness h. How do I do this? FaceForm is evil and says: The directive ...
7
votes
2answers
693 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.