## Import Json 3D Models and Animations in WebGL with Three.js

When you use 3ds Max to create models with animations, and you need a rapid workflow to load them in WebGL with Three.js, I recommend the following steps: 1. Export Models from 3ds Max By using the Json Exporter you would be abl …
2016-06-26 30 comments

## Vulkan Specification

specs 1.1
2019-02-23 Comments

## CMAA

Conservative Morphological Anti-Aliasing 2.0
2018-10-26 Comments

## Line–plane intersection

Suppose we have a Line: P = P1 + tL and a plane: N • (P - P2) = 0 We can substitute P into the plane equation: N • (P1 + tL - P2) = 0 Solve for t: t = (N • (P2 - P1)) / (N • L) The point of intersection is: P = P1 + ((N • (P2 - …
2017-02-13 Comments

One dimension: $G(x) = \frac{1}{\sqrt{2\pi \sigma^2}} e^{-\frac{x^2}{2\sigma^2}}$ Two dimensions: $G(x, y) = \frac{1}{2\pi \sigma^2} e^{-\frac{x^2 + y^2}{2\sigma^2}}$ This is because: $I(t) = \int_{-t}^{t} e^{-x^2}dx … 2016-10-10 Comments ## TMCache cause a bug in CAT animation and keeps crashing 3ds Max 2017 When skinning with CAT bones, export it to FBX, and reimport to 3ds Max, the animation appears to be broken. The reason for this bug is a new feature TMCache in 3ds Max 2017 is in conflict with CAT rig controllers. This b … 2016-08-16 1 comment ## Dual Quaternion In Clifford algebra all units forms a group, so we can construct a unit dual-quaternion from two quaternions q and t where q is a unit rotation quaternion and t is a pure quaternion representing the translation: \[ d = (1 + \fra … 2016-07-09 5 comments ## Rodrigues’ Rotation Formula We can compute a rotation matrix $$R \in SO(3)$$ from an angle $$\theta$$ and axis $$l$$ (unit vector) \[ R = I + \sin(\theta)C + (1-\cos \theta)C^2$ where $$C$$ is the antisymmetric matrix: $C = \begin{bmatrix} 0 & -l … 2016-07-08 Comments ## Catmull-Rom Spline and Cardinal Spline Basis Functions A Cardinal spline( sometimes called Canonical spline )consists of a sequence of curves. Consider a single Cardinal segment: \[ F(u) = C_0 + uC_1 + u^2C_2 + u^3C_3$ Suppose it starts at $$F(0) = P_i$$ and ends at $$F(1)=P_{i+1} … 2016-06-22 Comments ## Morph Animation Sometimes we need only a subset of the vertices in a mesh to be animated without a full skeleton, such as a set of mouth shapes or face vertices for facial animation. A easy way to do this is using Morph Target Animation. In thi … 2016-06-18 Comments ## Json Animation Format ver 1.1 Example of the Json 3D Format { "animation": { "keyframeAnimations": [ { "name": "Anims_1", "timeline": "seconds", "fps": 30, "animNodes": [ … 2016-04-10 Comments ## Json Model Format Skinned Mesh or SubMesh Format of the Json 3D Format ver 1.1 Example: { "model": { "version": "1.0", "meshes": [ { "name": "subMesh1", "type": "tria … 2016-03-21 Comments ## CryEngine is Now Free and Open Source Crytek has announced that the CryEngine is now available to everyone for free, including the full source code ! The latest version launched today with a “pay-what-you-want” business model and with no obligation to … 2016-03-16 Comments ## Roberts Operator Compared with the Sobel Operator which use 8 points, the Roberts Operator use only 4 points to compute the gradient magnitude. The first order derivative represents the directional derivative: \[ G_x = \begin{bmatrix} -1 & … 2016-03-09 Comments ## Isotropic Sobel Operator This is an improved Sobel operator mainly used in edge detection. It uses 3×3 convolution matrix to compute the gradient in the x-direction (\(G_x$$) and y-direction ($$G_y$$): \[ G_x = \begin{bmatrix} -1 & 0 & 1\\ …
2016-02-19 Comments