Dr. Connelly Barnes have led the research on patchbased algorithms over the years. Some of his most famous patchbased research are: PatchMatch (SIGGRAPH 2009, EECV 2010, CAF) Image Melding (SIGGRAPH 2012) Patchbased HDR video (SIGGRAPH Asia 2013) Synthesis of Complex (SIGGRAPH 2015) PatchTable (SIGGRAPH 2015) Artistic Media Digital BasRelief (SIGGRAPH 2007) RealBrush (SIGGRAPH 2013) DecoBrush…
Code Golf: Halftone Image
This is a code golf with the help of Dr. Neyret and coyote. Demo Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 
// forked from my: https://www.shadertoy.com/view/lsSfWV // taken Dr. Neyret and coyote's advices void mainImage( out vec4 O, vec2 u ) { vec2 R = iResolution.xy, M = iMouse.xy / R, S = ( M.y < 1e3 ? 6. : mix(3., 5.5, M.x/M.y) ) / R; O = vec4( length( M= mod( u/R, S)  S*.5 ) < dot( texture(iChannel0, u/R  M), vec4( .21, .72, .07, 0) ) * S.x * ( 1. + .3 * sin(iTime) ) ); } 
Hopf Fibration
According to Wikipedia: In the mathematical field of differential topology, the Hopf fibration (also known as the Hopf bundleor Hopf map) describes a 3sphere (a hypersphere in fourdimensional space) in terms of circles and an ordinary sphere. Discovered by Heinz Hopf in 1931, it is an influential early example of a fiber bundle. Technically, Hopf found a manytoone continuous function (or “map”) from the 3sphere onto the 2sphere such that each distinct point of the 2sphere comes from…
Dotted Drawing / Sketch Effect
After lunch, I want to replicate the sketch shader I wrote for the PencilvsCamera project. Additionally, I wrote a onepass shader for dotted drawing / sketch post processing effect, which I think is more aesthetically pleasing. Dotted Drawing Demo Click on the play button in the left bottom corner of the embedded ShaderToy window below, to…
Unified Gnomonic and Stereographic Projections
Gnomonic projection, or rectilinear projection, together with stereographic projection, are two most commonly used projection in rendering 360 degree videos, or other VR applications. Recently, I found the inverse converting function from screen coordinates to the two projections can be unified within a single function. It’s not really surprising since both projection uses spherical lens,…
Equirectangular Projection, Gnomonic Projection, and Cubemaps
Gnomonic Projection Background According to MathWorld, the gnomonic projection is a nonconformal map projection obtained by projecting points (or ) on the surface of sphere from a sphere’s center O to point P in a plane that is tangent to a point S (Coxeter 1969, p. 93). In a gnomonic projection, great circles are mapped…
04 Order of Spherical Harmonics
Spherical Harmonics is widely used in Computer Graphics. They are analogue to Fourier basis on a sphere, consists of a set of orthogonal functions to represent functions defined on the surface of a sphere. However, they are very tricky to implement due to lots of constants and integral functions. Here is a realtime visualization that…
Yet another shader for image fadeIn effect
Taken iq’s background transparent code and Dr. Neyret’s advice: This shader can be used for rendering popup images in a 3D environment.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 
// Image FadeIn Effect, CC0 // Forked from iq's invisible shader with transparent background: [url]https://www.shadertoy.com/view/XljSRK[/url] float backgroundPattern( in vec2 p ) { vec2 uv = p + 0.1*texture2D( iChannel2, 0.05*p ).xy; return texture2D( iChannel1, 16.0*uv ).x; } vec3 getBackground(in vec2 coord) { float fa = backgroundPattern( (coord + 0.0) / iChannelResolution[0].xy ); float fb = backgroundPattern( (coord  0.5) / iChannelResolution[0].xy ); return vec3( 0.822 + 0.4*(fafb) ); } float getFadeInWeight(vec2 uv) { float edge = 0.3 * abs(sin(0.5)); // taken FabriceNeyret2's advice vec4 v = smoothstep(0., edge, vec4(uv, 1.  uv) ); return v.x * v.y * v.z * v.w; } void mainImage( out vec4 fragColor, in vec2 fragCoord ) { vec2 uv = fragCoord.xy / iResolution.xy; vec3 bg = getBackground(fragCoord); vec3 col = texture2D(iChannel0, uv).rgb; float alpha = getFadeInWeight(uv); fragColor = vec4(mix(bg, col, alpha), 1.0); } 
Real Artifacts
An interesting page listing photographys from the real world that seems like computer graphical artifacts ðŸ™‚ http://graphics.cs.williams.edu/realartifacts/ Finally catched the SIGGRAPH deadline! Hooray!
[Summary] Dr. Izadi’s Holoportation Talk on UIST 2016
Finally the talk on Holoportation is publicly available on YouTube. This is a very useful talk which gives big pictures of the stateoftheart on realtime 3D reconstruction. For the future? Infrastructure FoV Headset removal Compression Interestingly, someone in the UIST 2016 conference mentioned about the problem of mobility. And this is the mobile Holoportation which…
December 2017 M T W T F S S « Nov 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Clock
World
Random Posts
Share
Slideshow

Recent Posts
Twitter
My TweetsRecent Comments
 starea on My Chatbot in WeChat Platform
 starea on Equirectangular Projection, Gnomonic Projection, and Cubemaps
 Monty on Equirectangular Projection, Gnomonic Projection, and Cubemaps
 Week 5: Being a Digital Curator – Site Title on Quick Tutorial on Refereces Management using Mendeley / Endnote / Word / ShareLaTeX
 starea on Tutorial of Ray Casting, Ray Tracing, Path Tracing and Ray Marching
Archives
 November 2017
 October 2017
 August 2017
 July 2017
 April 2017
 March 2017
 February 2017
 January 2017
 December 2016
 November 2016
 October 2016
 September 2016
 June 2016
 April 2016
 March 2016
 February 2016
 December 2015
 November 2015
 October 2015
 September 2015
 August 2015
 July 2015
 June 2015
 May 2015
 September 2014
 September 2012
 October 2010
 May 2010
 July 2008
Categories
Meta