AS3: Parsing .3ds file - Octopus

November 26th, 2005 at 08:41pm Administrator

Flexets Forum - learn Flex / AIR / Flash / ActionScript

If you're new here, you may want to subscribe to my RSS feed. If you like my site, consider linking back. I prefer text "Free Flash Tutorials" to http://www.franto.com
Thanks for visiting my site! If you need anything just contacting through Contact page

Yes, it’s awesome :) In AS3 you can just get .3ds file from 3d max, parse it, and draw it on screen.
You can see it on example .3ds file - Octopus. There more the 16000 faces, and it is rendered in less then 200 ms on my machine :)

Source code is dirty and it’s part of my AS3 project FlashLife, which will be open source, so you will have source available in some time, but I can not say now, when. It is in early state :)

Enjoy.

AddThis Feed Button

Entry Filed under: , ,


Do you want to receive fresh news from my site?
Subscribe to my RSS

»Related posts:



16 Responses to “AS3: Parsing .3ds file - Octopus”

Pages: [2] 1 » Show All

  1. 16
    Administrator Says:

    hi0b> look at this collection
    there are png , jpg ancoding as well

    http://www.franto.com/blog2/collected-links-to-actionscript-30-examples

  2. 15
    hi0b Says:

    sounds really easy.. i think in the future we will see more examples of importers, for which i use php right now.. i have also seen examples of encoding pngs and jpegs..

    good to see, that adobe pushes flash.. under macromedia, flash already reached the limits.. ;)

  3. 14
    Administrator Says:

    hi0b> your friend shoul wait for flash 9 :)

    parsing is easy if you know 3ds file format, just dynamicaly load it as swf, or image, onComplete just get ByteArray from it, and just parse ByteArray accordinf 3ds file format :)

  4. 13
    hi0b Says:

    How you start it? reading the 3ds-file as binary code? connection to a php? i have started a ase-reader so i get a xml from a ase, but using 3ds directly would be much more nicer.. (right said? sry my bad english..)

    Its really nice to see, whats all possible with as3.. but a friend of mine will be lost only using as3.. he always did the design-part in our projects.. well i think, he has to lern a little programming now.. ;)

  5. 12
    JanuMedia :: Parsing .3ds files using AS3 :: November :: 2005 Says:

    [...] Woww it’s so nice. With AS3 Franto could get .3ds file from 3d max, parse it, and draw it on screen. More then 16000 faces is rendered less then 200 ms! wow! This is rock. Can’t wait for the source! Comments » [...]

  6. 11
    Administrator Says:

    Hi David,

    I know there is something strange, but not only in this movie. More times i have little time intervals, but rendering to the screen takes longer. Maybe because all is done in 1 frame :) It is not optimized. But timer values are correct, do not know why it is so long to reender :(

Pages: [2] 1 » Show All

Leave a Reply