Discussion:
Papervision and reducing DAE filesize
DrColinL
2011-01-11 02:13:59 UTC
Permalink
I have noticed that the DAE files contain a lot of data and I strongly
suspect not all of it may be required. Our scene in Papervision does not
use any lighting (faked with texturing) and, for example, there appears to
be lighting information in the DAE file. Does anyone have any experience or
tips on what you can ditch from a DAE file safely? Obviously being able to
remove the large geometry lists of X,Y,Z values would be of interest.

The files were exported from 3DStudioMax 2009.

Regards,

Colin
--
View this message in context: http://papervision3d.758870.n4.nabble.com/Papervision-and-reducing-DAE-filesize-tp3208370p3208370.html
Sent from the Papervision3D mailing list archive at Nabble.com.
John Grden
2011-01-11 02:53:20 UTC
Permalink
Like Jason pointed out with Blender, there is an export script for 3ds to give you an AS3 file that represents your model like a DAE object would after parsing. This obviously removes unwanted bloat you get with an XML file.

Just do a search for paper vision AS3 3d studio script and you should be able to find it

Sent from my iPad
Post by DrColinL
I have noticed that the DAE files contain a lot of data and I strongly
suspect not all of it may be required. Our scene in Papervision does not
use any lighting (faked with texturing) and, for example, there appears to
be lighting information in the DAE file. Does anyone have any experience or
tips on what you can ditch from a DAE file safely? Obviously being able to
remove the large geometry lists of X,Y,Z values would be of interest.
The files were exported from 3DStudioMax 2009.
Regards,
Colin
--
View this message in context: http://papervision3d.758870.n4.nabble.com/Papervision-and-reducing-DAE-filesize-tp3208370p3208370.html
Sent from the Papervision3D mailing list archive at Nabble.com.
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Merrill, Jason
2011-01-11 03:09:08 UTC
Permalink
Here's the link to the AS3 export script for Blender - one of them is for Papervision 2.0:

http://www.rozengain.com/blog/2008/01/02/export-your-blender-objects-straight-to-away3d-papervision3d-and-sandy/


Jason Merrill
Instructional Technology Architect
Bank of America Global Learning





_______________________


-----Original Message-----
From: papervision3d-bounces-***@public.gmane.org [mailto:papervision3d-bounces-***@public.gmane.org] On Behalf Of John Grden
Sent: Monday, January 10, 2011 9:53 PM
To: papervision3d-***@public.gmane.org
Subject: Re: [Papervision3D] Papervision and reducing DAE filesize

Like Jason pointed out with Blender, there is an export script for 3ds to give you an AS3 file that represents your model like a DAE object would after parsing. This obviously removes unwanted bloat you get with an XML file.

Just do a search for paper vision AS3 3d studio script and you should be able to find it

Sent from my iPad
Post by DrColinL
I have noticed that the DAE files contain a lot of data and I strongly
suspect not all of it may be required. Our scene in Papervision does
not use any lighting (faked with texturing) and, for example, there
appears to be lighting information in the DAE file. Does anyone have
any experience or tips on what you can ditch from a DAE file safely?
Obviously being able to remove the large geometry lists of X,Y,Z values would be of interest.
The files were exported from 3DStudioMax 2009.
Regards,
Colin
--
http://papervision3d.758870.n4.nabble.com/Papervision-and-reducing-DAE
-filesize-tp3208370p3208370.html Sent from the Papervision3D mailing
list archive at Nabble.com.
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
_______________________________________________
Papervision3D mailing list
Papervision3D-***@public.gmane.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses.

References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link:
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.
Dr. C Layfield
2011-01-11 18:23:55 UTC
Permalink
Thanks for the tips everyone.

We've tried the export scripts posted on our DAE files (and also 3ds files) and have found that no geometry information is exported into the AS3 file (no numerical values are present). It seems to work with some objects (classic teapot for example) but not ours. Any idea why this may be the case?

