cpetry / NormalMap-Online

NormalMap Generator Online

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specular, AO and Displacement are not working

psdwizzard opened this issue · comments

They don't seem to preview when I open the index site. When I download them and open them, they are just empty pngs at 300x150. I have restarted just to make sure it's not on me. I have also tried it on another computer as well with the same results.

commented

Well that's an easy issue:

You are trying to use normal map online on your local PC without a server. This does not work. I think this is due to accessing files that are located relatively on the webpage. Not sure anymore about the details.

Just create a local http Python server or try something from within vscode to test. Otherwise just use the online version on GitHub pages

Ill give the local http Python server a try. I have a big batch of these to do and I was getting odd errors last night on the web-based version and did not want hog public resources.

commented

This page is running completely on your machine only. The browser just fetches the files (images, JavaScript, shaders) and your PC itself runs the application.
No problem there.

commented

In case you have security concerns of your files I can assure you that my code does not try to steal or send anything anywhere. What's yours is yours and also the created content stays yours.
Assumed that you have usage rights 😉

I got it running at home with a python server. it was not a security issues I just had 100s of these and I did not want to clog a system for everyone or get kick. Now I just need to see if I can get batch working. it just keeps giving me the same set over and over.