Jump to content
  • Advertisement
Sign in to follow this  
PolarWolf

Gameplay how to extract smooth group data from ASCII fbx file

This topic is 431 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have two ASCII fbx files,they have same vertices and faces,the only difference is their face order,and all faces has the same smooth group 1,this is the smooth data in fbx file,

LayerElementSmoothing: 0 { Version: 102 Name: "" MappingInformationType: "ByPolygon" ReferenceInformationType: "Direct" Smoothing: *584 { a: 1,1,1,1,1,1,1,1,1,1,1,......

but when imported into 3ds max,one mesh's faces's smooth group all are 1 as expected,while the other's faces's smooth group seems random, such as some are 1,some are 2,Why this happens, i can't see any difference between their smooth data in fbx file,it seams that there is no document about ASCII fbx format,i want to know how 3ds max extract smooth group information from ASCII fbx files.

Edited by PolarWolf

Share this post


Link to post
Share on other sites
Advertisement

Meaning of data in a file is known under the name "file format", or "file specification". In your case that ended (for me) at wikipedia https://en.wikipedia.org/wiki/FBX#File_format which lists two URLs describing the format unofficially, which is likely the best you can get given the closed format.

I ihaven't read those URLs, but if it is known, it's likely there. If that description does not describe your 1 and 2s, the only useful remaining source is the owner of the file format, ie AutoDesk which is probably useless to even try.

As a possible alternative, maybe you can export to an open standard file format instead? That solves your problem instantly, as such formats are publically available.

Share this post


Link to post
Share on other sites

I have read those two urls several times when i googled fbx format,they have nothing useful to me. Obviously AutoDesk want to keep fbx format private, i think that's why the fbx sdk provided as dll, so i choose to tangle with vertices positions and uv coordinates only,and this won't cause any problem, thx.

Edited by PolarWolf

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!