We also tried using 3ds files directly in lieu of DAE files due to the difference in file size (binary file versus verbose text) and the initial constructor object causes an error as it does not know what the member _textureExtensionReplacements is. It's not even close to be ale to load this.

Regards,

Colin
Post by Merrill, Jason
http://www.rozengain.com/blog/2008/01/02/export-your-blender-objects-straight-to-away3d-papervision3d-and-sandy/
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
_______________________
-----Original Message-----
Sent: Monday, January 10, 2011 9:53 PM
Subject: Re: [Papervision3D] Papervision and reducing DAE filesize
Like Jason pointed out with Blender, there is an export script for 3ds to give you an AS3 file that represents your model like a DAE object would after parsing. This obviously removes unwanted bloat you get with an XML file.
Just do a search for paper vision AS3 3d studio script and you should be able to find it
Sent from my iPad
Post by DrColinL
I have noticed that the DAE files contain a lot of data and I strongly
suspect not all of it may be required. Our scene in Papervision does
not use any lighting (faked with texturing) and, for example, there
appears to be lighting information in the DAE file. Does anyone have
any experience or tips on what you can ditch from a DAE file safely?
Obviously being able to remove the large geometry lists of X,Y,Z values would be of interest.
The files were exported from 3DStudioMax 2009.
Regards,
Colin
--
http://papervision3d.758870.n4.nabble.com/Papervision-and-reducing-DAE
-filesize-tp3208370p3208370.html Sent from the Papervision3D mailing
list archive at Nabble.com.
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses.
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Merrill, Jason
2011-01-11 18:31:33 UTC
Permalink
No idea - the AS3 Blender export scripts worked for me, but those were from models made in Blender.

Jason Merrill
Instructional Technology Architect
Bank of America Global Learning





_______________________


-----Original Message-----
From: papervision3d-bounces-***@public.gmane.org [mailto:papervision3d-bounces-***@public.gmane.org] On Behalf Of Dr. C Layfield
Sent: Tuesday, January 11, 2011 1:24 PM
To: papervision3d-***@public.gmane.org
Subject: Re: [Papervision3D] Papervision and reducing DAE filesize

Thanks for the tips everyone.

We've tried the export scripts posted on our DAE files (and also 3ds files) and have found that no geometry information is exported into the AS3 file (no numerical values are present). It seems to work with some objects (classic teapot for example) but not ours. Any idea why this may be the case?

We also tried using 3ds files directly in lieu of DAE files due to the difference in file size (binary file versus verbose text) and the initial constructor object causes an error as it does not know what the member _textureExtensionReplacements is. It's not even close to be ale to load this.

Regards,

Colin
Post by Merrill, Jason
http://www.rozengain.com/blog/2008/01/02/export-your-blender-objects-s
traight-to-away3d-papervision3d-and-sandy/
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
_______________________
-----Original Message-----
Sent: Monday, January 10, 2011 9:53 PM
Subject: Re: [Papervision3D] Papervision and reducing DAE filesize
Like Jason pointed out with Blender, there is an export script for 3ds to give you an AS3 file that represents your model like a DAE object would after parsing. This obviously removes unwanted bloat you get with an XML file.
Just do a search for paper vision AS3 3d studio script and you should be able to find it
Sent from my iPad
Post by DrColinL
I have noticed that the DAE files contain a lot of data and I
strongly suspect not all of it may be required. Our scene in
Papervision does not use any lighting (faked with texturing) and, for
example, there appears to be lighting information in the DAE file.
Does anyone have any experience or tips on what you can ditch from a DAE file safely?
Obviously being able to remove the large geometry lists of X,Y,Z values would be of interest.
The files were exported from 3DStudioMax 2009.
Regards,
Colin
--
http://papervision3d.758870.n4.nabble.com/Papervision-and-reducing-DA
E -filesize-tp3208370p3208370.html Sent from the Papervision3D
mailing list archive at Nabble.com.
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses.
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
_______________________________________________
Papervision3D mailing list
Papervision3D-***@public.gmane.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses.

