Replies: 2 comments 2 replies
-
Hi. I think what you want is to apply a texture transform, so actually use |
Beta Was this translation helpful? Give feedback.
-
Thank you asny! Sorry, yes of course I used While we are on the subject of Terrain, I saw this simple way to have varying terrain and paths by using four textures simultaneously, and then a fifth master-texture that controls how much of each texture should be visible. What do you think about that technique? I could contribute to the project by adding this technique if you want, but since I'm a total noob here I would be nice to hear your comment, and perhaps also some help to indicate exactly where (in which files) this should be added. |
Beta Was this translation helpful? Give feedback.
-
Hello, thank you for providing three-d. I'm a Rust beginner evaluating three-d + egui for a new project with desktop as target platform. The Terrain object would be very useful for me, but I cannot figure out how to scale the texture. I want to use a detailed, irregular, texture that spans a large area before it repeats itself. If I, instead of Terrain use
Gm::new(CpuMesh::square(), ...)
I can get the effect I want with.geometry.set_transformation(Mat4::from_scale(100.0))
but I cannot figure out how to do the equivalent with a Terrain object. I have tried different values of thevertex_distance
parameter, but I cannot understand what effect that has.Beta Was this translation helpful? Give feedback.
All reactions