开发者

3ds rendering problem

开发者 https://www.devze.com 2022-12-16 22:28 出处:网络
I\'m trying to load a 3ds file using TAO framework, and I fin开发者_JS百科ally found a 3ds loader that is written in C#.

I'm trying to load a 3ds file using TAO framework, and I fin开发者_JS百科ally found a 3ds loader that is written in C#. The loader works fine when I call the rendering Method after setting the matrix as GL_PROJECTION. But when I try to draw the object after setting GL_MODELVIEW matrix, it turns white .. and the colors can slightly appear in the shaded parts ..

lighting is enabled .. and light posotion is set using glLightfv correctly

I have searched for a ages .. but I found nothing :(

could it be a problem with rendering the 3ds model itself ??


Maybe model has some problems with textures, it does not find it in the specified directory

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号