Search found 387 matches
- Thu Aug 11, 2011 12:45 am
- Forum: General/Off-Topic
- Topic: "Industry Experience"
- Replies: 10
- Views: 2316
Re: "Industry Experience"
You should be DAMN fucking good. Not "decent". The industry these days is extremely competitive. Now what will set you apart is a wealth of work to show. You can talk all day long but until you put your money where your mouth is it won't account for much. I know 15 year olds who blow alot ...
- Thu Aug 11, 2011 12:41 am
- Forum: Programming Discussion
- Topic: OpenGL Camera problems
- Replies: 6
- Views: 909
Re: OpenGL Camera problems
It depends.
In win32, BOOL is 4 bytes. It's typedef'd to INT.
In most implementations, compilers choose to implement the C99 "bool" as a 1 byte type.
This leads to many problems if you're not careful with type consistency when copying data. Use one type consistently or define one thusly.
In win32, BOOL is 4 bytes. It's typedef'd to INT.
In most implementations, compilers choose to implement the C99 "bool" as a 1 byte type.
This leads to many problems if you're not careful with type consistency when copying data. Use one type consistently or define one thusly.
- Thu Aug 11, 2011 12:33 am
- Forum: Programming Discussion
- Topic: The Demise of the Low-Level Programmer
- Replies: 29
- Views: 7093
Re: The Demise of the Low-Level Programmer
Folks, you really need to be pragmatic about this. The case where you'd code assembly "because it can be fast" is rapidly waning. As a matter of fact its not as easy as simply inserting inline assembly blocks into C code anymore. If you compile against x64 with any modern IDE, you won't ev...
- Mon Aug 08, 2011 9:10 pm
- Forum: General/Off-Topic
- Topic: How about a nice cup of...
- Replies: 8
- Views: 2522
Re: How about a nice cup of...
...what the fuck level is THAT?
- Sat Jun 25, 2011 12:33 am
- Forum: Programming Discussion
- Topic: XNA FPS?
- Replies: 12
- Views: 2236
Re: XNA FPS?
Look, ya'll are again getting caught up in a X vs Y API dilemma. There's nothing inherent within XNA that would ban you from doing something as terribly simplistic as this, nor would there be anything in D3D that would do this either. What I'm saying is that problems this simple are completely API a...
- Fri Jun 24, 2011 2:10 pm
- Forum: Programming Discussion
- Topic: XNA FPS?
- Replies: 12
- Views: 2236
Re: XNA FPS?
Yea 2.5D is an emulated 3D space. Usually they have limited cameras that simply pan along a plane and perspective is just handled with linear scaling of world elements. Anywho, I've seen MANY a *VERY* ambitious project with XNA (including and far beyond raycasters). So I would not discount XNA at al...
- Wed Jun 22, 2011 12:52 am
- Forum: Programming Discussion
- Topic: Multiple texturing issues.
- Replies: 4
- Views: 1214
Re: Multiple texturing issues.
Your load function is not returning the texture handle. It's returning true or false. You're then assigning this value to "menuTextures[x]" and attempting to bind either true or false as a texture object. :]
- Tue Jun 21, 2011 5:43 pm
- Forum: Programming Discussion
- Topic: GL_RGB vs GL_BGR
- Replies: 2
- Views: 966
Re: GL_RGB vs GL_BGR
GL_BGR_EXT
- Sat Jun 11, 2011 10:54 am
- Forum: Programming Discussion
- Topic: std::find == problem, probably obvious
- Replies: 4
- Views: 694
Re: std::find == problem, probably obvious
No, its because for practical purposes it's significantly unlikely that two discrete calculations that should theoretically yield the exact same value will ever happen. Very significantly unlikely. You do this in science. If you've taken chem lab or physics lab or what have you, you'll be expected t...
- Fri Jun 10, 2011 8:04 pm
- Forum: Programming Discussion
- Topic: So like, can anyone explain this to me? (OpenGL issue)
- Replies: 18
- Views: 2196
Re: So like, can anyone explain this to me? (OpenGL issue)
You've more than likely got both problems running at once, which is just EXCELLENT for you. The T-junction problem is pretty well documented and will definitely require you to sit down and re-think your approach to rendering your world. It's definitely more than I'm willing to go into here. The text...
- Fri Jun 10, 2011 2:52 am
- Forum: Programming Discussion
- Topic: std::find == problem, probably obvious
- Replies: 4
- Views: 694
Re: std::find == problem, probably obvious
You must define operator== for non-native types. You want to define the binary operator== for const types since you're using constant iterators. Observe const correctness, lest ye compiler become upset: inline float X() const { return _x; } inline float Y() const { return _y; } Define binary operato...
- Thu Jun 09, 2011 3:00 pm
- Forum: Programming Discussion
- Topic: So like, can anyone explain this to me? (OpenGL issue)
- Replies: 18
- Views: 2196
Re: So like, can anyone explain this to me? (OpenGL issue)
You need to first determine what the issue really is. It VERY much looks like a T-junction issue.
Disable texturing and see if the issue still appears.
Disable texturing and see if the issue still appears.
- Thu Jun 09, 2011 3:12 am
- Forum: Programming Discussion
- Topic: So like, can anyone explain this to me? (OpenGL issue)
- Replies: 18
- Views: 2196
Re: So like, can anyone explain this to me? (OpenGL issue)
You need to take bnpph's advice and make the geometry overlap slightly. You've got here a pretty classical problem w/ co-linear geometry becoming victim of floating point roundoff error due to the non-linearity of perspective projections. This is evidenced by the fact that your clear color (red) is ...
- Thu May 26, 2011 1:54 pm
- Forum: Programming Discussion
- Topic: Ifstream loading number higher than 9?
- Replies: 13
- Views: 2124
Re: Ifstream loading number higher than 9?
Oh come now, he's only 14....he's got several prime douchebag years ahead of him.
...we're only scratching the surface
...we're only scratching the surface
- Tue May 10, 2011 12:53 pm
- Forum: Programming Discussion
- Topic: [SOLVED] OOP X not declared! :@
- Replies: 57
- Views: 7408
Re: OOP X not declared! :@
Trade contact info with me and I'll resolve the problem with you.