Conan (on Windows)
conan search <name> -r conan-center
What I liked :
- easy install through python's pip
What I don't like :
error: ISO C++ prohibits anonymous structs [-Werror=pedantic]
BufferGeometry, does not flip faces indices when applying a matrix that flips normals (determinant < 0).
Based on my looking at ThreeJS
r115dev source code, while trying to figure out how to
customize the lighting by writing my own shader.
ThreeJS has the following
Material classes :
MeshBasicMaterial, not affected by lights
MeshLambertMaterial: lighting is computed at each vertex, for diffuse lighting, and interpolated in gouraud like fashion
Once more, I'm struggling to wrap my head around the threejs API, here are my notes.
IMPORTANT base on threejs
API topics covered :
|Once more, I'm struggling to wrap my head around the threejs API, here are my notes.|
|> **IMPORTANT** base on threejs `r114` (march 2020)|
|API topics covered :|
|* Scene and Object3D, hierarchy, transforms|
|* Maths, linear algebra|
|* DirectionalLight, as I'm currently trying to understand how to attach one of them to a Camera...|
To export ambient occlusion textures, one have to use a
glTF Settings node group, which can be created by script :
I've been looking at the current
master source code, not a specific version : github commit b3ce68b4 on sept. 2019.
Raycaster instance is constructed given a ray (origin point + direction vector) and a range on this ray (near, far distances), and offers the following API :
intersectObject( object, recursive, optionalTarget ) : Array