Questions tagged [textures]

For questions about texture mapping, particularly using the Texture function.

Filter by
Sorted by
Tagged with
7 votes
2 answers
271 views

What is the source of texture examples provided in the documentation?

I have been trying to test different textures for my Plot3D and stumbled upon these examples given in the MMA Documentation for ...
codebpr's user avatar
  • 2,233
4 votes
3 answers
141 views

How can I define a specific colour for the textures from the ExampleData?

Suppose I have the given Mathematica code, ...
codebpr's user avatar
  • 2,233
6 votes
3 answers
440 views

How to create a specific lighting in 3D graphics for a disk?

I am trying to get a 3D disk with gradient lighting that is darker at the center and gradually goes white at the edges. I managed to get the correct lighting but could not make it a circular shape ...
MMA13's user avatar
  • 4,674
0 votes
0 answers
24 views

Putting the default plotting theme under a texture in ParametricPlot3D

I have a texture I'd like to plot over a surface, however I'd also like to retain the surfaces original coloring underneath as the texture has parts that are transparent; How is it possible to do ...
valcofadden's user avatar
6 votes
2 answers
81 views

StreamStyle options of StreamPlot is not passed to Texture on ParametricPlot3D surface

I have a vector field, Pdt1 I am trying to use as the texture for a ParametricPlot3D plot. When I plot the vector field with the ...
valcofadden's user avatar
0 votes
0 answers
43 views

How to apply Opacity for object and Textura separately?

I put text on the sphere. In my code below the Opacity[0.6] is applied for both. I want to make a sphere with Opacity[0.6] but text with Opacity[1]. How to make this? ...
nail's user avatar
  • 189
2 votes
0 answers
39 views

Can Mathematica import uv information from 3d model?

Question1: Does mathematica's supported 3d file format can import uv information such that we can split the model polygons and keep the texture? https://en.wikipedia.org/wiki/UV_mapping Question2: If ...
HyperGroups's user avatar
  • 8,619
0 votes
0 answers
46 views

Parametric surface with texture and mesh

The following code maps a parchment texture on a parametric surface: ...
Humberto José Bortolossi's user avatar
4 votes
0 answers
256 views

Inverse Mercator projection from plane to sphere

I made a Mercator map of the Earth like this: ...
Gragarian's user avatar
1 vote
0 answers
92 views

ListPointPlot3D with markers on a surface

I have a 3D surface (specifically a sphere, if that makes things easier) and I am plotting the contours of a function over this surface using MeshFunction. I also ...
user366202's user avatar
4 votes
2 answers
125 views

Texture not mapping correctly over square root sheet

I'm trying to texture a set of concentric annuli over ParametricPlot3D surfaces of various functions but the mapping is not centered and not covering the entire ...
josh's user avatar
  • 2,352
4 votes
1 answer
178 views

How to import and render this OBJ file with correct texture?

Here's the output of a 3D scan of a bike, I need to render it in color with the texture file provided. Here are the files: ...
M.R.'s user avatar
  • 31.5k
16 votes
0 answers
649 views

How to reconstruct 3d meshes from 2d images of a scene?

