Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

173 Neutral

About valles

  • Rank
  1. valles

    Video Game Schooling dilemma

    I'm an American, so I don't know how Canadian higher education works.  Both of these schools look like they're a bit better than an American community college. I looked at he Conestoga website and didn't find your associates degree program: http://www.conestogac.on.ca I think I found the one for centennial: http://www.centennialcollege.ca/Programs/ProgramOverview.aspx?Program=3109   Transferring courses is difficult in America, each university is trying to collect your $$$, so many of your associates degree courses will not be transferrable to your bachelors degree.  Call the office of the computer science department at York University and talk to someone about your ideas, plans and questions, they usually aren't busy and may be able to give you a list of transferrable units.   Remember, computer science is in the engineering department, they want you to build skyscrapers when you may only want to code games and toys, so they really try to kill game programmers in the math department after Calculus 1.  Also, none of the computer science classes will have time to teach you how to use a debugger or a call stack, so you should familiarize yourself with one that has a GUI and one that is command line.   Good luck.   - Valles
  2. Also, texCoord is likely a float, so you should try copying the data into an integer before using mod. There are debuggers for shaders provided by nvidia or amd that may help you solve this problem.
  3. Texture coordinates in opengl are from 0 to 1, so you're going to need to divide texCoord by 1024 to get your texture2D to work.
  4. Hello Moonkis, I'm assuming you want smooth scrolling like Wolfenstien 3d correct? You might be able to find someone to help you build a basic 3d engine for this purpose. If you do not allow the person to spin, so he can only move forward and back: For this solution your field of view is 90 degrees, facing a wall would cover the entire screen at depth 0. At depth 1, the wall would be half the size, at depth 2 a fourth,... The distances from the center would also shrink in this manner. Also, if you don't allow the person to move forward and back, you could precompute the shapes like and old school rpg and have the player jump forward or back.
  5. valles

    Primitive drawing

    Without compiling the code I see a few problems: 1) Your index isn't increasing. 2) Your RotateY should be run after your camera settings. 3) The z values for your triangle aren't within the near and far plane.
  6. I'm trying to compile your code right now, it would have been faster if you put it inside a main w/ all of the headers, just so everyone doesn't have to do it for you... Your "while(fgets(s,sizeof(s), fp)" is missing a ")". Your "(fgets(s,sizeof(s), fp);" has an extra "(". How'd you get this code to compile?
  7. valles

    C++ namespace issue

    It's a bit hard to understand where each of these lines of code are copied from. Is this in "flint.h"? #pragma once namespace Flint Is this in "flint.cpp"? #include "flint.h" using namespace Flint::Actions;
  8. valles

    OpenGL Weird Colors

    You should read this: http://www.opengl.org/documentation/red_book/ First problem is, if you've selected a texture and have texturing enabled, glColor3ub is going to shift the colors. It does not cancel the texturing. I'm guessing from your statement that you want to draw a texture, turn off texturing, draw a color, then turn back on texturing. Right? - Valles
  9. valles

    DevIL compiler problems

    The libs are in the same directory as the project file? Copy and paste your library list from Properties->Configuration Properties->Linker->Input->Additional Dependencies. - Valles
  10. valles

    Crisis of Faith?

    Good luck
  11. valles


    Okay, a bug, thanks.
  12. I'm using opengl ES and have a texture "binarygrid" loaded as: glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, 256, 256, 0, GL_ALPHA, GL_UNSIGNED_BYTE, binaryGrid); Which should fill a texture of r,g,b,a with 0,0,0,a. glBlendFunc(GL_ZERO,GL_DST_COLOR); With the above setting, glBlendFunc is drawing 0,0,0,a as a,a,a,a which is exactly what I want. I'm wondering if this is a bug, or have I actually stumbled on a solution. - Valles at www.redadept.com
  13. valles

    Windows Vista Troubles...

    I switched to programming on Vista flawlessly. Double check the basics. VC8 or newer in debug mode with the dx debug libraries. - Valles
  14. valles

    Modulus use in c++

    Let's say you want a random number between 0 and 100, the random number X is 2143242. X % 100 = 42.
  15. valles

    Problem with LPD3DXSPRITE

    I could never get .fx files to work on dx9 2d sprites. Try without the fx passes. - Valles
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!