XNA Game Development Forums
2012/05/18 07:12:38 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: if(doesn't work){ CallHELP(); }  (Read 2970 times)
thoams
Newbie
*
Offline Offline

Posts: 11


View Profile
« on: 2007/03/28 06:15:51 »

I'm very new to XNA, C#, directX and everything in general. I've learned from Mike's tutorials (THANK YOU MIKE!) just about everything I need to know to get to rendering the skybox and loading the mesh of the tiger. I understood it too, which came from going through the steps repeatedly and fixing thousands of compile errors as I went.

Now, I *know* I have done this step before, and am *not* fibbing to look good, but for some reason I cannot render my RGB triangle.

I had to start going through all the tutorials again and then got stuck here, because when I had gotten to the skybox and tiger mesh it was late at night and as the result of some unrememberable addition to my code, running the prog caused the window to draw, the skybox to render and then in a fraction of a second disappear and leave me with CornflowerBlue. Being new to all this I assumed I'd made some silly mistake, and so tried to go back and try again thoroughly (and so learn from and/or correct my skybox-disappearing trick). And now I can't even see my rgb triangle.  Sad

there are apparently no errors whatsoever in the code, and there is nothing in there beyond the rgb triangle-relevant steps: created camera function, called to it (did so inside an if(initializegraphics()), in the right place, just beneath the initializegraphics(); call, in the system class), and creating the vertices in the demo's main.

I was really impressed when I got the triangle going first time, too. Didn't expect it to / know it would blend the colours. Because yes, I'm a noob.

If you've read this all the way down to here, then my most humble thanks to you.

And if you reply, I'll render you a cookie. Or put you in the credits to my big-bucks game publish, that seems popular around here Smiley

// First Post for the win!
Logged
Nemo Krad
Global Moderator
Hero Member
*****
Offline Offline

Posts: 512


I have seen the fnords


View Profile WWW
« Reply #1 on: 2007/03/28 06:31:17 »

What Graphics card do you have. The original source renders differently on my laptop than on my Desk top..

I would rather you render a JD & Coke and spell my name right.... :Smiley
Logged
thoams
Newbie
*
Offline Offline

Posts: 11


View Profile
« Reply #2 on: 2007/03/28 06:45:33 »

Heh heh. Card. Yes. Geforce6 6800GT, PCI-e. With a super-huge fan that I put on there myself. That was fun. Handles PS_3_X in it's sleep. Should've included gfx card info in first post, but am suffering a case of noobitis. I hope it isn't that!

If it is important I'm running the oct' 06 directx sdk. If that's consequential.

Oh, and the being stuck here bit:
as soon as I move on to the next bit in the vertices section, creating 6 vertices and displaying the hmg logo across two triangles, that works just fine. For some reason.

Credits:
Nemo Krad!
Logged
Nemo Krad
Global Moderator
Hero Member
*****
Offline Offline

Posts: 512


I have seen the fnords


View Profile WWW
« Reply #3 on: 2007/03/28 07:32:25 »

hmm, I am not too familiar with the none XNA source, I guess Mike will have to point you in the right direction...

Also, my name needs more sparkles......and some dramatic background music.........
Logged
thoams
Newbie
*
Offline Offline

Posts: 11


View Profile
« Reply #4 on: 2007/03/28 08:23:29 »

Just for that, I've gone and made a model of your name. I hope to:

get the skybox going with the camera's input set up so it can rotate about a target, as in the tutorial,
get your name's mesh loaded and textured
get a particle effect going for the sparkles.

I'll do that, so I will, and then your name shall have sparkles. And you'll have a jpeg.
Logged
Nemo Krad
Global Moderator
Hero Member
*****
Offline Offline

Posts: 512


I have seen the fnords


View Profile WWW
« Reply #5 on: 2007/03/28 08:27:17 »

Don't forget the music!  Tongue
Logged
Tiago
Newbie
*
Offline Offline

Posts: 42


View Profile
« Reply #6 on: 2007/03/28 13:43:42 »

LOL @ Nemo && thoams

way to get off topic hahaha, thatnks for making me laugh in this awfull cold morning
Logged
thoams
Newbie
*
Offline Offline

Posts: 11


View Profile
« Reply #7 on: 2007/03/28 14:29:19 »

I am so very happy with myself right now Smiley Thanks to this inspiring thread, and thanks largely to NEMO KRAD, I have managed to get my own model to load in my mock-up of a Hazy Mind engine. It didn't exactly load as expected but then this is a progressional thing, right? Grin


[attachment deleted by admin]
Logged
Nemo Krad
Global Moderator
Hero Member
*****
Offline Offline

Posts: 512


I have seen the fnords


View Profile WWW
« Reply #8 on: 2007/03/29 01:24:11 »

Thanks for that I can now die a happy man.....
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.249 seconds with 17 queries.