# Questions tagged [textures]

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

49 questions
31 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 (...
500 views

### can't blend gradient colors with a stream

The following function generates a plot of the 3d function indicated in the example. ...
66 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 ...
155 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 ...
234 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 ...
175 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 ...
205 views

### Text in Graphics3D

Is there a primitive or option that prevents Text[] from turning to face the camera in Graphics3D? If I use ...
113 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. <...
272 views

### How to understand VertexTextureCoordinates in Texture?

I really don't understand VertexTextureCoordinates in Texture. For example, let pic = ExampleData[{"TestImage", "Mandrill"}]; then ...
94 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: ...
91 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?
233 views

### Degradation of image when used as texture in 3D graphics

An answer at zhihu motivated me to ask this question: Though applying a texture to a surface or a Graphics object is quite convenient in Mathematica, the quality ...
432 views

### Filling a 2D plot with a texture

I am having trouble filling the bottom of the following plot: Plot[Piecewise[{{Exp[-1/(1 - x^2)], Abs[x] < 1}, {0, Abs[x] >= 1}}], {x, -2, 2}] with the ...
492 views

### How to create and export a procedural planet texture with normal map

I would like to generate some earth-like/mars-like/giant-gas-like planets/moon/asteroid textures with normal map and specular map as 4k PNG files (4096 X 2048 pixels), to be mapped on a sphere with ...
54 views

### Exporting my 3D Planet [duplicate]

Beginning with a picture of the surface of an imaginary planet, I can texture-map this onto a sphere: ...
655 views

### How to export textures?

Is there any object geometry format for which Mathematica supports the exporting of textures for external (non-Mathematica) use ? If not does anyone know of work arounds? All the texture primitives ...
130 views

### How to adjust the parameter of TextureCoordinateScaling

I wanna draw a picture like this This is my current work,First get the texture of picture ...
511 views

### Histogram3D with various colors and textures on cuboids' faces

I'm trying to produce an Histogram3D-like graph, but with a little more customization. In particular I want to manually specify the color of each cuboid and to print some information on the top faces....
281 views

### How to make the label text to negate-color against background

This is current solution from a friend: ...
206 views

### Graphics3D and Bit Depth of Rendering

A year or so ago, I sent this question to WRI (nb- a former employer of mine) and, as happens with bug-reports-that-arent-bug-reports, it was swallowed into the black hole that is Chambanna. So- I ...
637 views

### Applying a texture to part of a sphere

I am trying to texture a sphere with a picture of myself. I don't want it to be stretched across the whole sphere but only to appear on the front. I used ...
624 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 ...
501 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 ...
35 views

### Coloring problem in plot3D with transparent texture [duplicate]

I need to plot multiple surfaces with textures. Each texture is a matrix plot with transparent background. In this way, we can see the multiple surfaces from the top. ...
896 views

### How to export .mtl files for 3D textured objects

I would really like to deploy my textured 3D graphics in the web with sketchfab in my blog. Unfortunately, Mathematica only exports the shape of the 3d graphics, i.e. the .obj file, but omits the ...
922 views

### Apply an image as a texture to text

I have the following equation eq = Sum[x^2, {x, 0, 10}] and an image ...
2k 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 ...
377 views

### RegionPlot3D and Texture

I'm getting a white solid instead of a solid with texture, I'm not sure what is wrong: ...
306 views

### How to flip texture?

I discovered this excellent answer which contains a so beautiful plot. I just copied the whole code and tried to reproduce the result but the contour plot used as texture looks like flipped, that is,...
875 views

### Applying non-Affine transforms to 2D polygons with textures

I am trying to create a vanishing point perspective transformation of 2D polygons, for example transforming the red polygon into the blue polygon: ...
118 views

### Mathematica 9 Autocomplete Pop-up issue

I've just installed Mathematica 9.0.1 Student Edition on my Laptop and my Home PC. On my Laptop, it works just fine. But on my Home PC I get this weird issue of the pop-up command autocomplete window ...
797 views

### Custom image as plot marker

Is there a quick and easy way with Graphics to replace the standard data points in a plot with a custom image?
197 views

### Texture[] not working properly with Image AlphaChannel

I recently encountered a problem when combining multiple texture layers in an graphics object when the texture comes from an image with alpha channel. Apparently the alpha channel of the image passed ...
981 views

### How do I place a texture on an irregular 3D model imported from an OBJ file?

I'm trying to reproduce a textured head in Mathematica, and I'm using a kind of 'net' of a head which contains all the features on the face. The texture looks like this: which is supposed to look ...
820 views

### How to remove a black border around Graphics3D[Texture[…]]

So I can create a 2D image that looks like ...
135 views

### Strange response with dynamic texture and MousePosition

I built a cubic, then use MousePosition together with GUIScreenShot to take a floating region with fixed size (200*200) on the ...
773 views

### Sharp background image in plot

How do I get rid of blurry transitions between pixels of the background image below. It's the fault of Texture[], previously discussed in this answer. I haven't ...
257 views

### Resampling when using image as Texture

How to get sharp pixel boundaries with Texture? I'd like to have only black/white in the example below, no gray. ...
1k views

### Showing a rectangular plot on an almost-closed sphere

I am currently teaching some students about the "point at infinity", and how it allows us to treat circles and lines as "the same", etc. I would like to kind of show this happening with a series of ...
585 views

### Crash when displaying / rasterizing graphics with textures at high resolutions

CAUTION/Disclaimer: execution of some of the code below can result in a complete crash of Mathematica or even your system. Save all your work and do not try in a productive situation. For a graphical ...
2k views

### Applying an ArrayPlot as a texture to the surface of a cylinder

I would like to apply a matrix plot to the surface of a 3D cylinder. The matrix plot is the output from a custom cellular-automata, and it would be nice to see the lefthand side of the plot connected ...
364 views

### Exported graphics texture to eps is too dark

Why is the exported graphics eps file so dark? It looks much lighter (and better) as the Mathematica output appearing the notebook. After running ...
507 views

Background: consider the following snippet: ...
2k views

### How to texturize a Disk/Circle/Rectangle?

The documentation for Texture states that "other filled objects" can be texturized: Texture[obj] is a graphics directive that ...
11k views

### How to make a 3D globe?

There are many ways to create a 3D Earth that is rotatable (see here, here, related here), but most of them have some drawbacks. These issues mainly stem from either ...
855 views

### Using Texture to color countries according to their timezones

So I'm trying to make a world map, where each country is colored according to its timezone. Except, for countries with multiple timezones, the country is filled with vertical stripes of colors ...
1k views

### Background image in a polygon / CountryData

Is it possible to use a background image in a polygon without rasterizing the polygon? I tried with textures, but they seem to be viable only for simple polygons. I want to put a flag as the ...
1k views

### Transparent textures don't show

EDIT For now, I'm going to accept Brett's answer. It's a way to get transparency back by having 3D calculations done in software instead of hardware. It addresses the symptoms but not the causes. ...
3k views

### Texture mapping and resizing a sphere primitive in Mathematica

Background Info In Mathematica, it's only possible to texture map a sphere through the use of SphericalPlot3D or ...