thanks it is clearer now.I have a problem with loading the awd.I saw
the example at the front page of away3d and used the code

_tree = BSPTree(AWData.parse(new BSPFile(), {customPath:"../assets/
ogre_house_awd"}));
scene.addChild(_tree);
_tree.usePVS = true;

but it gaves me blank screen and nothing is loaded.The awd is
successfully loaded in prefab.Also if i use the whole source code for
the bsp/psv example and just substitute the tunnels with my model
again it gaves me blank screen.
Also if i use
awd_loader = AWData.load("../assets/ogre_house_awd/ogre_house.awd");
_tree_mesh = awd_loader.handle; // _tree_mesh is Object3D
scene.addChild(_tree_mesh);
everything is loaded.
Am i doing something wrong? And which of the two ways to use?


On 14 Май, 11:12, Michael Iv <[email protected]> wrote:
>  BSP is not a simple term to explain . This stands for Binary Space
> partitioning and used for geometry depth sorting in the 3d games . How it
> works ?  Go to Wikipedia .
>
>
>
>
>
> On Fri, May 14, 2010 at 11:06 AM, toshmosh <[email protected]> wrote:
> > and also what is PVS?
>
> > On 14 Май, 10:29, toshmosh <[email protected]> wrote:
> > > I am sorry, but what is BSP?
>
> > > On 14 Май, 01:07, Fabrice3D <[email protected]> wrote:
>
> > > > awd = away data : nothing but what Away needs
>
> > > > same file works in away3d, f9 and 10, and awayLite
> > > > works in 2,3/3.3  2.4/3.4 and latest and will continue be backwards
> > compatible as much as we can.
>
> > > > generated either by Away3D code with no embeds
> > > > or from Prefab3D with embeds.
>
> > > > Avantage is often smaller file size, all respect of away scene, which
> > is not the case with Obj for instance.
> > > > 3ds can be smaller depending cases.
>
> > > > awd can hold BSP
> > > > native primitives
> > > > and very soon animations
> > > > also can be reedited in Prefab3D
>
> > > > In the video, Prefab generates the data and outputs both a class+awd
> > > > the class embeds the awd.
>
> > > > Fabrice
>
> > > > On May 13, 2010, at 7:23 PM, toshmosh wrote:
>
> > > > > and also which are the advantages of awd in comparision with .obj or
> > .
> > > > > 3ds for instance
>
> > > > > On 13 Май, 20:20, toshmosh <[email protected]> wrote:
> > > > >> Hi!I am wondering how .awd files are created? At the front page of
> > > > >> away3d there is video, but they open the awd directly.
>
> --
> Michael Ivanov ,Programmer
> Neurotech Solutions Ltd.
> Flex|Air |3D|Unity|www.neurotechresearch.com
> Tel:054-4962254
> [email protected]
> [email protected]

Reply via email to