Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actuallipsryme

Posted 12 September 2012 - 09:29 AM

@kauna that actually works Posted Image
I'm not sure why as I normalize before passing the normals to the encode function and after I decode them but that normalize and negation seems to be the key. Just negating alone doesn't do the trick. At least for the stereographic projection. Tried the same on the spheremap but didn't work as good unfortunately ;p

Thanks a lot though Posted Image

btw what is it that you're doing different with the algorithm than the version on aras page ?
I see you calculate the stereoscale yourself but there appears to be a few other changes.

Also is it correct to sample the encoded normals bilinear ?

#3lipsryme

Posted 12 September 2012 - 09:23 AM

@kauna that actually works Posted Image
I'm not sure why as I normalize before passing the normals to the encode function and after I decode them but that normalize and negation seems to be the key. Just negating alone doesn't do the trick. At least for the stereographic projection. Tried the same on the spheremap but didn't work as good unfortunately ;p

Thanks a lot though Posted Image

btw what is it that you're doing different with the algorithm than the version on aras page ?
I see you calculate the stereoscale yourself but there appears to be a few other changes.

#2lipsryme

Posted 12 September 2012 - 09:21 AM

@kauna that actually works Posted Image
I'm not sure why as I normalize before passing the normals to the encode function and after I decode them but that normalize and negation seems to be the key. Just negating alone doesn't do the trick. At least for the stereographic projection. Tried the same on the spheremap but didn't work as good unfortunately ;p

Thanks a lot though Posted Image

#1lipsryme

Posted 12 September 2012 - 09:19 AM

@kauna that actually works :P
I'm not sure why as I normalize before passing the normals to the encode function and after I decode them but that normalize and negation seems to be the key. At least for the stereographic projection. Tried the same on the spheremap but didn't work as good unfortunately ;p

Thanks a lot though :)

PARTNERS