Jump to content
  • Advertisement

I have a problem with rendering FBX with D3D12

Recommended Posts

Hi guys
I'm trying to render an FBX file with D3D12
In FBXSample, GetControlPointsCount () gets the correct count, but my program doesn't get the correct value.

Of course too GetPolygonCount () can't get correctly.

Is there any way to solve this problem?


image.png.dbca17cbe7a355eac183ac8201459ce0.png-fbxsdk sample

image.png.2230f320f2332168aeb231938e05cde7.png-in my program



image.png.b67fc0b4641eb6488a933403fd2e832e.png-original model

image.png.eca663156f3216566a7e1e8925b23ae2.png-in my program

Share this post

Link to post
Share on other sites

I solved it. I didn't triangulate.

    FbxGeometryConverter converter(mManager);
    converter.Triangulate(mScene, true);


Edited by ShinJS

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!