ofer Posted July 12, 2008 Share Posted July 12, 2008 Hi, I am trying to implement some ideas from the skin rendering article in GPU gems 3. I began with the specular BRDF model. I implemented it in VOPs, but the results are wierd. I can't get it to work, and I can't find the problem. I think maybe Im normalizing vectors which I shouldn't. Maybe there are some mistakes in the code listings, I don't know. If I won't find the problem I'll go to the referenced articles, and check that, but I'll probably won't understand them. I attached my hip file. Notice the weird issue with the normals. I have to flip them for rendering, but in the viewport I must not flip them. And also, I implemented the PHBeckmann function in COPs, to generate the lookup texture, the article describes. I don't use the texture in the shader, but I just wanted to see if I get the same results as the texture in the book, and I do. So if anyone cares to take a look at that, I will be very grateful. Thanks. KSSpec.hipnc Quote Link to comment Share on other sites More sharing options...
ofer Posted July 12, 2008 Author Share Posted July 12, 2008 Sorry, I can't upload the geometry file. It says - "Upload failed. You are not permitted to upload this type of file" Ill try again later. Quote Link to comment Share on other sites More sharing options...
ofer Posted July 13, 2008 Author Share Posted July 13, 2008 I cannot upload geometry files. I made some progress though. I realized the eye vector is from camera to surface, and that I should negate it when computing products with other vectors. I also replaced the fresnel approximation with the fresnel VOP (The results are the same). So now I think it works, but very dark. If I use their value for rho_s (0.18), I see nothing. I set it to at least 1. So maybe I still has a mistake somewhere. Quote Link to comment Share on other sites More sharing options...
Jason Posted July 13, 2008 Share Posted July 13, 2008 Sorry, I can't upload the geometry file. It says -"Upload failed. You are not permitted to upload this type of file" Ill try again later. Could you try zipping them first? Quote Link to comment Share on other sites More sharing options...
ofer Posted July 14, 2008 Author Share Posted July 14, 2008 Good idea. Im used to systems that scan inside zips, so I didn't consider it face.bgeo.zip Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.