Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 12th August 2003, 09:50 AM   #1
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 3,779
Default important - change to AC3D file format

The next release increments the file format version and makes it 'c'.

This means that the first line of a new .ac file will change from "AC3Db" to AC3Dc". Older files are still compatible.

Objects now have an (optional) crease angle attribute e.g.

Code:
crease 45.0
This indicates that if the angles between two joined surfaces is more than 45 degrees, the edges between the surfaces will be drawn with a crease.

Valid crease angles are 0.0 to 180.0 degrees.

Setting a surface to flat-shaded forces it always to be drawn flat.

The default crease-angle in AC3D is currently 45 degrees.

Comments welcome.
Andy is offline   Reply With Quote
Old 13th August 2003, 06:37 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 3,779
Default Re: important - change to AC3D file format

Since incrementing the AC3D file version in the header causes older versions of AC3D to reject the file AND the fact that adding just the crease line doesn't force rejection (older versions will simply print 'ignoring crease') - I have decided to not increment the file version.

This means that new files will still have AC3Db as the header, and objects may have the crease attribute.

If you have written an AC3D file loader correctly, this should not cause problems.

Andy
Andy is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 10:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
(C) Inivis Limited 2014