279 questions
3
votes
2
answers
211
views
UV coordinates on bezier curve
I am trying to create a system for building a mesh on a bezier curve. Everything seems to have worked out, but when trying to calculate the UV coordinates, oddities occur: in places of strong bending, ...
0
votes
0
answers
123
views
Creating UV Map with Swift and MetalKit
I am performing LiDAR scanning using Swift with Metal and ARKit. I am able to export my files in PLY, OBJ, and MTL formats, but I need to export the UV map of the scanned area in JPG format.
I’m ...
1
vote
0
answers
56
views
UV Scaling and Mesh Boundary Alignment in Fabric.js and Three.js
I’m currently working on a project using Fabric.js and Three.js, and I have a few questions:
UV Scaling (Pixel-Perfect): What steps should I follow to scale UV maps correctly in Fabric.js and ensure ...
1
vote
1
answer
84
views
How do I fix mapping when exporting from Blender to Unity?
When I export from Blender to Unity via FBX, my tiled texture mapping is lost. Not only it is lost, but also mapping is planar from the top of the model in Unity and I cannot figure out how to fix it.
...
1
vote
0
answers
126
views
How to Detect an ArUco Marker from a 3D Model in Unity for HoloLens 2?
I've seen many repositories on how to detect physical ArUco or QR markers using the HoloLens 2 camera. However, in my current project, I receive an OBJ file and a corresponding texture file. When I ...
1
vote
2
answers
261
views
Rotate UVs in Vertex Shader without distorting texture
I need to rotate and scale UVs in a vertex shader such that the rotated texture fills its available bounding box. The following test implementation successfully rotates and auto-scales the texture but ...
0
votes
1
answer
138
views
Programmatically generating box UVW maps
I'm need to programmatically generate box UVW maps in 3D-models, similar to how UVW Map -> Box works in 3ds Max.
Example with default UV
Example with box UV, what I'm after
I've tried javascript-...
1
vote
0
answers
60
views
Play with Texture in three js
everyone. I want to know if it is possible to map specific triangle region of one texture to the another triangle of other texture with different size and shape in three.js?
I am new to three.js so I ...
0
votes
0
answers
160
views
material stretching unity and tiles don't work and uv mapping not working because need Pro builder
I want to put material on the wall and it stretches. Idk why
as you can see this is the problem.
I want to make the material not stretching if the wall is too big for the material, repeat a half or a ...
1
vote
0
answers
85
views
How to apply a texture to a geodesic sphere in SceneKit
When I apply a texture to a non-geodesic sphere the sphere has one look, but when SCNSphere.isGeodesic is set to true, the sphere has an absolutely different look (i.e. not a rotation of the first ...
0
votes
0
answers
332
views
UV mapping a texture generated from a script
I would like to create a simple material in Unity 3D using a C# script.
My idea: I would create an array of points with coordinates then use these points to define shapes with a class (lets say ...
0
votes
0
answers
692
views
UV coords flipped opengl?
I'm currently writing a simple 2D renderer using OpenGl and C and have been trying to implement a system that allows you to only render part of a texture for things such as animations with sprite ...
0
votes
2
answers
44
views
How to make a material cover part of a 3D primitive node?
Given a primitive node(could be a box, ball, cylinder, etc.) and a material, how to make the material cover part of the node just like the picture above?
Are there any existing examples in whichever ...
2
votes
0
answers
719
views
How to control UV mapping distortion
The illustration below shows how I expect the UV mapping to be applying the texture and how it is really being applied. This was a big surprise to me, my conclusion was if I could draw faces with four ...
1
vote
1
answer
702
views
UV mapping texture on a THREE JS cube
Im trying to create a cube with some texture using web GLSL shaders for the first time. But the entire box is the top left pixel of the image and i cant quite figure out how to fix this. Help pls :))
...
1
vote
0
answers
169
views
How can I turn a UV corrdinate this texture into a single U coordinate?
First off, this is what I'm trying to do:
The blue lines are the texture boundaries, the red line is a "slice" I am putting across the polygon (the slice can be variable).
What I'm trying ...
0
votes
0
answers
354
views
Unity: how to tile a texture to be a constant size
I need to apply a normal map to a mesh so that it remains at the same scale regardless of the size of polygons, I know this should be possible with some complex UV mapping, but I want to use this ...
0
votes
2
answers
454
views
Extruding a cylinder with complex UV mapping
This is all being done programmatically, not with any kind of 3D editor.
I am being delivered a shape like this:
The UV coordinates that map that checkerboard are just the x,y coordiates of the shape,...
0
votes
0
answers
85
views
Threejs remap UV after CSG subtract
I was able to subtract a mesh fron my main mesh. However the texture is not well mapped in the engraved part.
The texture inside the engraved part is quite small in comparison of my main mesh.
Is ...
0
votes
1
answer
151
views
fragment uv flip glsl shader and wondering how i can replace the if statements with working math
//This has been tested and works in AGK classic
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif
#define PROCESSING_TEXTURE_SHADER
varying mediump vec2 uvVarying;
uniform ...
1
vote
1
answer
721
views
Ursina, poor positioning of textures on a complex blender model
I have been trying for some days to make a 3D character that I can display with Ursina in Python. However, when I display my character with the appropriate texture, the result obtained on Ursina is ...
0
votes
1
answer
112
views
How to get rid of lines on edges of triangles in generated mesh?
I made a procedurally generated map, but I think I have some problem with uv's.
This is what problem looks like:
This is what my code for uv's of one tile looks like:
Vector2 u = new Vector2((float)...
1
vote
1
answer
100
views
HTML canvas draw inside UV islands
I am trying to create a texture on fly with many randomised circles and apply it on bowtie object in three js
I am trying to achive it with HTML canvas because I think it will give me more control ...
0
votes
1
answer
479
views
Three js texture is not aligned with UV
I am trying to apply texture to exported from blender model with unwraped UV, however the texture is not mapped corretly.
I have exported a UV layot from blender and marked one island in red to check ...
2
votes
1
answer
1k
views
How to correctly find UV on sphere
I have a sphere and a texture for it.
Texture consist of 16 tiles of zoom = 2 from OSM. Tile size is 256x256.
At top and bottom I added space to cover area in ranges [90, 85.0511] and [-85.0511, -90],...
0
votes
1
answer
2k
views
Import model from Blender to Unity with single texture
so I spend hours googling and "trial and error"ing, but I still could not figure this out.
I have (half) a chessboard modeled in Blender. I bake all my materials to a single png with UV ...
1
vote
1
answer
335
views
How to transfer colors from one UV unfolding to another UV unfolding programmatically?
As seen from the figure, assuming a model has two UV unfolding ways, i.e., UV-1 and UV-1. Then I ask an artist to paint the model based on UV-1 and get the texture map 1. How can I transfer colors ...
0
votes
0
answers
449
views
Uv map not loading correctly in three.js
My uv map is loading like it's one side of a block:
Here is my code:
const grass = new THREE.TextureLoader().load( 'https://raw.githubusercontent.com/Isaiah08-D/namelater/main/textures/blocks/...
0
votes
1
answer
331
views
Transforming 2d textures on rectangles to create illusion of 3d?
Suppose I have the following texture of a red house:
The above texture is meant to be projected on rectangles that form a cuboid, where the first one is the side(s), the middle is the front (back) ...
1
vote
2
answers
2k
views
How to export UV map in SVG format in Blender but only outlines
I have this UV map from my 3d object.
Now I want to export it to SVG format but I just need outlines/borders as SVG not all polylines.
Is it possible in Blender to export as SVG just outlines/borders ...
1
vote
1
answer
842
views
texture's models imported to Unity don't fit the mesh
i am trying to import a model into unity, its a creature from Spore that was exported from the game using one of the cheats (i converted it from .dae to .fbx). the textures and all that worked just ...
1
vote
0
answers
293
views
How to get point(x,y,z) on a custom 3d model from uv coordinate?
How can I get the XYZ position with UV coordinate?
I heard that I could use barycentric coordinates to get XYZ on a 3d object.
But I am not sure how to calculate it.
6
votes
1
answer
215
views
How to animate texture coordinates in javafx
Is there some kind of animation for liquid surfaces that mimics waves by animating uvcoordinates like in the picture below?
Can this method be recreated in the JavaFX framework?
2
votes
1
answer
488
views
How to, given UV on a triangle, find XYZ?
I have a triangle, each point of which is defined by a position (X,Y,Z) and a UV coordinate (U,V):
struct Vertex
{
Vector mPos;
Point mUV;
inline Vector& ToVector() {return mPos;}
...
1
vote
1
answer
409
views
Repeat a cubemap texture on a cube face with OpenGL
Is it possible to make a cube map texture (GL_TEXTURE_CUBE_MAP_POSITIVE_X...) repeat on a given face with OpenGL?
I have a simple unit cube with 24 vertexes centered around the origin (xyz between (-0....
2
votes
1
answer
274
views
Is there a way to show uv from meshview to flat drawing in javafx?
is there a way to show uv coords on gui like blender blender uv ?
1
vote
0
answers
469
views
How to project 3D human face mesh vertices on a cylindrical surface?
I am trying to implement a Pose Normalisation methodology as mentioned in the paper LipSync3D, where I need to project 3D human face mesh vertices on a cylindrical coordinate system with a vertical ...
0
votes
1
answer
174
views
Shader flips output image
I have been struggling to figure out the problem behind why my images sometimes end up flipping once the shader has run and output the result.
I take in position and normal images into my shader to ...
0
votes
1
answer
488
views
How to define the area of the texture to apply to a face
I have a cube made with Three.JS and I want to apply a part of a texture on each face.
Concretely, I am looking for a function taking 4 parameters: x1, y1, x2, y2 specifying the area of the texture to ...
1
vote
0
answers
1k
views
Generate Texture map from UV Coordinates
Given an image and uv coordinates how can we generate an unwrapped texture map of specified resolution? Is there any way to get this done in Python?
image - 1440, 1080, 3 (Can be any size)
UV ...
0
votes
1
answer
738
views
THREE.js ShaderMaterial UV wrapping issues on SphereBufferGeometry
I'm trying to wrap a SphereBufferGeometry with a ShaderMaterial where I'm using noise to resemble the surface of Jupiter, but it's wrapping very oddly to the sphere geometry. All of the animated ...
1
vote
1
answer
105
views
I can't apply an image texture to an object
I have made the shape of Hello Kitty (I started from a cube, merged all the vertices at the center and then I add one by one the vertices with CTRL+RightMouseButton and then I used fill to obtain the ...
0
votes
1
answer
2k
views
Simple Texture Mapping for a generic triangle mesh
Suppose that we have a triangle mesh without information about normals and texture coordinates.
(Basically an OBJ file with only vertices and face elements).
The objective is to show something decent ...
0
votes
0
answers
2k
views
Calculating UV Mapping Texture Atlas on Cube in OpenGL
I've been reverse engineering a MineCraft application in C, built with OpenGL. If you are unaware, the game involves the generation of cubes, UV Maps textures to the cubes, and then they are placed in ...
2
votes
1
answer
2k
views
Create UV Texture map from DensePose Output
I am trying to generate a single UV-texture map in the format of the SURREAL dataset. There is a notebook in the original DensePose repository that discusses how to apply texture transfer using an ...
0
votes
1
answer
1k
views
Blender Texturing doesn't show up correctly after repeatedly baked on it even though UV-Mapping fits perfectly
The problem occurs, when I baked lightings & reflections via Principled-BSDF (Cycles) on an "Image Texture"-Node repeatedly. The first times I get excpected solutions and then suddenly ...
2
votes
1
answer
11k
views
Is there a way to merge textures in Unity in a shader?
I'm trying to animate a 2D game object using several overlaid layers of images in one mesh renderer. I've got several layers of different textures, each is an image with a transparent background.
I've ...
0
votes
1
answer
1k
views
Get used UV tiles of a Polygonal Mesh
Background info
Polygonal meshes use UV sets to map image textures to their surface. Using UDIM textures you can use integer tiles to apply different textures as within what integer bounds the UV ...
0
votes
0
answers
709
views
Unfolding 3D triangulation surface into planar 2D plot
After a transformation in polar coordination and a triangulation with matplotlib (Triangulation function), I obtain my figure (it's empty inside) in 3D (mpl_toolkits.mplot3d.art3d.Poly3DCollection).I ...
1
vote
1
answer
203
views
HEALPix with texture UV mapping
I found an implementation of the HEALpix algorithm this is the dokumentation
And the output looks very nice.
The following images show the latitude / longitude conversion to HEALpix areas.
The x-axe ...