locked
Importing from AC3D (pnunbe) - 12/21/2007 10:53 AM PST RRS feed

  • Question

  • By: pnunbe


    Hi,
    I exported a 3D drawing from AC3D in the Wavefront obj format.
    After importing the .obj and .mtl files into Expression Blend, I inserted 
    the .obj file in Window1.xaml.
    A 3D Viewport is created, but only the bounding box of the drawing is shown.
    Should I do something to make use of the .mtl file, or what else?
    
    best regards
    Friday, February 22, 2008 3:11 PM

All replies

  • By: Brennon Williams


    Howdy,
    
    The only suggestions I can make is to first check that texture co-ordnates 
    are included in the XAML and secondly make sure that the application includes 
    your material files and that the XAML is mapping correctly to them.
    
    Cheers
    -- 
    Want to learn how to use Blend and visual studio?
    
    http://www.learnexpressionstudio.com
    http://www.expressionblend.com
    http://www.x-coders.com
    
    
    "pnunbe" wrote:
    
    > Hi,
    > I exported a 3D drawing from AC3D in the Wavefront obj format.
    > After importing the .obj and .mtl files into Expression Blend, I inserted 
    > the .obj file in Window1.xaml.
    > A 3D Viewport is created, but only the bounding box of the drawing is shown.
    > Should I do something to make use of the .mtl file, or what else?
    > 
    > best regards
    Monday, February 25, 2008 3:34 PM
  • By: pnunbe

    Hi,
    
    how does a mapping to a material file look like in XAML
    
    "Brennon Williams" wrote:
    
    > Howdy,
    > 
    > The only suggestions I can make is to first check that texture co-ordnates 
    > are included in the XAML and secondly make sure that the application includes 
    > your material files and that the XAML is mapping correctly to them.
    > 
    > Cheers
    > -- 
    > Want to learn how to use Blend and visual studio?
    > 
    > http://www.learnexpressionstudio.com
    > http://www.expressionblend.com
    > http://www.x-coders.com
    > 
    > 
    > "pnunbe" wrote:
    > 
    > > Hi,
    > > I exported a 3D drawing from AC3D in the Wavefront obj format.
    > > After importing the .obj and .mtl files into Expression Blend, I inserted 
    > > the .obj file in Window1.xaml.
    > > A 3D Viewport is created, but only the bounding box of the drawing is shown.
    > > Should I do something to make use of the .mtl file, or what else?
    > > 
    > > best regards
    Monday, February 25, 2008 3:34 PM
  • By: Brennon Williams


    Sorry, I should clarify that..
    
    Make sure that your material locations are referenced to the correct paths 
    in side the XAML are correct.
    You should see some errors or warnings in the errors category in Blend if 
    that is the case.
    
    Cheers
    
    -- 
    Want to learn how to use Blend and visual studio?
    
    http://www.learnexpressionstudio.com
    http://www.expressionblend.com
    http://www.x-coders.com
    
    
    "pnunbe" wrote:
    
    > Hi,
    > 
    > how does a mapping to a material file look like in XAML
    > 
    > "Brennon Williams" wrote:
    > 
    > > Howdy,
    > > 
    > > The only suggestions I can make is to first check that texture co-ordnates 
    > > are included in the XAML and secondly make sure that the application includes 
    > > your material files and that the XAML is mapping correctly to them.
    > > 
    > > Cheers
    > > -- 
    > > Want to learn how to use Blend and visual studio?
    > > 
    > > http://www.learnexpressionstudio.com
    > > http://www.expressionblend.com
    > > http://www.x-coders.com
    > > 
    > > 
    > > "pnunbe" wrote:
    > > 
    > > > Hi,
    > > > I exported a 3D drawing from AC3D in the Wavefront obj format.
    > > > After importing the .obj and .mtl files into Expression Blend, I inserted 
    > > > the .obj file in Window1.xaml.
    > > > A 3D Viewport is created, but only the bounding box of the drawing is shown.
    > > > Should I do something to make use of the .mtl file, or what else?
    > > > 
    > > > best regards
    Monday, February 25, 2008 3:35 PM
  • By: pnunbe


    Hi,
    
    I got it!
    
    All the material brushes had an Alpha value 0f 0 (God knows why).
    
    Replacing this with 1 everything works.
    
    Thanks!
    
    "Brennon Williams" wrote:
    
    > Sorry, I should clarify that..
    > 
    > Make sure that your material locations are referenced to the correct paths 
    > in side the XAML are correct.
    > You should see some errors or warnings in the errors category in Blend if 
    > that is the case.
    > 
    > Cheers
    > 
    > -- 
    > Want to learn how to use Blend and visual studio?
    > 
    > http://www.learnexpressionstudio.com
    > http://www.expressionblend.com
    > http://www.x-coders.com
    > 
    > 
    > "pnunbe" wrote:
    > 
    > > Hi,
    > > 
    > > how does a mapping to a material file look like in XAML
    > > 
    > > "Brennon Williams" wrote:
    > > 
    > > > Howdy,
    > > > 
    > > > The only suggestions I can make is to first check that texture co-ordnates 
    > > > are included in the XAML and secondly make sure that the application includes 
    > > > your material files and that the XAML is mapping correctly to them.
    > > > 
    > > > Cheers
    > > > -- 
    > > > Want to learn how to use Blend and visual studio?
    > > > 
    > > > http://www.learnexpressionstudio.com
    > > > http://www.expressionblend.com
    > > > http://www.x-coders.com
    > > > 
    > > > 
    > > > "pnunbe" wrote:
    > > > 
    > > > > Hi,
    > > > > I exported a 3D drawing from AC3D in the Wavefront obj format.
    > > > > After importing the .obj and .mtl files into Expression Blend, I inserted 
    > > > > the .obj file in Window1.xaml.
    > > > > A 3D Viewport is created, but only the bounding box of the drawing is shown.
    > > > > Should I do something to make use of the .mtl file, or what else?
    > > > > 
    > > > > best regards
    Monday, February 25, 2008 3:35 PM
  • By: Brennon Williams


    Hey..
    
    That is a strange one, but very happy you found out the fix.
    
    Take it easy.
    
    Cheers
    -- 
    Want to learn how to use Blend and visual studio?
    
    http://www.learnexpressionstudio.com
    http://www.expressionblend.com
    http://www.x-coders.com
    
    
    "pnunbe" wrote:
    
    > Hi,
    > 
    > I got it!
    > 
    > All the material brushes had an Alpha value 0f 0 (God knows why).
    > 
    > Replacing this with 1 everything works.
    > 
    > Thanks!
    > 
    > "Brennon Williams" wrote:
    > 
    > > Sorry, I should clarify that..
    > > 
    > > Make sure that your material locations are referenced to the correct paths 
    > > in side the XAML are correct.
    > > You should see some errors or warnings in the errors category in Blend if 
    > > that is the case.
    > > 
    > > Cheers
    > > 
    > > -- 
    > > Want to learn how to use Blend and visual studio?
    > > 
    > > http://www.learnexpressionstudio.com
    > > http://www.expressionblend.com
    > > http://www.x-coders.com
    > > 
    > > 
    > > "pnunbe" wrote:
    > > 
    > > > Hi,
    > > > 
    > > > how does a mapping to a material file look like in XAML
    > > > 
    > > > "Brennon Williams" wrote:
    > > > 
    > > > > Howdy,
    > > > > 
    > > > > The only suggestions I can make is to first check that texture co-ordnates 
    > > > > are included in the XAML and secondly make sure that the application includes 
    > > > > your material files and that the XAML is mapping correctly to them.
    > > > > 
    > > > > Cheers
    > > > > -- 
    > > > > Want to learn how to use Blend and visual studio?
    > > > > 
    > > > > http://www.learnexpressionstudio.com
    > > > > http://www.expressionblend.com
    > > > > http://www.x-coders.com
    > > > > 
    > > > > 
    > > > > "pnunbe" wrote:
    > > > > 
    > > > > > Hi,
    > > > > > I exported a 3D drawing from AC3D in the Wavefront obj format.
    > > > > > After importing the .obj and .mtl files into Expression Blend, I inserted 
    > > > > > the .obj file in Window1.xaml.
    > > > > > A 3D Viewport is created, but only the bounding box of the drawing is shown.
    > > > > > Should I do something to make use of the .mtl file, or what else?
    > > > > > 
    > > > > > best regards
    Monday, February 25, 2008 3:36 PM