Can't see my Mesh

Nov 13, 2010 at 7:40 PM

Hi, i was very impressed by Balder when i saw it in first time. It's great work.

But i've got some problems when i was trying to load a .ase file (audi.ase from your GettingStarted project). I have repeated all of your actions from screencast (on vimeo) and all was fine until loading mesh. I wrote this: 

<Geometries:Mesh x:Name="Object" AssetName="/cups;component/Assets/audi.ASE" Position="0,0,0" />

But then i'm trying to compile this, nothing happens on the screen. I mean that then i'm trying put a box on the screen all is ok, but then it comes to adding a mesh it's does not work. That is my source code of MainPage.xaml:

<UserControl x:Class="cups.MainPage"

    <Grid x:Name="LayoutRoot" Background="Black">
            <EventTrigger RoutedEvent="Grid.Loaded">
                    <Storyboard RepeatBehavior="Forever">
                                TargetProperty="(Node.Rotation)" />
        <Execution:Game Width="640" Height="800">
                <View:Camera Position="0,10,-15" />
            <Lighting:OmniLight Diffuse="Red" Position="0,-5,-5" />

            <Geometries:Mesh x:Name="Object2" AssetName="/cups;component/Assets/audi.ASE" Position="0,0,4"  />

            <Geometries:Box Dimension="3,3,3" Name="Object" Position="0,0,0" >
                    <Matherials:Material Ambient="Black" Diffuse="Green" Specular="White" Shade="Flat" />



In this case nothing will be displayed, but if you comment mesh line a rotaiting box will appear (how it have to be). I break my mind for a second day on it, so i need your help :) 

I'm using a Visual Studio 2010, Balder and Google Chrome. 

Thank you.

Nov 13, 2010 at 10:19 PM

Hi and thanks,

did you set the Build Action to Resource for the audi.ase file? 

If you can't get it to work - could you email me your entire project (einar [at] dolittle [dot] com) ?  

Nov 14, 2010 at 9:36 AM

Yes, i've set a build action. I'll send you my prject. Thank you for help.

Nov 14, 2010 at 4:56 PM

I've created a Work Item for this problem :

Nov 14, 2010 at 8:24 PM
Edited Nov 14, 2010 at 8:58 PM

I solved this problem as you said: just replaced a every 4 spaces to the "/t" in my ase file and it's already work :)

Nov 14, 2010 at 10:25 PM

Great. Sorry you hit a snag like this the first try. Hope you enjoy Balder.

Nov 14, 2010 at 10:32 PM

It's ok :) I think it great and very usefull project.