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

Sky boxing

Last post 05-08-2008 6:05 PM by OM N0M N0M NOM. 4 replies.
  • 05-08-2008 3:00 PM

    Sky boxing

    I downloaded the DirectX 10 SDK and have taken the skybox from the Direct3D StateManager and loaded it into my project and created a simple quaternion camera.  When I start the application it shows one face of the cube properly, but when I move the camera things go haywire...some of the skybox appears, and what appears looks to be mapped in the right location, but a good half of the screen does not show the skybox and the portion that doesn't show it changes as the camera view is changed....What am I doing wrong?

    {edit: See http://forums.xna.com/60840/ShowThread.aspx#60840 for code links to pastebin}

  • 05-08-2008 4:17 PM In reply to

    Re: Sky boxing

    Can you say pastebin?

     

  • 05-08-2008 4:31 PM In reply to

    Re: Sky boxing

    Well, I hadn't heard of pastebin...frankly I was reluctant to post a question at all, but seeing as I posted a question the other day and it was responded to kindly I thought, why not? Anyways, isn't this forum intended for help with the xna framework?
  • 05-08-2008 4:34 PM In reply to

    Re: Sky boxing

    The forum rules state that more than a handful of lines of code should be posted to a pastebin. Then you post a link to that, rather than posting a ton of code in the forum. The forum software sometimes has issues when large amounts of code are included in a post.

    We'll be glad to help you, but code is hard to read in a forum post here, mainly due to the lack of useable width.

    Also, your question started with a statement about DirectX 10 and Direct3D and I just ass-u-me'd that's what you were using. Had your post been less cluttered with code, I might have read the whole thing and not been stupid. ;-)

    I wasn't really trying to be unfriendly and I apologize for coming off that way.

     

  • 05-08-2008 6:05 PM In reply to

    Re: Sky boxing

    No problem...I can't be bothered with rules ;) Anyhow, here it is on pastebin...

    camera and game: http://pastebin.com/m53e7931f  

    effect: http://pastebin.com/d379f7159  

    model: http://pastebin.com/d77b55596  

    Anyhow, my issue is, I believe related to the view and/or projection...I'm just using the model and shader from the directx 10 samples, but I'm doing it in xna with C#.

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