References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link:
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.
Merrill, Jason
2011-01-11 18:33:23 UTC
Permalink
Also, you may want to look at switching to a different library like Away3D or Alternativa3d. Papervision is no longer being developed and as far as I know, because of that, there are no plans to make it compatible with the new 3d APIs coming in the Flash player this summer which will allow for hardware rendering and huge jumps in performance.

Jason Merrill
Instructional Technology Architect
Bank of America Global Learning





_______________________


-----Original Message-----
From: papervision3d-bounces-***@public.gmane.org [mailto:papervision3d-bounces-***@public.gmane.org] On Behalf Of Dr. C Layfield
Sent: Tuesday, January 11, 2011 1:24 PM
To: papervision3d-***@public.gmane.org
Subject: Re: [Papervision3D] Papervision and reducing DAE filesize

Thanks for the tips everyone.

We've tried the export scripts posted on our DAE files (and also 3ds files) and have found that no geometry information is exported into the AS3 file (no numerical values are present). It seems to work with some objects (classic teapot for example) but not ours. Any idea why this may be the case?

We also tried using 3ds files directly in lieu of DAE files due to the difference in file size (binary file versus verbose text) and the initial constructor object causes an error as it does not know what the member _textureExtensionReplacements is. It's not even close to be ale to load this.

Regards,

Colin
Post by Merrill, Jason
http://www.rozengain.com/blog/2008/01/02/export-your-blender-objects-s
traight-to-away3d-papervision3d-and-sandy/
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
_______________________
-----Original Message-----
Sent: Monday, January 10, 2011 9:53 PM
Subject: Re: [Papervision3D] Papervision and reducing DAE filesize
Like Jason pointed out with Blender, there is an export script for 3ds to give you an AS3 file that represents your model like a DAE object would after parsing. This obviously removes unwanted bloat you get with an XML file.
Just do a search for paper vision AS3 3d studio script and you should be able to find it
Sent from my iPad
Post by DrColinL
I have noticed that the DAE files contain a lot of data and I
strongly suspect not all of it may be required. Our scene in
Papervision does not use any lighting (faked with texturing) and, for
example, there appears to be lighting information in the DAE file.
Does anyone have any experience or tips on what you can ditch from a DAE file safely?
Obviously being able to remove the large geometry lists of X,Y,Z values would be of interest.
The files were exported from 3DStudioMax 2009.
Regards,
Colin
--
http://papervision3d.758870.n4.nabble.com/Papervision-and-reducing-DA
E -filesize-tp3208370p3208370.html Sent from the Papervision3D
mailing list archive at Nabble.com.
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses.
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
_______________________________________________
Papervision3D mailing list
Papervision3D-***@public.gmane.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses.

References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link:
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.
Rémi Arnaud
2011-01-11 02:48:19 UTC
Permalink
You can use daenoptepad (on github) to edit/delete your .dae

- Remi
------Original Message------
From: DrColinL
Sender: papervision3d-bounces-***@public.gmane.org
To: papervision3D-***@public.gmane.org
ReplyTo: papervision3d-***@public.gmane.org
Subject: [Papervision3D] Papervision and reducing DAE filesize
Sent: Jan 10, 2011 18:13


I have noticed that the DAE files contain a lot of data and I strongly
suspect not all of it may be required. Our scene in Papervision does not
use any lighting (faked with texturing) and, for example, there appears to
be lighting information in the DAE file. Does anyone have any experience or
tips on what you can ditch from a DAE file safely? Obviously being able to
remove the large geometry lists of X,Y,Z values would be of interest.

The files were exported from 3DStudioMax 2009.

Regards,

Colin
--
View this message in context: http://papervision3d.758870.n4.nabble.com/Papervision-and-reducing-DAE-filesize-tp3208370p3208370.html
Sent from the Papervision3D mailing list archive at Nabble.com.
Loading...