Questions tagged [mesh]
A collection of vertices, edges and faces that defines the shape of objects
323 questions
1
vote
0
answers
65
views
Can I apply a single material over every submesh?
I have a shader for outlining an object, how do I apply the material with this shader to all submeshes, not just the last one?
0
votes
2
answers
198
views
How can I detect collision between a box and a minimum poly collision mesh?
Mostly a C++ newbie, trying to do a 3D game in Raylib.
I have a set of fairly irregular meshes that I'd like to see if a box collider has penetrated. For this project, a fairly high level of accuracy ...
0
votes
1
answer
124
views
Create ArrayMesh from GridMap
I want to generate a simplified mesh from cubes placed in a GridMap in Godot. I came up with the following code, however, the resulting ArrayMesh appears so be invalid, as ...
0
votes
0
answers
123
views
Is it possible to create a blendshape in Unity?
I have a character and I would like to add a simple blink animation to it. But the trouble is that the character doesn't have any bones controlling it's eyelids, and there are no existing blenshapes ...
1
vote
1
answer
140
views
Icosahedron missing triangles
I'm trying to create an icosahedron (I've been trying to figure this out for about a week).
Basically, I followed this article to create an Icosahedron mesh in code, and the positions of the vertices ...
0
votes
0
answers
50
views
Easy 2d custom shader for Unity 3d: charts, flat/ortho mesh, etc
I just need to draw a flat mesh (say a 2d graph) on top of everything. What could be easier? create an object, adding it a mesh precalculated in homogenous (-1,+1) coordinates to match ...
0
votes
0
answers
96
views
"Mesh is empty!" error when generating collision shape from mesh
I have a very basic mesh imported for this example. I just resized the default blender cube to a more plane-like structure and exported it into glb and then imported it in Godot.
In Godot, I created a ...
0
votes
1
answer
114
views
How can a quad be triangulated consistently in 3D? [duplicate]
I'm making a building game and the terrain and modelling system are based on cubes made out of 8 corners each. Players can manipulate the corners to make other shapes.
When you take a quad (ABCD), ...
0
votes
1
answer
75
views
Mesh normals create square pattern on surface
Whether I import a smooth shaded mesh from Blender or I generate a mesh in Unity manually using Unity's built in normal calculation function, I get a square grid pattern showing for the shading of my ...
0
votes
0
answers
51
views
Unity high res mesh brighter than low res mesh despite using the same material
I'm currently making an LOD system for terrain. I have a high-res mesh:
And a low-res mesh:
As you can see, the high-res mesh is significantly brighter than the low-res mesh. They are definitely ...
1
vote
1
answer
929
views
Unreal Engine Import Warning "The following bones are missing from the bind pose"
Problem
I'm receiving the following message while importing the character from mixamo.com. It does not happen for all characters but in some of them.
The following bones are missing from the bind ...
0
votes
1
answer
372
views
Z-fighting or mesh flickering in Unity webgl while it is correct in standalone
Some meshes are flickering in WebGL while they work smoothly in the standalone application. This happens with different projects. To resolve the issue, I have to adjust the camera's near clip; ...
1
vote
0
answers
56
views
Get all the vertices my game object covers
I want to get all the vertices of an 3D object.
I'm using this:
...
0
votes
0
answers
205
views
How to compute screen-space error for LOD selection?
I'm developing a LOD selection system and I would like to select a LOD level based on screen-space error. Could someone explain how I can accurately compute the screen-space error?
0
votes
0
answers
39
views
Select polygon (and create submesh) by color of texture?
For a procedural unity mesh operation:
What is a performant way to select polygon (and create submesh) by color of texture?
Raycast hit a point on the mesh, then paint bucket search for the same ...