We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好, 您在反射一节应用的这个图,里面没有法线信息, 没有办法计算光照吧?您是怎样做的,求解答 谢谢
The text was updated successfully, but these errors were encountered:
sphere.obj确实没有提供法线信息,不过利用ASSIMPL库加载时,使用了参数aiProcess_GenSmoothNormals: const aiScene* sceneObjPtr = importer.ReadFile(filePath, aiProcess_Triangulate | aiProcess_FlipUVs | aiProcess_GenSmoothNormals);
const aiScene* sceneObjPtr = importer.ReadFile(filePath, aiProcess_Triangulate | aiProcess_FlipUVs | aiProcess_GenSmoothNormals);
会重新计算出法向量的。
Sorry, something went wrong.
No branches or pull requests
您好, 您在反射一节应用的这个图,里面没有法线信息, 没有办法计算光照吧?您是怎样做的,求解答 谢谢
The text was updated successfully, but these errors were encountered: