284 karma · joined August 10, 2010
For instance, if you had a rocket with a fixed delta-V and it used all of its energy almost instantaneously, say it escapes from Earth. But if you lower its thrust so that it is not accelerating upward (lower than the force of gravity), it could use the same delta-V without leaving the ground.
I'll probably need to add this one to the list!
Firefox might upgrade this sometime, but Aurora (Firefox 32) still uses Direct3D 9.
Fresnel reflectance is based off of http://mathinfo.univ-reims.fr/IMG/pdf/Combined_rendering_of_..., although I'm not doing any spectral or polarization-dependent code right now (I wanted to leave that open, and it allows accurate metal simulation).
I tinkered with a blend of some pseudorandomness functions until getting something that worked.
https://www.siggraph.org/education/materials/HyperGraph/rayt... was used for ray-box intersection.
The distance function experiment for the drinking glass is based off of the concept of http://www.iquilezles.org/www/articles/distfunctions/distfun... (like raymarching, includes normal computation).
I consulted http://madebyevan.com/webgl-path-tracing/ to see the best way to do accumulation (and made some realism fixes in https://github.com/jonathanolson/webgl-path-tracing, see https://github.com/evanw/webgl-path-tracing/pull/1 for details).
Many other things can be pulled from online or from books like http://www.amazon.com/Game-Engine-Design-Interactive-Technol....
Please let me know if you have any questions, (see my email at http://jonathan-olson.com/about), and please feel free to use my code however you like (things I wrote are MIT, but I use CC-by and CC-by-non-commercial HDR images).
It's a bit trickier due to restrictions in WebGL (OpenGL ES based) compared to the desktop (e.g. no bitwise operators makes it a pain to get randomness that doesn't bias the result), but it's basically the same.
I heavily agree with painting artwork on them. A few blocks away, there is a painted electrical box that I have become quite attached to.
I look forward to seeing what other performance optimizations I may be missing!
It seems like parents ignoring warning labels on an item not marketed towards children is the main issue (I wouldn't necessarily say the magnets were less dangerous either).
CLI in contrast can modify things, not just give you back information.
For the 1st question, you are drawing only from families with boys (excludes families with 2 girls). Only a 1/3rd of picked families would have two boys, so 2/3rds have the girl as the other child.
For the 2nd question, if you are asking about whether Joseph's sibling is a girl, I think more information is needed.
How is the child named Joseph picked? If we assume that a random boy (regardless of family) is chosen to be named Joseph, 1/2 of boys have male siblings and 1/2 have female siblings (the boy-boy situation is double-counted if choosing a random boy), so it would be 1/2.
If we named Joseph by choosing a family with at least one boy and naming one of their boys "Joseph" randomly, you get the same 2/3rds as the 1st problem.
"If a company really does need to perform extensive validation and verification of its software, perhaps using a browser to deliver that software just isn't appropriate."