Commonly Used Variables in Falcor

136. Single Number

Given an array of integers, every element appears twice except for one. Find that single one. Solution:  

09/12/2017

Tasks: Due Wed: Meet Varshney GrayScale Rendering I searched: single channel textures, grayscale framebuffer. https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexImage2D.xhtml Solution: Dropbox\OPENGL\TrySomething\Sponza\grayScaleRendering Compare GL_RGB & GL_RED                          Memory             Time GL_RGB        386MB               24ms GL_RED … Read more09/12/2017

09/06/2017

Research: Fixed depth error. Should initialize depth buffer after obj load Fixed drawing triangles for the cut line: I wrongly set the “layout (triangle_strip, max_vertices = 3) out”, if max_vertices = 3, only one triangle will be outputted! Should use vertex, tess, geom, frag shaders together now! Let recall the whole pipeline…https://www.khronos.org/opengl/wiki/Rendering_Pipeline_Overview (09/08 added) I met … Read more09/06/2017