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

How did you create .mask.tga? #2

Open
garimss opened this issue Jul 15, 2019 · 0 comments
Open

How did you create .mask.tga? #2

garimss opened this issue Jul 15, 2019 · 0 comments

Comments

@garimss
Copy link

garimss commented Jul 15, 2019

Hi,

I am getting error with .mask.tga.

I tried to create .mask.tga manually and I got this error. Please suggest. Thanks

Attempted to access mask(341,241); index out of bounds because size(mask)=[340,512].

Error in compute_heightMap (line 41)
if mask(h+1, w) % check if down neighbor is in bound

Error in run_ps (line 43)
Z = compute_heightMap(N, mask);

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

1 participant