Now I'm working at a CG production, playing with joints and handles. I found Maya Python API 2 is quite handly.
In my free time I'm learning Nuke SDK (the manual is a little bit confusing but its concept is simple), reading ambient occlusion papers (ambient occlusion volumes and HBAO, crytek one seems to produce only low quality ao if my understanding is correct).
Monday, July 16, 2012
What am I doing now?
Tuesday, March 13, 2012
Saturday, August 6, 2011
Two-Scale Particle Simulation
Two-Scale Particle Simulation
It's a straightforward, practical idea to reduce simulation time. First simulate fluid with roughly, and simulate again only within some regions (in the paper, water surface and camera frustum is taken as examples) that needs accracy which boudary conditions given by the rough simulation. Good for multi-threading.
Friday, June 10, 2011
Saturday, June 4, 2011
Sunday, November 21, 2010
First result
First result of my Sunday programming.
Spheres in the grids are pressures (positive or negative), lines are velocities in the staggered grid.
Took a bit of time to show Karman vortex.
I will take several source codes before making it 3D.
Sunday, November 7, 2010
From my note (Fluid)
Please let me know if something is wrong.
* [001]Simulating Ocean Water
- Jerry Tessendorf
* [002]Deep-Water Animation and Rendering
- http://www.gamasutra.com/gdce/2001/jensen/jensen_01.htm
- Lasse Staff Jensen and Robert Golias
* [003]A Novel Algorithm for Incompressible Flow Using Only A Coarse Grid Projection
- physbam.stanford.edu/~eenglish/tmp/refinement.pdf
- Michael Lentine, Wen Zheng, Ronald Fedkiw
- Read.
* [004]Filament based smoke with vortex shedding and variational reconnection
- Steffen Weißmann and Ulrich Pinkall
- That filament based stuff.
* [005]Animating Sand as a Fluid
- Yongning Zhu and Robert Bridson
- Bridson's page http://www.cs.ubc.ca/~rbridson/
- First paper of Flip in CG.
* [006]Basic knowledge to learn weather dynamics(Japanese)
- for [005] (strain rate tensor, etc.)
- http://epa.scitec.kobe-u.ac.jp/~ykawai/project/meteo_basic/meteo_basic.html
- http://epa.scitec.kobe-u.ac.jp/~ykawai/project/meteo_basic/node15.html
* [007]A Controllable, Fast and Stable Basis for Vortex Based Smoke Simulation
- http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.101.6870&rep=rep1&type=pdf
- Alexis Angelidis, Fabrice Neyret, Karan Singh, Derek Nowrouzezahrai
- one of original paper of [004].
* [008]Computation of Vortex Ring Dynamics
- http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.101.6870&rep=rep1&type=pdf
- Robert KRASNY and Leon KAGANOVSKIY
- For [004] tutorial.
* Vorticity Structure and Evolution in a Transverse Jet with New Algorithms for Scalable Particle Simulation http://dspace.mit.edu/bitstream/handle/1721.1/27103/56835888.pdf?sequence=1
- Fro [004] Looks good explanation for rosenhead-moore.
* [009]FLIP: A LOW-DISSIPATION, PARTICLE-IN-CELL METhOD FOR FLUID FLOW
- J.U. BRACKBILL, D.B. KOTHE and H.M. RUPPEL
- Flip.
* [010]A new doubly discrete analogue of smoke ring flow and the real time simulation of fluid flow.
- Written by Pinkall, author of Philament based ...
* [011]Fluid Simulation For Computer Graphics: A Tutorial in Grid Based and Particle Based Methods
- http://www.colinbraley.com/Pubs/FluidSimColinBraley.pdf
- Found when googled "MAC grid" while reading Animating Sand as a Fluid
* [012]strain and rotation(Japanese)
- http://solid4.mech.okayama-u.ac.jp/ひずみと回転.pdf
- Written by a prof. of Okayama univ. For Animating Sand as a Fluid. Good.
* [013]Strain and stress
- http://www.mech.kyushu-u.ac.jp/lab/chi10/jp/chap3.pdf
- Written by a prof. of Kyusyu univ. For Animating Sand as a Fluid. Good.
* [014]FLUID SIMULATION SIGGRAPH 2007 Course Notes
- http://www.cs.ubc.ca/~rbridson/fluidsimulation/fluids_notes.pdf
- Famous one by Bridson, authoer of Animating Sand as a Fluid. SUPER GOOD.
* [015]A forward-trajectory global semi-Lagrangian transport scheme
- Detailed documents about semi-Lagrangian method.
* [016](Japanese)
- www.sr3.t.u-tokyo.ac.jp/~matsuo/lecture/09suchi/shiryo8.pdf
* [017]Wavelet Turbulence for Fluid Simulation
- That Wavelet Trubulence one.
* [018]Real-time Fluid Simulations with Wavelet Turbulence
- Student's paper. His professor is the author of Wavelet Trubulence.
* [019]Real-Time Simulation and Rendering of 3D Fluids
- GPU Gems 3 chapter30. Haven't read.
- http://geometry.caltech.edu/~keenan/pdf/rtsr3df.pdf
* [020]Animation and Rendering of Complex Water Surfaces
- Origin of particle level set. Haven't read.
* [021]A Hybrid Particle Level Set Method for Improved Interface Capturing
- Origin of Particle level set. Havne't read.
* [022]Meshless Approximation Methods and Applications in Physics Based Modeling and Animation Bart Adams, Martin Wicke Eurographics 2009 Tutorial(未)
- http://graphics.stanford.edu/~wicke/publications.html
- Like a course note about Meshles. Haven't read.
* [023]FlowFixer?: Using BFECC for Fluid Simulation
- http://www.gvu.gatech.edu/~jarek/papers/FlowFixer.pdf
- Haven't read.
* [024]Fluid Simulation for Computer Animation
- PPT slide when googled "Mark Carlson bfecc". Haven't read.
- www.cc.gatech.edu/~turk/powerpoint_presentations/fluids.ppt
From my note (PRT)
Please let me know if something is wrong.
PRT
* [001]PRT (Japanese)
- http://www.pyramid-inc.net/technical/index.php
- explanation of :http://journal.mycom.co.jp/articles/2006/09/23/cedec4/(Japanese)
* [002]Spherical Harmonic Lighting: The Gritty Details
http://www.research.scea.com/gdc2003/spherical-harmonic-lighting.html
- [001] says read this for docs about SH Rotation.
* [003]All-frequency precomputed radiance transfer using spherical radial basis functions and clustered tensor approximation
- http://www.cis.nctu.edu.tw/~gis91812/
- Tsai, Yu-Ting and Shih, Zen-Chung.
- Proceedings of ACM SIGGRAPH 2006, pp. 967-976, 2006.
- SRBF for PRT. Half read.
* [004]All-Frequency Precomputed Radiance Transfer for Glossy Objects
- Read for [003]. Uses PRT for glossy materials by high compression with a combination of wavelet, CPCA, BRDF factorization
* [005]All Frequency Shadows Using Non linear Wavelet Lighting Approximation
- Read for [003] [004]Uses wavelet for PRT.
* [006]Matrix Radiance Transfer
- Read for [003] [004]. Uses CPCA.
* [007]Interactive Rendering with Arbitrary BRDFs using Separable Approximations
- Read for [004]. BRDF factorization。
* [008]Nonstationary Wavelets on them-Sphere for Scattered Data
- [003] says detailed explanation for SRBF convolution, i.e. spherical sigular integral. Haven't read.
* [009]Triple Product Wavelet Integrals for. All-Frequency Relighting
- [003]Referenced. Came after[005]. Haven't read.
* [010]Is There Anything Comparable to Spherical Harmonics But Simpler?
- http://www.cse.cuhk.edu.hk/~ttwong/papers/srbf/srbf.html
- srbf.pps http://appsrv.cse.cuhk.edu.hk/~ttwong/cgi-bin/paper-download/download.cgi?path=srbf&dl=srbf.pps
- Good document of SRBF for PRT.
- Probabably the base of this is "An RBF-based Image Compression Method for Image-based Rendering" written by the same author. Couldn't find on the web.
* [011]
- Stupid Spherical Harmonics (SH) Tricks
- SH (and PRT?) document by Sloan. Notes on Zonal harmonics.
- Haven't read
* [012]
- Nonstationary Wavelets on the m-Sphere for Scattered Data
- Francis J. Narcowich, Joseph D.Ward
- [003] referenced for spherical functionのconvolution
* [013]
- An Efficient Representation for Irradiance Environment Maps
- For test implementation in Nuke
* [014]
- On the Relationship between Radiance and Irradiance: Determining the illumination from images of a convex Lambertian object
- [013] referenced.
* [100]Hierarchical RBF
- http://en.wikipedia.org/wiki/Hierarchical_RBF
- Looks model generation from a point cloud, haven't read.
* [101]Cinematic Wavelet Lighting
- www.pyramid-inc.net/technical/rd_file/wavelet_jp.pdf(Japanese)
- Pyramid published at CEDEC2004
* [102]Wavelet Lighting(Japanese)
- www.pyramid-inc.net/technical/rd_file/wavelet_jp.pdf
- Comes with [101]
* [200]
- All-Frequency Relighting of Non-Diffuse Objects
- Haven't red, looks famous.
- Simpler than [004], fast
Thursday, September 2, 2010
So what am I doing now (again)
Now I work for Polygon Pictures as a freelancer and working for some big project. It is O.K, I wish if my work could be a little bit more challenging since it's one of the easiest works I've ever done, but working with artists is always fun.
Apart from my work, I'm trying to make something interesting (interesting for CG guys), but I'm not going to tell you what it is since nothing is worth mentioning until you show an image is an unwritten rule all over the CG industry.
Sunday, March 21, 2010
So what am I doing now?
I haven't updated "on topic" issues for quite a long time. Now I'm working as a freelancer at a company which is making a GI renderer and mainly working with 3ds Max (especially with material part of its SDK, that explains why I am NOT a big fan of Max). At home I'm reading siggraph papers, papers, papers. Siggraph papers are like treasure boxes but they are often hard to open, the key of a box is often inside another, and it needs yet another to open ...
Tuesday, January 5, 2010
The Third & The Seventh
Amazing!
A FULL-CG animated piece that tries to illustrate architecture art across a photographic point of view where main subjects
are already-built spaces. Sometimes in an abstract way. Sometimes surreal.
.Fullscreen it, please. (comment by the Author)
The Third & The Seventh from Alex Roman on Vimeo.
Tuesday, December 15, 2009
SIGGRAPH ASIA
The company I'm working for as a freelance is going to exhibit their new GI renderer (at fixstars' booth, E22).
Company web site (Japanese)
CEO/CRO(chief rendering officer) blog (partially English)
CTO blog (Japanese)
fixstars is a company they are working with, which beta released their OpenCL compiler today
And one of my ex-workmate is going to make a presentation (hey Mihai!) about the crowd simulator project we were working on.
Wednesday, July 22, 2009
Evolution Reel
Evolution Reel
From the site:
Most people want to see how a professional animator struggles... well here's the reel for you. A playblast of my progress on a shot at the end of each production day.
From the video:
ICE AGE DAWN OF THE DINOSAURS is property of Fox and Blue Sky Studios
The following is for educational purposes only. The reel demonstrates the entire process of completing a production shot from the rough poses to blocking, splining, and polish. The shot was created working 7 days a week during "crunch." Some days represent 16 hour workdays while others are only 3 hours on a Sunday.
Wednesday, June 24, 2009
Complementary Afterimage
You can see an example of complementary afterimage here (Stare at the black dot in the center of the image for 10 sec and move the mouse pointer over the image). This is a very good one.
You can also find a lot of examples on youtube like this (keep looking at the center of the image)
I was curious if I can "add" those fake colors just like others (e.g. red and green makes yellow).
I made a simple test. I looked at cyan with my left eye and and magenta with my right for 10 seconds. Interestingly enough, I could see a yellow band in between two colors (red and green) when I looked at gray with my both eyes. Now I'm trying to make another test that makes clearer result which proves it, since the band was not easy to see and my preconception may have had it visible (and using left eye and right eye separately is not good for this test).
Thursday, June 18, 2009
One way to control shader parameters
The basic idea is making a shader with which you can control the surface's reflection characteristics by editing its BRDF in the GUI. Simple BRDF has two parameters. By mapping the two parameters to the angle components theta, phi of a polar coordinate, and mapping the reflectance ratio (so not BRDF, strictly speaking. I just used the term BRDF for explanation) to the r components of the polar coordinate, you can make a 3D shape that represents a BRDF (not BRDF strictly ...)
I made a test shader looooong time ago. The shader is assigned to the sphere. By changing the shape of the cobra like surface you can you can control the reflection characteristics of the test shader. It's a just a test so I shot rays from the origin to get r (length from the origin to the hit point) in side the surface shader, still you can edit the reflection characteristics interactively and animate them if you like. The test shader uses surface color too. It'll be better to be able to store the shape data to the file so that we can separate reflection editing and using it.

The usage is limited of course. It is rather a simple reflection, it can control only parameters which are mapped to the surface but it's more intuitive, the user doesn't need to write a code.
Sunday, June 14, 2009
How Will Balloons Look That Lift Your House Up?
There's an interesting article about Disney-Pixar's new movie Up.
How Many Balloons Will Lift Your House Up?
It says,
According to Pixar, Carl's house in the film attains liftoff with about 20,000 balloons. But for the sake of realism, director Pete Docter and his crew wanted to know how many balloons it would take in real life to make the scenario plausible, which came in at 20 million to 30 million.
I just wondered "what if there are 20 million balloons?", and tested it.
Each balloon is r=10cm sphere and the house is 15m x 7.5m x 7.5m.
(Click for bigger image)
Hmmm, I guess just 20000 balloons might possibly look better...
Saturday, February 21, 2009
Monday, January 26, 2009
Blender Architecture
Looks interesting.
http://www.blender.org/development/architecture/
(I haven't read it yet)
Sunday, January 18, 2009
Getting XYZ to/from RGB conversion matrix
This page explains how to get RGB to XYZ conversion matrix. It's written in Japanese but you can see equations.
The page is not copiable so I'll just write several comments. It may help you understand it.
a)
You need x and y value of r, g, b, and w(white point).
(xr, yr, zr), (xg, yg, zg), (xb, yb, zb), (xw, yw, zw) are the (x, y, z) value of r, g, b, and w.
z value can be obtained from x and y (See below).
b)
Sr, Sg, Sb are the variables. You can get the conversion matrix by calculating these values.
c)
X, Y, Z indicates a color including intensity
x, y, z indicates a color excluding intensity, which are
x = X / (X + Y + Z)
y = Y / (X + Y + Z)
z = Z / (X + Y + Z)
x + y + z = 1
Same color with different intensity produces the same (x, y, z) value.
d)
So if you know x, y, and Y,
X = x * (X + Y + Z) = x * Y/y
e)
Like the second equation, if you multiply M and
|1|
R = |0|
|0| ,
|X| |xrSr xgSg xbSb| |1| |xrSr| |xr|
|Y| = MR = |yrSr ygSg ybSb| |0| = |yrSr| = Sr |yr|
|Z| |zrSr zgSg zbSb| |0| |zrSr| |zr|
f)
The author of the page recommends you to use ITU-T BT.709 if you don't know the exact value of (xr, yr, zr), (xg, yg), (xb, yb), (xw, yw) are the (x, y).
ITU-R BT.709
(xw, yw, xr, yr, xg, yg, xb, yb)=(0.3127, 0.3290, 0.64, 0.33, 0.30, 0.60, 0.15, 0.06)
xW and yW are the ones for D65.
The conversion matrix is shown on the page (eq4).
It is not almighty. If the RGB space is not compatible with ITU-T BT.709, the result will include error.
g)
The white point (xw, yw) for a color templature can be calculated with Plank's law (I don't want to calculate it, anybody knows the answer table?).
By converting RGB to XYZ with a (xw, yw) and converting the XYZ to RGB with another (xw, yw), you can convert RGB value for one color templature to another.
Friday, January 9, 2009
3D camera
From this page,
Canesta’s electronic perception technology is a patented, low cost, and practical technology that enables machines and electronic devices to "see" by tracking nearby objects in three dimensions in real time. Using EPT, Canesta CMOS chips emit a field of continuous field of infrared light and measure the time it takes for that light to reflect back to the chip – for every pixel. In real-time, the chip processes those distances to create a three dimensional image of the objects in its field of vision.
and this page,
In a recently-granted U.S. patent, Canesta describes several of its inventions for "timing" the travel time of light to a unique, new class of low-cost sensor chips.
Fundamentally, the chips work in a manner similar to radar, where the distance to remote objects is calculated by measuring the time it takes an electronic burst of radio waves to make the round trip from a transmitting antenna to a reflective object (like a metal airplane) and back. In the case of these chips, however, a burst of unobtrusive light is transmitted instead.