978 questions
3
votes
1
answer
182
views
How do I disable ImageSmoothing in javaFX 3D
I'm rendering cubes in JavaFX 3D for a voxel-based game. I'm trying to texture the cubes with a diffuseMap, however due to the textures being 32x32 the image is being considerably blurred. Is there a ...
0
votes
0
answers
32
views
Can a pixijs Mesh use two texture atlases
I am creating a tile-map renderer in pixijs v8 (I do not wish to use pixi/tilemap). For performance reasons, I would like each layer of the map to be a single Mesh. However, the data for the map is ...
2
votes
0
answers
109
views
Move a texture between two multi-axis rotating spheres at a seam that is static in space
I have a personal project in C++.
I am a C++ beginner, so while I've done a lot of research on this, it's become obvious that the only way to get it to work is with in-depth knowledge and experience ...
0
votes
0
answers
103
views
How to Export OBJ with Texture (JPG + MTL) from ARKit LiDAR Scan in iOS?
I am using ARKit with RealityKit to scan objects using LiDAR on iOS. I can generate an OBJ file from ARMeshAnchors, but I am missing the texture export (JPG + MTL).
What I Have So Far:
Successfully ...
0
votes
1
answer
218
views
Texture mapping issues with Assimp and OpenGL: Some meshes have incorrect UV mapping [closed]
I am trying to load and render 3D models using C++, modern OpenGL (glfw 3.4.0, glad, glm), and the newest Assimp. My model loader is mostly working, but I am encountering an issue where some meshes ...
1
vote
1
answer
161
views
In OpenGL, Drawing a spinning globe using glDrawElements has weird artifacts Seems like an edge bug? How can I debug it?
I wrote a demo drawing a textured sphere using an indexed draw using triangle strip.
The indices seem correct. Given 30 points around each row:
0, 30, 1, 31, 2, 32, ... 29, 59, 0, 30
Then there are ...
0
votes
1
answer
28
views
Android Open GL ES2 Incorrect background pixels alpha-blended
Using Open GL ES2 on Android I am rendering textures into a texture and for some insane reason my semi-transparent texels are getting alpha blended with pixels at an offset from the destination pixel. ...
0
votes
1
answer
146
views
Project PNG image data as texture on plane in vtk
I have been trying to visualize in Python an image as a partially translucent texture on a plane in VTK.
My approach is to use vtkThresholdTextureCoords() to set the transparency based on the image ...
1
vote
1
answer
86
views
Vulkan Wierd Texture Coordinate
To test my renderer, I just render a quad that fills the screen to texture sampling These are my vertex inputs in input assembly.
The problem is that I rendered texture coordinates to screen and I ...
0
votes
0
answers
127
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 ...
0
votes
1
answer
66
views
When I apply the image to the canvas, it gets rotated and pasted on the mesh in the model
When I apply a texture uploaded using fabric canvas to the model, the texture gets rotated and applied.
[intial model] (https://i.sstatic.net/4avgVUGL.png)
after upload of picture and application
...
0
votes
1
answer
201
views
Overlay an image in RealityKit on a 3D model
How to overlay an image in RealityKit on a 3D model using code so that it does not stretch to the entire object, but has its own height and width that I can change?
I have a solution on how to do this,...
1
vote
2
answers
343
views
How to apply a texture image to a RealityKit plane?
I am trying to understand visionOS/RealityKit.
As a test, I created a box and wanted to apply a texture image only to the top of the box.
To achieve this, I have apparently to construct the box of 6 ...
2
votes
2
answers
158
views
How to Maintain Texture Dimensions in Three.js When Scaling Mesh?
I am working on a Three.js project where I have a mesh object with a texture applied. The texture is a PNG file with dimensions 64x64.
Problem:
When the dimensions of the mesh object change, the ...
1
vote
1
answer
88
views
Why is a texture distorted on the Quest and not in Editor?
I'm creating a VR app that plays 360º spherical panoramic videos into a sphere. The app is to run on quest2/3 but I'm having trouble getting the texture to show on the Quest exactly like it does on ...