[Papervision3D] Problem with collada
Kim Daniel Arthur
kim at kimdanielarthur.com
Thu Jan 31 10:29:40 PST 2008
ben can you post your complete code? :)
On 31/01/2008, Tim Knip <tim.knip at gmail.com> wrote:
> DAE is the more elaborate variant of the Collada class.
>
> Collada is the original class, still sits there for compatibilty
> DAE displays animations etc. which Collada doesn't.
> So i would use Collada if you want "lean and mean" otherwise use DAE.
>
> You can use Collada too, but you need to create instances for each
> file you want to load:
>
> var tree : Collada = new Collada();
> var player : Collada = new Collada();
>
> Is this what you do?
> Tim
>
> 2008/1/31, Benjamin Combes <benjamin at lenchanteur.net>:
> > Thanks for you fast answer !
> >
> > Up to now, I've been using this command :
> >
> > worldObject = new Collada("collada/objects/" +
> > currentInstanceObject.collada, null, 0.5);
> > (With '"collada/objects/" + currentInstanceObject.collada' being the path of
> > my collada file)
> >
> > Is this better to use the DAE type instead of Collada for non animated
> > objects? What does it change, and what is the use of the Collada type if DAE
> > is mainly used? Thanks a lot !
> >
> >
> > Benjamin
> >
> >
> >
> > -----Message d'origine-----
> > De : papervision3d-bounces at osflash.org
> > [mailto:papervision3d-bounces at osflash.org] De la part de Tim Knip
> > Envoyé : jeudi 31 janvier 2008 18:12
> > À : papervision3d at osflash.org
> > Objet : Re: [Papervision3D] Problem with collada
> >
> > I assume you do something like:
> >
> > var tree : DAE = new DAE();
> > var player : DAE = new DAE();
> >
> > tree.load( "treeUrl" );
> > player.load( "playerUrl" );
> >
> > ?
> >
> > Tim
> >
> > 2008/1/31, Benjamin Combes <benjamin at lenchanteur.net>:
> > > Hi everybody !
> > >
> > >
> > > I'm having quite a disturbing problem while using the Great White version
> > of
> > > PV3D.
> > >
> > > I'm trying to create a game in which I import a few Collada files (for
> > > example bonuses or obstacles), and display them on scene as Collada
> > objects.
> > >
> > > Before to load any object, I always wait the previous one to be fully
> > loaded
> > > to avoid any error (I first load the landskape, then the main player, than
> > > other object,... on at each time).
> > >
> > > However, I only manage to display the last collada that was imported, and
> > I
> > > absolutely have no idea why. For example, if I load a tree, and then a
> > rock,
> > > and then a bonus, only the bonus is displayed. But if I change and load
> > the
> > > tree in last position, it is the only one that is displayed.
> > >
> > > I have got this problem when I try to load different collada files, or
> > when
> > > I load the same collada file multiple times.
> > >
> > > And I don't get any error message from PV3D, all seems to be fine while
> > > loading, and the problem can't come from my 3D Collada files, as I manage
> > to
> > > display them when loading them individually.
> > >
> > > Does anyone have an idea why it does me that? Thanks a lot for your help !
> > >
> > >
> > > Benjamin
> > >
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
More information about the Papervision3D
mailing list