XNA Creators Club Online
Page 1 of 1 (15 items)
Sort Posts: Previous Next

Xna 3d tutrial problem

Last post 9/1/2009 9:26 PM by PinoEire. 14 replies.
  • 4/13/2009 9:58 PM

    Xna 3d tutrial problem

    Hi, I'm learning how to program using the XNA software and I'm on the fourth chapter in the tutorial. I completed the chapter and went to test that the terrain model I drew would be on the screen and it's not. I also downloaded the source code and ran the project and there was also no model present, just a black screen. I'm not sure if it's the code or my computer. Could someone help me out please? Thank you.
  • 4/14/2009 2:09 PM In reply to

    Re: Xna 3d tutrial problem

    Are you getting an error msg or are you just not seeing it on the screen.  Please be more specific.  Is your camera correctly set up?
    Wouldn't you like to be a pepper too?
  • 4/19/2009 6:11 AM In reply to

    Re: Xna 3d tutrial problem

    yes i have had the same problem. I was wondering if this is a problem with vs2008 and 3.0?
    all that is in the gamewindow is black like there is no lighting but the lighting is set up in the code. I ran the download code that is at the end of chapter four of the tutorial and it does the same thing.
    like i say it is like there is no lighting but i can not believe that the downloaded code would have this problem also.
  • 4/19/2009 3:33 PM In reply to

    Re: Xna 3d tutrial problem

    I have a simular problem but instead it says i am missing a asset "enemy.fbx" which IS in the models but there is two one called enemy.fbx and the other enemy.tga.

    When i open the enemy.fbx just get lots of numbers and letters.
  • 4/19/2009 4:11 PM In reply to

    Re: Xna 3d tutrial problem

    I had no trouble with the tutorial using Visual Studio 2008 and XNA 3.0.
    Try downloading the code from a later chapter and see how that works.

  • 4/19/2009 4:18 PM In reply to

    Re: Xna 3d tutrial problem

    lamers:
    I have a simular problem but instead it says i am missing a asset "enemy.fbx" which IS in the models but there is two one called enemy.fbx and the other enemy.tga.

    When i open the enemy.fbx just get lots of numbers and letters.


    Don't use the .fbx extension when loading the model.

    Content.Load<Model>(..."enemy.fbx"...) = WRONG
    Content.Load<Model>(..."enemy"...) = The way to go

    Also don't import the tga in your solution, just leave it in the content folder on your harddrive

    If you're still having problems, make sure that the enemy.fbx is physically available in the contentfolder on your harddrive.
  • 4/19/2009 4:27 PM In reply to

    Re: Xna 3d tutrial problem

    DID THAT AND HAD THE SAME PROBLEM.
  • 4/19/2009 4:50 PM In reply to

    Re: Xna 3d tutrial problem

    still not working 
    this is the error. i have copyed the code souce and downloaded the code for tut 4 and it still coiming up with this error.

     Error 1 More than one output asset is named "C:\Visual Studio 2008\Projects\3d game\3d game\bin\x86\Debug\Content\Models\enemy.xnb". You must explicitly specify asset names to resolve the conflict. C:\Visual Studio 2008\Projects\3d game\3d game\Content\Models\enemy.tga 


    But my computer cannot load .fbx and .tga although it worked for the 2D
  • 4/19/2009 5:37 PM In reply to

    Re: Xna 3d tutrial problem

    Dont load the tga in the content manager, it's not needed. If you still want it there, click it in the contentmanager and rename the asset of enemy.tga to enemy_texture
  • 4/19/2009 6:08 PM In reply to

    Re: Xna 3d tutrial problem

    Jonne B:
    Dont load the tga in the content manager, it's not needed. If you still want it there, click it in the contentmanager and rename the asset of enemy.tga to enemy_texture


    tried but then it says that it is missing
  • 4/20/2009 8:08 AM In reply to

    Re: Xna 3d tutrial problem

    when you have all the tga's in the models folder right click on them and exclude them from the project. they must be brought into the project so it knows where they are but also must be excluded, the models will be the ones calling for them(this is covered in the video for adding assets step 1).
  • 4/20/2009 8:13 AM In reply to

    Re: Xna 3d tutrial problem

    Jinkogun:
    Hi, I'm learning how to program using the XNA software and I'm on the fourth chapter in the tutorial. I completed the chapter and went to test that the terrain model I drew would be on the screen and it's not. I also downloaded the source code and ran the project and there was also no model present, just a black screen. I'm not sure if it's the code or my computer. Could someone help me out please? Thank you.


    the problem i had was the laptop i use for this does not support the pixel shader. when i commented out the line.

    //effect.PreferPerPixelLighting = true;   

    everything worked fine after that.

  • 4/22/2009 7:49 AM In reply to

    Re: Xna 3d tutrial problem

    First i want to thank everyone for trying to help me out and I apologize for taking so long to reply. I had a rendom trip to go to in Georgia and I wasn't near a computer. Anyways, I tried taking out the perpixel effect and it's still just a blank screen. And to answer what error I'm getting, I'm getting none. and the screen just doesnt show the drawing of the model.
  • 9/1/2009 8:35 PM In reply to

    Re: Xna 3d tutrial problem

    Jinkogun:
    First i want to thank everyone for trying to help me out and I apologize for taking so long to reply. I had a rendom trip to go to in Georgia and I wasn't near a computer. Anyways, I tried taking out the perpixel effect and it's still just a blank screen. And to answer what error I'm getting, I'm getting none. and the screen just doesnt show the drawing of the model.


    My problem was that I had added the *.tga into the Content, the model refers to the TGA files so they have to be in the same folder but should not be added to the content folder.
  • 9/1/2009 9:26 PM In reply to

    Re: Xna 3d tutrial problem

    Jonne B:
    Dont load the tga in the content manager, it's not needed. If you still want it there, click it in the contentmanager and rename the asset of enemy.tga to enemy_texture
    You gotta be kidding!

    Guys! Reading this thread I have the strong feeling that you watched the video tutorial at double speed, missing all the explaations and also the 100% of the meaning.

    Start over, but this time do listen!

    Cheers,
    Pino
Page 1 of 1 (15 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG