Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Question: XNA Image Layers...  (Read 918 times)

0 Members and 1 Guest are viewing this topic.
Question: XNA Image Layers...
« on: January 05, 2007, 02:03:05 am »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
Just a question about layers in the ... what was it... MS.XNA.FW.Graphics namespace? Well anyway, it required a layer argument... I use 0.5, but I was wondering, is this the err, order ("Depth") that the images are drawn on the screen? These are Texture2D images by the way...
Logged
the a o d c
Re: Question: XNA Image Layers...
« Reply #1 on: January 05, 2007, 12:49:25 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
I'm not sure really, it may refer to the graphical abstraction layer being used to render the image, it may really - be anything, I suggest looking through MSDN for an answer as I have little experiance with XNA. On the balance of probabilitys though it does sound like a depth argument.

If it dosen't work then just enable the depth buffer (If its based of MDX - which I'm sure it is - i'm almost certain i will have one), and doing the rendeirng yourself. If that fails a lot of 2D graphics engines require you to do your own depth sorting (^.^, I remember doing this so much - its such a pain in the arse. If you design a scene graph as your rendering structure it should be easier though), so why not try it yourself, its not to hard :D.
« Last Edit: January 05, 2007, 12:56:21 pm by Infinitus »
Logged
Re: Question: XNA Image Layers...
« Reply #2 on: January 06, 2007, 06:14:31 am »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
Do it myself? What an age we live in...

Thanks Helios :). Err, Infinitus.
Logged
the a o d c
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.692 seconds with 43 queries.

anything