|
Kylratix posted:I think the best way to learn game programming is to start with mod coding on something like one of the Quake engines or HL2 engines. You get all of the meat of game programing without all of the technical stuff. You can slowly become more technical as you move along. The important part is that you see results very quickly, which is important for motivation, I think. I'd have to disagree and say you should start way down at the bottom with simple stuff like Pong and Frogger before you go look at binary search trees and crap like that.
|
# ¿ Dec 2, 2007 06:10 |
|
|
# ¿ Apr 18, 2024 08:04 |
|
Citizen Erased posted:D3DX stuff... Use the view matrix. I'm a little rusty with DirectX since I've been using OpenGL a lot lately, but I'm pretty sure this is correct. code:
This is my opinion but never use Euler Angles for stuff like this, they get really messy after you move them around a lot. tyrelhill fucked around with this message at 08:52 on Dec 5, 2007 |
# ¿ Dec 5, 2007 08:35 |
|
Citizen Erased posted:Unfortunatly one of the things I need to do with the geometry after I've transformed it is export it to an .obj file. Because of that, I can't just transform by the view matrix at draw time or such, I physically need to change the x, y, z values of each vertex in the ring. Anyone got any clue on how to do so? Do the math on paper then, its not that complicated.
|
# ¿ Dec 6, 2007 19:13 |
|
kewlpc posted:Awesome, thanks. The hardware usually pads NPOT textures to POT textures anyway, might as well remove that overhead and do it yourself.
|
# ¿ Dec 19, 2007 17:51 |
|
forelle posted:Do you have any literature backing this claim up? Not exactly what I said, but this quote is from this book: http://www.amazon.com/gp/product/im...82225765&sr=1-3 stuff on loading textures posted:It is important to note that prior to OpenGL 2.0, these dimensions must be integer powers of 2. There is no requirement that texture maps be square, but a texture loaded with non-power of two dimensions on older OpenGL implementations will cause texturing to be implicitly disabled. Even though OpenGL 2.0 (and later) allows non-power of two textures, there is no guarantee that they will necessarily be fast on the underlying hardware. Many performance-minded developers still avoid non-power of two textures for this reason. I am actually taking a class where the author of this book is lecturing so I'll ask him tomorrow what exactly happens.
|
# ¿ Dec 20, 2007 21:56 |
|
IcePotato posted:XNA Stuff... Yes, use XNA. If you're going to do anything complicated with translation and rotation you're probably going to have to have at least a little understanding of linear algebra. As long as you stay 2D, you can keep things pretty simple math wise. I would also suggest you try out using just the DirectX SDK instead of XNA. There's alot more you have to do yourself with DirectX that XNA usually handles but you'll learn a million times more about graphics programming using DirectX than XNA.
|
# ¿ Dec 20, 2007 22:09 |
|
Use Render Monkey if you're just playing around with shaders. You can compile and debug any kind of shader(GLSL, HLSL, CG). As for how they work, polish up on your linear algebra. Shaders are 1,000,000% mathematics.
|
# ¿ Mar 21, 2008 23:52 |
|
position += velocity * deltaTime
|
# ¿ Mar 25, 2008 00:37 |
|
Nuke Mexico posted:yeah, from what it looks like, you're running the while loop as fast as possible A Sleep(1) would help it go down, but thats something you don't want in any game loop.
|
# ¿ Apr 14, 2008 03:41 |
|
TSDK posted:he did do ridiculous things like setting his thread priority so high Oh my god... He needs to get smacked.
|
# ¿ Apr 14, 2008 17:05 |
|
Looks fine to me, my guess is you're not passing the texture to the gpu somewhere for Texture1.
|
# ¿ May 12, 2008 17:07 |
|
I'm starting some research for a project I start in a few months and want to ask a few questions here about some good sources. First, I'm looking for any and all game development based design pattern papers and books. I've found a good amount of stuff already, but was wondering what anyone else around here happened to know about. Second, I'm going to need to implement gameswf (http://www.tulrich.com/geekstuff/gameswf.html). Does anyone know of any similar projects that are more up to date (and open source)?
|
# ¿ May 14, 2008 03:39 |
|
I usually start here: http://www.j3d.org/matrix_faq/matrfaq_latest.html
|
# ¿ Jun 13, 2008 16:47 |
|
Hammertime posted:I know this question will probably be frowned on, but I've read the thread start to finish ... OpenGL is not a dying beast. It is probably stronger than ever. As for "getting back" go with DirectX. It has a full math library, surfaces, the FX framework, and plenty of other crap already done to get you warmed up for doing practically everything yourself with OpenGL.
|
# ¿ Sep 10, 2008 09:56 |
|
Anyone know about a leak detector for COM objects, specifically DirectX objects in C/C++?
|
# ¿ Sep 14, 2008 02:08 |
|
tyrelhill posted:Anyone know about a leak detector for COM objects, specifically DirectX objects in C/C++? Anyone? I cant find anything!
|
# ¿ Sep 15, 2008 16:05 |
|
guenter posted:DirectX ID3DXEffect has a function called GetParameterByName that returns a D3DXHANDLE to the shader variable. To set it, you can do SetMatrix(4x4), SetVector(4D), SetFloat, and SetValue which is like a memcpy.
|
# ¿ Sep 19, 2008 17:13 |
|
Darkpenguin posted:but when I draw the texture to the screen, it gets stretched. Full Sail student, eh? It's probably cause you're creating non power of two texture.
|
# ¿ May 20, 2009 03:59 |
|
To quote the CTO of PEO STRI, the company that delegates billions of Department of Defense milsim money: "Half of a Full Sail class is filled with students who's parents are happy that their son is even in college, and the other half are students that you would see in a computer science class." The school will never get a good rep because they will never become regionally accredited (and cause of their retarded degree programs, like Recording Arts). Going there will get you a job in the industry if you have the initiative and are smart enough.
|
# ¿ May 21, 2009 04:40 |
|
wlievens posted:You could do a Convex Hull, that'd be a lot better than an AABB. Isn't that exactly what his solution was?
|
# ¿ Jul 1, 2009 16:53 |
|
Can't you just write a UI mod in Lua?
|
# ¿ Jul 25, 2009 16:26 |
|
leper khan posted:anyone know a simple way to send POST requests in unity with 0 content length? You can't, just send a string with a null terminator or something.
|
# ¿ Dec 10, 2016 07:50 |
|
|
# ¿ Apr 18, 2024 08:04 |
|
gdds are pointless cause you will never see what dumb rear end flaws your opus design has until you toss it into the lake to see if it floats e: although you should always have a "general concept/idea" doc
|
# ¿ Aug 22, 2019 16:47 |