CustomExporter Export Very Jagged Mesh for Curved Surfaces?

CustomExporter Export Very Jagged Mesh for Curved Surfaces?

Anonymous
Not applicable
1,096 Views
3 Replies
Message 1 of 4

CustomExporter Export Very Jagged Mesh for Curved Surfaces?

Anonymous
Not applicable

As shown in the screenshots below, when I tried to export a curved surface, the OnPolyMesh method in IExportContext gives very jagged edges. Is there a way to solve this?

Thanks!

 

Screenshot_1.pngScreenshot_2 (2).png

0 Likes
Accepted solutions (1)
1,097 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk
Accepted solution

Not very much you can do, I believe.

 

You should however at least read these two posts:

 

 

I all else fails, you will have to access the real element geometry instead of using the custom exporter.

 

That is normally a lot more work, though.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 4

Anonymous
Not applicable

My solution is to triangulate the face in OnFace method, in this way I can input a LevelOfDetail parameter. However I lose all UV data at the same time. Currently I use Face.Project to approximate a set of UV which is quite unstable.

Thanks for your reply anyway!

Message 4 of 4

Anonymous
Not applicable

I've also tried to set LevelOfDetail property on ViewNode, and it also works.

0 Likes