One of the most exciting projects is adding HDRI backgrounds in Three js. HDRI images are captured in 360 degrees from scenes such as interiors of rooms or open environments such as gardens, jungles or mountains. You can create any of these images yourself, but that’s not the topic of this tutorial. Instead, we’ll take […]
Tag: textures
Use a custom view to draw a seekbar with flexible textures
Is Android’s native seekbar too difficult to use? Customized views will solve your worries! The benefits of customizing seekbar are as follows: You can freely set the foreground, background and slider of the progress bar You can set the aspect ratio of each progress bar Vertical progress bar can be set Effect The UI gives […]
Find textures with only a single color in Unity project
How to use Just create a folder called Editor in the Project window and add this script there. Then, open Window – Monochrome Texture Detector and click Refresh. You may ask, why do I need this? Some textures can be 1024×1024 or larger and contain only a single color (many art assets on the Asset […]
Generate 4K PBR textures with stable diffusion [SDXL]
I’m continuing the work I started last year using Three.JS to build 3D scenes and sketches. At the time, AI image generators like DALL-E and Stable Diffusion were just really taking off. I successfully ran Stable Diffusion locally and used it to generate textures for terrain, buildings, and other environments in a 3D world I […]
SFML2.6 graphics module–sprites and textures
Glossary Most, if not all, of you are already familiar with these two very common objects, so let’s briefly define them. Textures are pictures. But we call it a “texture” because it has a very specific purpose: to be mapped onto a 2D entity. Sprites are nothing but textured rectangles. Okay, that’s short, but if […]
Three.js–“The use of model materials and textures
Directory Getting to Know Materials and Textures Modify model material color Add texture to the model Texture Common Properties Use texture display algorithm set roughness Texture loading progress Set environment map First knowledge of materials and textures The material in three.js is the material on the surface of the geometry. All materials inherit from Material. […]
OpenGL uses FBO and PBO uplink textures (YUYV)
This article records the use of frame buffer (FBO) and pixel buffer (PBO) in OpenGL to upload video frame data (YUYV), and finally render and display it. In the previous article, the process of rendering YUV420 and YUYV was introduced, but the default frame buffer is used, that is, a GLFW window with the same […]