Skip to main content

Questions tagged [grid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
31 views

RayTracing grid acceleration slowness using motion blur

I'm adding some motionblur feature to my raytracer and I'm using an uniform grid acceleration scheme (it will be updated to bvh later on) to speed up the rendering time. My problem is that if I have a ...
ytrox's user avatar
  • 31
1 vote
1 answer
213 views

Light Falloff through a grid

I'm playing with a grid-based lighting system, where light is transported and accumulated through a grid. I initially tried attenuation based on ...
Anthony's user avatar
  • 11
3 votes
2 answers
630 views

Fuse detailed road mesh with regular grid terrain mesh

I am experienced with C++ and know more embedded device related stuff but have absolutely no knowledge of computer graphics and its algorithms. I would like to get a road mesh (based off of a spline) ...
Max's user avatar
  • 31
6 votes
2 answers
520 views

In a shader, how to store fragment coordinates in a spatial partitioning from one pass to the next?

I have a post-effect camera-shader in which I want to implement a simple spatial partitioning of the screen between two passes of the fragment shader. The first pass should divide the screen into ...
blipblop's user avatar
3 votes
0 answers
65 views

Draw lines angled from 0 to 2 pi in a raster grid [duplicate]

I am trying to draw an angled line in a raster grid. The idea is to create a function that given a start point, a length and an angle, would give me the pixel positions that combined would give me a ...
noob's user avatar
  • 31
14 votes
4 answers
1k views

Projected grid water horizon detail

I'm trying to implement an ocean scene with C++ and DirectX11. Currently I have a projected grid, Gerstner waves and a basic shading. My problem is that when I aim my camera horizontally, so I can see ...
Gábor Szalóki's user avatar
5 votes
1 answer
302 views

Is this smaller grid for Poisson disc sampling still correct?

I've seen a number of 2D Poisson disc sampling algorithms online that use a grid to accelerate checking for existing points within the minimum radius [![r][r image]][r link] of a candidate point. For ...
trichoplax is on Codidact now's user avatar
15 votes
1 answer
524 views

Is all grid based noise inevitably anisotropic?

I'm interested in how this applies to higher numbers of dimensions too, but for this question I will focus solely on 2D grids. I know that Perlin noise is not isotropic (direction invariant), and ...
trichoplax is on Codidact now's user avatar