The new ImageStitch was nice functionality added in v13, but is there anything available for constructing meshes (with color textures) from a bag of 2D images (...
M.R.'s user avatar
  • 31.5k
3 votes
1 answer
200 views

Why isn't the vector field being plotted over the entire torus?

I am trying to plot a vector field over a torus. Here is my code and the image it produces: ...
valcofadden's user avatar
5 votes
1 answer
215 views

How can I generate the image without the diagonal line in an efficient way

The purpose is to generate a square texture image from a triangle patch of the original texture image. ...
HyperGroups's user avatar
  • 8,619
10 votes
3 answers
418 views

Mapping a numerical array of numbers onto the surface of f(x,y) possible?

I'm considering mapping an error estimate matrix onto the surface of a function f(x,y) in the indicated range: ...
josh's user avatar
  • 2,352
0 votes
0 answers
82 views

Information about how to use Texture

Does anybody know where one can find understandable info about how Texture, VertexTextureCoordinates and TextureCoordinateFunction work?
Daniel Huber's user avatar
  • 51.7k
3 votes
2 answers
281 views

How to texturize a polygon?

...
miss's user avatar
  • 784
5 votes
2 answers
619 views

Filling region with a pattern

I'm trying to fill the region to the left of a vertical line with a pattern (Diagonal is enough for my purposes) and a different pattern to the right. I've tried <...
Patricio's user avatar
  • 583
7 votes
1 answer
167 views

Different TextureCoordinateFunction in two faces of a surface

Let us say that we have the following example from the Texture[] help page, modified with FaceForm[] to get different textures for the inner and outer faces: ...
F3RN4ND0's user avatar
4 votes
1 answer
290 views

Project geomap onto band of sphere

A band surrounding a sphere could be plotted using the ParametricPlot3D function: ...
Baoxiang Pan's user avatar
2 votes
2 answers
194 views

Parametric Plot: different coordinates for texture and mesh

I try to create a parametric plot which maps from the complex unit circle to a different region in the complex plane. That works fine but I have one problem: I want to see the images of a mesh with ...
Gragarian's user avatar
4 votes
0 answers
345 views

Interpolating vertex colors with trilinear coordinates instead of barycentric

In 3D graphics, vertex attributes like vertex normals, texture coordinates, and vertex colors are interpolated over the surface of triangles using barycentric coordinates. In actual fact it's more ...
flinty's user avatar
  • 25.3k
1 vote
0 answers
135 views

Creating a map of earth from an unknown region of the sphere

Lately I've been trying to use Mathematica to plot a map of earth. I have an analytic function from a known triangle to some part of a unit sphere, described by unknown parametrization. This function $...
Roy's user avatar
  • 43
1 vote
0 answers
124 views

How to get a smoother color blending on a 3D sphere showing the spherical harmonics?

Here's a manipulate code to show the spherical harmonics mapped on an unit sphere: ...
Cham's user avatar
  • 4,093
3 votes
1 answer
55 views

Would replacing one side of the Dynamic Clock Box with an image be easy or a complete rewrite?

I've been looking at the code and reading other questions. I don't know where to start. Here is the code from the Wolfram example with the addition of importing and resizing an image in the first ...
Youvan's user avatar
  • 613
7 votes
2 answers
265 views

Adding texture to `Tube[]`

Continuing from here, I would like to Texture lines with thickness. I tried using the normal and the binormal from ...
martin's user avatar
  • 8,678
0 votes
0 answers
80 views

Mathematica Texture in Graphics3D becomes blurred

I am using MMA to embed a series of 2D pics into a 3D graphics. The code is as follows: ...
ZHANG Juenjie 's user avatar
9 votes
4 answers
541 views

How to hollow out this surface?

Recently I am replaying with this (I made it in the past): the theory is Texture in Mathematica (map the vertex(x,y) to curve(u,v), and draw polygons). So I ...
AsukaMinato's user avatar
  • 9,808
7 votes
1 answer
143 views

Texture prevents JoinedCurve from closing

Bug introduced in 11.3 or earlier and fixed in 12.1 I am running Mathematica 11.3 and would like to see if this behavior is still present in newer versions of Mathematica before submitting a bug ...
robjohn's user avatar
  • 1,071
10 votes
2 answers
342 views

Circle Packing in Cone Texture

This is a cone with texture generated by PatternFilling in plane. The problem this texture mapping is not conformal. So my question is how to generated a pattern image which could suit a fixed height ...
HyperGroups's user avatar
  • 8,619
18 votes
2 answers
1k views

Smoother jelly / water effect on an image

I'm trying to achieve a jelly / water surface effect. I'd like it to be a bit smoother. Here I am taking a triangulated rectangle and perturbing all points by a little random noise for each frame. ...
flinty's user avatar
  • 25.3k
7 votes
3 answers
453 views

How to get colors at points in Graphics3D?

To get the color at a 2D point in Graphics you can Rasterize it and look up the pixel value, but not for ...
M.R.'s user avatar
  • 31.5k
7 votes
2 answers
1k views

2D and 3D graphics that project a world map on Icosahedron

I would like to generate 2D and 3D graphics of icosahedron with continuous world map projected on them. An example is provided as follows: It's trivial to generate 3D Icosahedron using ...
Baoxiang Pan's user avatar
11 votes
0 answers
374 views

Export/Import a 3D file format with Textures

In version 12.1, the docs say that it is now possible to export/import to a 3D file format while preserving textures: But I can't seem to find a single example of this new feature! Code to try: If ...
M.R.'s user avatar
  • 31.5k
4 votes
1 answer
109 views

reduced image quality / sharpness when texture has opacity / alpha / transparency

The output of Graphics3D looks blunt (polygon borders, arrow) when a polygon primitive is present in the scene with texture that has opacity channel. Also it seems that different kind of texture ...
Toorop's user avatar
  • 160
6 votes
2 answers
164 views

Filling a listlineplot with a texture

Consider the following list ...
jarhead's user avatar
  • 2,065
0 votes
0 answers
57 views

How to assign an image to all the 12 faces of a Dodecahedron [duplicate]

How do i assign an image to all of the 12 faces of a Dodecahedron?
Andrey Cozmin's user avatar
5 votes
1 answer
133 views

Glue a series of images as textures on various points of a sphere

Using the techniques outlined in the answers to this and this questions, it's possible to map images as textures on the surface of a sphere or other object. These questions, however, consider the ...
glS's user avatar
  • 7,623
2 votes
0 answers
81 views

How to place a ListPlot in a Texture without losing resolution?

I have a code that produces the left plot (vectorised image), and makes into a Texture in order to have it under a ListPlot3D (...
SuperCiocia's user avatar
  • 1,472
5 votes
3 answers
639 views

can't blend gradient colors with a stream

The following function generates a plot of the 3d function indicated in the example. ...
user17164's user avatar
  • 151
5 votes
1 answer
294 views

How to make swatch legend match the chart's texture?

I am making a stacked bar chart which represents the concentration of a battery in different metals. I would like to make the metals differentiatable by adding a bit of texture to the rectangle in ...
Tommy95's user avatar
  • 97
14 votes
2 answers
452 views

How to make Texture unblurred?

This post is related to this post, But somewhat different. Since Wizard focus on alpha channel, and didn't got an answer. So I made this post. My system is Windows 10, and Mathematica 11.2 If I run ...
matheorem's user avatar
  • 17.1k
1 vote
1 answer
663 views

How to apply a linear transformation to a parametrically-plotted disk with a texture?

Short version: I would like to apply a linear transformation to a parametrically-plotted surface with a texture and get an output with the correct texture. First, I used ...
WorfSonOfMogh's user avatar
1 vote
1 answer
304 views

How to texture an annulus on a cylinder?

I have a graphic picture which is an annulus and I need to map it conformally onto a cylinder. The real math problem is to map a punched plane onto a cylinder conformally. I am given a part of a ...
Masha 's user avatar
  • 11
0 votes
0 answers
401 views

Text in Graphics3D

Is there a primitive or option that prevents Text[] from turning to face the camera in Graphics3D? If I use ...
I should change my Username's user avatar
1 vote
0 answers
233 views

Mapping two textures over a 3D surface

I would like to show the current distribution in a thin cylinder in 3D. The figure below shows the open cylinder. I am trying to use that figure as a texture in a 3D plot inspired by this answer. <...
Pedro H. N. Vieira's user avatar
16 votes
3 answers
678 views

How to understand VertexTextureCoordinates in Texture?

I really don't understand VertexTextureCoordinates in Texture. For example, let pic = ExampleData[{"TestImage", "Mandrill"}]; then ...
matheorem's user avatar
  • 17.1k
3 votes
1 answer
106 views

Problem upgrading SphericalPlot3d to V11

I am converting some code, which ran under V10.2, into V11. However, the results is different and undesirable. Here is a simplified version of the code: ...
Spencer Rugaber's user avatar
2 votes
1 answer
166 views

How can I add Texture to a STL imported object?

I downloaded STL objects and want to add Texture to the surface. How can I do that?
jss's user avatar
  • 405