Skip to content
This repository has been archived by the owner on May 22, 2020. It is now read-only.

Disallow use of TRES format / save in a different way #6

Open
jospic opened this issue Aug 16, 2017 · 7 comments
Open

Disallow use of TRES format / save in a different way #6

jospic opened this issue Aug 16, 2017 · 7 comments

Comments

@jospic
Copy link

jospic commented Aug 16, 2017

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

@Zylann
Copy link
Owner

Zylann commented Aug 16, 2017

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

@jospic
Copy link
Author

jospic commented Aug 16, 2017

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

@Zylann
Copy link
Owner

Zylann commented Aug 16, 2017

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

@Zylann
Copy link
Owner

Zylann commented Aug 16, 2017

It works fine for me:

image

Could you provide an example project reproducing the bug?

@jospic
Copy link
Author

jospic commented Aug 17, 2017

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

@Zylann
Copy link
Owner

Zylann commented Aug 17, 2017

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^^"

@jospic
Copy link
Author

jospic commented Aug 17, 2017

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

@Zylann Zylann changed the title Heightmap not render on execution Disallow use of TRES format / save in a different way Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants