It’s been a minute I posted here. It sucks feeling stuck at once place professionally. I hope I’m not the only one, I really hope😅🤞. That being said, I have decided to invest time in a new skill. I have decided to begin a journey into 3D development! Wish me luck guys!
Day 8 of 3D Dev
Learnt more on lighting especially helpers. All lightings have helpers that guides you to see the direction and position of the lights.
My mistake when learning:
I forgot to add them to the scene😅
Day 7 of 3D Dev
Today I focused on lighting. In the video accompanied with this post, I used very common lighting systems in threejs.
DirectionalLight
PointLight
AmbientLight
SpotLight
RectAreaLight
HemisphereLight.
Day 6 of 3D Dev
I digged deeper from yesterday. I used a matcap as a texture for the font and all tori (donuts).
I used Math.random() to create randomness for all tori.
For the font parameters, I obtained those values through trial and error😅.
Day 5 of 3D Dev
I started exploring Text Geometry. The TextGeometry and FontLoader classes are imported from addons unlike previous versions. I also downloaded the font from the threejs github repo.
Time to dig deep!
Day 4 of 3D Dev (Continuation)
Environment maps are really cool. So basically, threejs currently supports cubeTextureLoader which needs 6 image files to create an environment map. It follows a very strict order (px, nx,..., pz, nz).
Day 4 of 3D Dev (Continuation)
Using a height / displacement map can be a mess in the beginning 😅. But it is fixable and pretty useful. First you need more vertices by adding subdivisions and reducing the displacement scale. I added other texture maps to get the final result.
Day 4 of 3D Dev
I took a better look at the ambient occlusion texture map. I think it darkens technically darkens areas where ambient light is obstructed.
To apply an ambient occlusion map, you need to first set a new uv2 attribute and copy the geometry's existing uv attribute.
Day 4 of 3D Dev
I took a better look at the ambient occlusion texture map. I think it darkens technically darkens areas where ambient light is obstructed.
To apply an ambient occlusion map, you need to first set a new uv2 attribute and copy the geometry's existing uv attribute.
Day 3 of 3D Dev
I went deeper into textures and learnt about materials.
I learnt about different texture maps namely: color, metalness, roughness, ambient occlusion, normal, alpha, and height.
In threejs, textures can be used with materials and some materials need lighting.
Day 2 of 3D Dev
I just got to textures. That was a tough one to get my head around the basics. So basically, a texture is an image (or other image-like data) that you apply to the surface of a 3D object to give it visual detail.
I tried using a wooden texture for the box 😅
Day 1 of 3D Dev (Continuation) window.requestAnimationFrame()
The method above is actually powerful. This method allows us to schedule a function to execute before the browser's next repaint. Through that we can create cool animations in our 3D scene.
Day 1 of 3D Dev
A 3D experience needs:
1. A scene - this includes a camera, an object and a renderer.
2. An object - this includes a geometry and a material (normally specifies color)
3. A camera - more on this later
4. A renderer - this renders a scene to get an experience
Day 1 of 3D Dev (Continuation)
On Cameras, the camera determines what part of the 3D world you see and how the world is projected on a 2D plane.
There are many types but I focused on the perspective Camera from my previous post.
By the way, I am using threejs!
Day 1 of 3D Dev
A 3D experience needs:
1. A scene - this includes a camera, an object and a renderer.
2. An object - this includes a geometry and a material (normally specifies color)
3. A camera - more on this later
4. A renderer - this renders a scene to get an experience
Day 1 of 3D Dev
A 3D experience needs:
1. A scene - this includes a camera, an object and a renderer.
2. An object - this includes a geometry and a material (normally specifies color)
3. A camera - more on this later
4. A renderer - this renders a scene to get an experience