9 votes
Accepted

How can I offset/shrink a triangular polygon in GLSL?

Given triangle ▲ABC, we bisect angle ∠BAC with line AD, derived with Angle Bisector Theorem: BA / BD = CA / CD Point E represents our objective refined position on the desired resulting inset ...
Jack's user avatar
  • 341
2 votes

Slice a volume in GLSL using raymarching

I was over thinking it. Instead of discarding it, I needed to just let the ray keep marching. adding ...
TheJeran's user avatar
  • 121
2 votes

Which provides better intuition: THREE.Geometry or THREE.BufferGeometry?

Note that BufferGeometry still supports both indexed and non-indexed meshes. It contains arrays of vertex attributes and indices, and works in non-indexed mode if the indices array is null. You can ...
Nathan Reed's user avatar
2 votes

How to apply wire texture for realistic rendering of embroidery?

Picking up from step 2, where you generated line segments to represent individual stitches, I would first suggest that you apply rounded ends to each segment, rather than square ends. I would then ...
Jack's user avatar
  • 341

Only top scored, non community-wiki answers of a minimum length are eligible