godot_heightmap_module icon indicating copy to clipboard operation
godot_heightmap_module copied to clipboard

Disallow use of TRES format / save in a different way

Open jospic opened this issue 8 years ago • 7 comments

Hi, I'm not an expert, maybe I'm making some mistakes, but why the terrain not rendered during project execution?

In the editor is visible... editor

but not when playing project... run

Thanks in advance. -j

jospic avatar Aug 16 '17 09:08 jospic

Any errors in the console? Did you write a custom shader?

Zylann avatar Aug 16 '17 09:08 Zylann

I'm not use a custom shader...I don't know shader language so good This is console output:

console

There are three error in debug panel, but I do not know if they are related to the problem

debug

jospic avatar Aug 16 '17 09:08 jospic

They look unrelated. I'd need to test myself, something stupid might be going on

Zylann avatar Aug 16 '17 11:08 Zylann

It works fine for me:

image

Could you provide an example project reproducing the bug?

Zylann avatar Aug 16 '17 19:08 Zylann

Yes, this simple project DON'T work for me:

https://github.com/jospic/heightmap_test

I'm using a Godot 3 alpha older version of 4/5 days ago...But I could do a test with the last one. Could be a graphics card issue? Or rendering preset? Thanks in advance. -j

jospic avatar Aug 17 '17 07:08 jospic

You didn't create a file for the heightmap. This is a usability issue, they just don't work otherwise. Basically, just like you would not create Textures directly in the scene, you can't create a HeightMapData embedded in the scene, it needs to be saved in a .heightmap resource file (go to edit HeightMapData, click the save icon, then save to file). Also, even if you could, the .tscn format is highly suboptimal to store such data^^"

Zylann avatar Aug 17 '17 09:08 Zylann

Very well, it works! Many thanks, maybe, when you have time, you will do a short tutorial for beginners like me. -j

jospic avatar Aug 17 '17 18:08 jospic