Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [normals]

In geometry, an object such as a line or vector is called a normal to another object if they are orthogonal to each other.

0 votes
1 answer
58 views

Normal map BG image for website, with fixed light source

I would like to be able to use normal maps in my site's background images. This CodePen example seems to be the best from all the implementations I've seen so far. It uses three.js to achieve the ...
Mentalist's user avatar
  • 1,667
0 votes
0 answers
62 views

How do I get the 3D normal vector from a 2D gradient (generated through gradient (perlin) noise)

I have implemented a gradient noise function in GLSL in order to generate a heightmap for terrain. I am trying to get a normal vector for each pixel of the heightmap so I can calculate directional ...
Iron Attorney's user avatar
0 votes
0 answers
45 views

OpenGL - Generate Normal of rendered scene

I am drawing a scene by drawing vertices one by one. I use opentk and C#, the draw code looks like this: GL.EnableClientState(ArrayCap.VertexArray); GL.EnableClientState(ArrayCap.NormalArray); GL....
Boldar's user avatar
  • 105
0 votes
0 answers
58 views

add direction vector to 3d array numpy

i have a 3d array with the shape of (3,11,11) this data represent 363 cells in the space i want to make a normal vector for that and per each position (points) instead of values as a number i can have ...
flow's user avatar
  • 63
0 votes
0 answers
64 views

Get normal vector of floor by camera calibration

Normal vector on an image: Distorted normal vector of floor on an image: As depicted in the image I posted, I need to get the normal vector of the floor from the room image. I want to take advantage ...
yaynahyay's user avatar
0 votes
0 answers
118 views

Getting 3D coordinates from a 2D image

I'm looking for a way to get 3D coordinates from a 2D image. Because I need to find the normal vectors of several surfaces in the 2d image (if there is a way to find normal vectors without 3D ...
yaynahyay's user avatar
0 votes
0 answers
79 views

How to fix seams between procedurally generated chunks in Unity?

I've been making a procedurally generated 3d world and ran into an issue with seams at the edges of chunks. The seams look like this: I looked for information online and people said it had to do with ...
João's user avatar
  • 1
1 vote
2 answers
306 views

how to check if all the faces face outward

Situation: I am using Open3D python,The mesh generation algorithm ( like ball pivot, poisson reconstruction ) are dependent on normal direction. I used estimate_normals and ...
uk2797's user avatar
  • 81
0 votes
0 answers
85 views

Creating a 3d model of an object using surface normals

I'm creating a 3d map of an object in Python using a method called Photometric Stereo. Essentially, I use different photos of the object taken at different lighting angles as well as the light source ...
J minding's user avatar
0 votes
0 answers
17 views

How can I add a marmoset library smart material on top of a baked normal map and then export textures?

How can I add a marmoset library smart material on top of a baked normal map and then export textures? I have a low poly object with a baked normal map. The bake only consists of the edge bevel data. ...
Labeeb's user avatar
  • 31
0 votes
0 answers
42 views

When converting depth frame to surface normals I get this weird wavy artifacts. Where are they coming from?

I'm currently working with Intel's Real Sense depth camera (to be more specific, D435i). Here are the pictures. First ones are the real pictures, but only the first color channel (you can clearly see ...
Kawaruto's user avatar
1 vote
1 answer
176 views

Python Plotly Planes Perpendicular to Axes in 3D Plot

I could not draw the plane x=y in plotly using python. My code to generate points on a plane given its normal vector and some point contained in it. What I do is generating two orthonormal vectors ...
Alex's user avatar
  • 11
0 votes
0 answers
78 views

HLSL Normal mapping - light reflections in the shadows

I just recently got into HLSL and I'm currently following Ben Cloward's DVD tutorials on youtube. The tutorial itself is a bit dated but for the most part I can manage when some functions don't work. ...
jordan.dion-duval's user avatar
0 votes
1 answer
172 views

Calculating a normal vector for each pixel (2D image)

I'm trying to understand how the Core Image Shaded Material filter works and trying to replicate its behavior using Metal. From the Shaded Material filter documentation: This filter [...] computes a ...
Brian Spilner's user avatar
2 votes
1 answer
175 views

Tangent seams in Vulkan using GLSL and C++

I am writing a small Vulkan toy renderer using tinygltf to load my models. For the past two weeks I've been trying to implement normal mapping into the renderer, but I've been running into issues. I ...
Jef Belmans's user avatar

15 30 50 per page
1
2 3 4 5
33