Exported FBX displays no normals in unity

微信图片_20240310170618.png (42.0 KB)

微信图片_20240310170746.png (7.1 KB)

微信图片_20240310171525.png (3.1 KB)

微信图片_20240310171530.png (42.2 KB)
Can you tell me how to convert geometric information correctly?
tofbx.zip (16.4 KB)

@verhouse
You need to create normal data manually, example code:

            var normal = PolygonModifier.GenerateNormal(mesh);
            mesh.AddElement(normal);
1 Like

I tried what you said, but it didn’t work. I also tried to extract the normal that came with rvt, and it didn’t work.
image.png (15.0 KB)

image.png (42.8 KB)

image.png (1.9 KB)

e1922e16189e539f0736c495303e2ec.png (104.0 KB)

e998d7843cfdfe38e6064aa2d70c89d.png (221.3 KB)

This is the best result I have exported so far, but there is always a part of the triangle mesh that is wrong

@verhouse
Is it possible to offer us a sample FBX file with the same issue so we can investigate it in our side?

Thanks.

https://drive.google.com/drive/folders/1CeiBH7oKhcPH-CDLb-mcDp0FAlKh7CP5?usp=drive_link
Of course, I uploaded FBX file and RVT file, thank you for your help

@verhouse
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): THREEDNET-1513

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Thank you, and I will keep testing to find out what the problem is. I have a feeling that it may be related to the Revit method node.GetFacets. I test it. I draw a wall in Revit and I test the values of each Facet. The result is a Facet that contains two triangular faces, I don’t know if it will have anything to do with that, but I want to help you.
image.png (4.6 KB)
image.png (11.3 KB)

@verhouse

We have recorded your provided information along with the ticket and will surely inform you once some progress is made regarding its resolution. Please spare us some time.

Thank you very much :rose:

Now I can successfully generate the triangle mesh. After rearranging the api of Autodesk Rvt, I adjusted the position of mesh and node to successfully generate the triangle mesh. Thank you for your patience to answer the question for me before
10ff737ddd8d87da939895228aa5ef8.jpg (114.6 KB)
cf7c8537db1f649366a4fecde5e0372.png (110.1 KB)
efca50f5c1a60a36be1dee5b48580da.png (71.3 KB)

1 Like

@verhouse
Glad to hear that the issue has been resolved. Feel free to reach out if you have any further questions.