-
-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving terrain around #62
Comments
This may be done at some point, but currently it's low priority. It requires thorough reading of every bit of logic taking assumption about world coordinates to add proper conversions into local coords. |
So It's more than transforming the meshes + collision and the viewer position + heading. also, what are the current priorities? |
You can move voxels around, just not the whole node. Look in the dmc_test demo for an example. But you might need to change get_stats() to get_statistics() if it complains. Hasn't been updated yet. Though I can't speak to @Zylann 's priorities, I can say he's currently working on VoxelLodTerrain infinite paging, as well as bug fixes or compiling issues as they are reported. I think next steps we've chatted about might include getting VLT to support editability, so he can refactor VT to be blocky only and VLT to be smooth only. |
Thanks |
Maybe. If you increase the movement size in the demo, it moves quickly. I'm curious as to what the performance actually looks like with more objects. It might be faster than you think, especially if your code is implemented in C++. I'm curious about tying a voxel to a physics body. Zylann has added #33 to the future queue and this might be a simpler node that could be moved around more easily by script or maybe the physics engine.
Zylann will have to answer. |
Supporting multiple materials in smooth terrain is a bit trickier than blocky. Blocky is litterally batching pre-made models with sharp corners so it makes sense to provide multimaterials. Smooth terrain on the other hand is watertight and continuous, so the same problem arise as for heightmap terrain, requiring a different approach like triplanar mapping (like demos do currently) and texture arrays/splatmapping. It's possible to have multimaterials the same ways blocky does but it won't have any smooth transition, or require some sort of deferred shading which Godot doesn't support. If you need to discuss more about texturing smooth terrain or physics, it would be better to do so in another issue. |
Ok, Thanks for the response |
The very latest commits (as of 85bb3d7) include the ability to move, scale and rotate both terrain types. |
Currently, it's not possible to move the terrains (both normal and lod) around in the scene.
for static terrain, this may not be necessary, but it could be useful in some cases.
The text was updated successfully, but these errors were encountered: