You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
result of importing exr is a plane
To Reproduce
Steps to reproduce the behavior:
1,export houdini heightfield to 16bit floating exr file,
2,Select exr file in godot_heightmap_plugin,
3,Click import in godot_heightmap_plugin,and the result is a plane.
Screenshots
open in krita and can see the channels:
and in plugin the result is just a plane
The importer assumes that EXR files use real height range. Your EXR file uses 16-bit floats but they are all within the [0..1] range, so it will look almost flat throughout the terrain.
This could be fixed by allowing to specify a remapping height in the importer, which is an option only available with raw import at the moment.
Another workaround is to use the map_scale property of the terrain node and increase Y a lot, however I never tested it on very large scales, and it might look bad because normals are computed from the source heightmap and will lack precision due to the super-low slope frequency in [0..1].
The importer assumes that EXR files use real height range. Your EXR file uses 16-bit floats but they are all within the [0..1] range, so it will look almost flat throughout the terrain.
This could be fixed by allowing to specify a remapping height in the importer, which is an option only available with raw import at the moment.
Another workaround is to use the map_scale property of the terrain node and increase Y a lot, however I never tested it on very large scales, and it might look bad because normals are computed from the source heightmap and will lack precision due to the super-low slope frequency in [0..1].
Thank you! @Zylann it looks good if not select the autoremap 0-1 in Houdini
i thought range 0-1 should be exported then the plugin will remap to min-max height,a llittle bit misunderstanding haha.
Describe the bug
result of importing exr is a plane
To Reproduce
Steps to reproduce the behavior:
1,export houdini heightfield to 16bit floating exr file,
2,Select exr file in godot_heightmap_plugin,
3,Click import in godot_heightmap_plugin,and the result is a plane.
Screenshots
open in krita and can see the channels:
and in plugin the result is just a plane
Environment
attachment: height.zip
The text was updated successfully, but these errors were encountered: