Skip to content
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

texture loading changing format #47

Closed
eliyam32 opened this issue Feb 5, 2018 · 4 comments
Closed

texture loading changing format #47

eliyam32 opened this issue Feb 5, 2018 · 4 comments

Comments

@eliyam32
Copy link

eliyam32 commented Feb 5, 2018

Hi,
In the terrain benchmark, you are using jpg files : terrain - *.jpg
which are not up to date, so instead I tried to convert them to pngs , but they are not rendered correctly.

any advice on how to render the terrain correctly with png textures ?

@afrantzis
Copy link
Contributor

afrantzis commented Feb 5, 2018

Hi, have you removed the jpg versions from the data directory? If not, glmark2 may end up choosing a mix of png and jpg files for the textures (depending on the inode order in the directory). This would not be an issue normally, but since you seem to have an issue with jpegs, this mix could cause problems.

If the above doesn't fix the issue, could you please upload a screenshot of what you get? FWIW, I did a quick check converting all terrain jpgs to pngs, removed terrain jpgs from data/, and all seems to work fine for me.

@afrantzis
Copy link
Contributor

Also, please make sure that glmark2 is using the correct path for the data directory. You can set it at ./waf configure time using the "--data-path=absolute-data-path" flag.

@eliyam32
Copy link
Author

eliyam32 commented Feb 6, 2018

Hi,

have you removed the jpg versions from the data directory?

Yes, exactly for the reason you mentioned.

FWIW, I did a quick check converting all terrain jpgs to pngs, removed terrain jpgs from data/, and all seems to work fine for me.

Great!
do you mind uploading the converted files ?

could you please upload a screenshot of what you get?

see attached

media-20180206

@afrantzis
Copy link
Contributor

Sure, here are the converted files:

terrain-backgrounddetailed6
terrain-grasslight-512
terrain-grasslight-512-nm

Not sure what I am seeing in the screenshot you attached. Is this the terrain grass somehow rendered blue, or ...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants