Note that there are some explanatory texts on larger screens.

plurals
  1. USTrevor Powell
    primarykey
    data
    text
    plurals
    1. COAn update, a year later: Instead of the procedure I outlined above, I now just do a single `git rebase -i master`, and set the command for Commit A to be "edit" (leave the command for Commit B as "pick"). That will leave you in rebasing-mode, with commit A in your working copy. You can then amend commit A using `git commit --amend`. Once you finish modifying commit A, you can then `git rebase --continue`, and it will re-apply commit B, and you're done.
      singulars
    2. COIf I was debugging this, the first thing I'd do would be to modify the vertex shader to say `pass_color = vec3((0.5 * normalDirection) + vec3(0.5), 1.0)`; in effect, draw to the screen using normals as if they were RGB (scaled up so that -1..1 normal values become 0..1 color components). That'll let you verify that yes, you have non-zero normals which are pointing approximately the right directions. If that goes as expected, you can check your other inputs, and then the results of individual calculations, to figure out where things are going wrong.
      singulars
    3. COIs there any particular reason why you're doing this line-drawing by explicitly drawing individual pixels using Bresenham, instead of just telling OpenGL to draw the line? If the goal is just to draw a line, that'd be a lot simpler. :)
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload