13 years, 9 months ago
Highlights
Community contributions featuredAssuming Line.direction has length 1, the answer is Line.pos + Line.direction * dot_product(direction, Point - Line.pos). thank you for replying Is it Line.pos + Line.direction…
13 years, 9 months ago
Hi, I want to find projection from a point 'P' on a line 'L' if line is given as: struct Line { vec3 pos; vec3 direction; } and the point is vec3(a,b,c) I am try…
13 years, 9 months ago
14 years, 9 months ago
Hi, I am trying to build a 2d platformer, in that I want to have procedural maps generation using Perlin noise. The idea is to have a Terraria type of game environment. For that…
14 years, 10 months ago
Hi, I am trying to implement 2d world generation similar to that of minecraft and Terraria. There should be grass, trees, dirt, caves etc. I am using C/C++ and OpenGL I am not s…
14 years, 10 months ago
Latest Activity
See all in DiscussionsAssuming Line.direction has length 1, the answer is Line.pos + Line.direction * dot_product(direction, Point - Line.pos). thank you for replying …
13 years, 9 months ago
Hi, I want to find projection from a point 'P' on a line 'L' if line is given as: struct …
13 years, 9 months ago
3) How to relate the value generated from Perlin noise to tiles ie I have tiles of GRASS, WATER, STONE …
14 years, 9 months ago