Search:

Type: Posts; User: Zishaan

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    3,430

    Shininess lighting GLUT OpenGL

    Hi peeps,

    Ive drawn shapes using GL_QUADS and TRAINGLE_FAN. Its my 3d checkers game. The whole game is completed and i just want to add shininess to the game to make it look more realistic. Ive...
  2. Replies
    6
    Views
    2,182

    no luck :-( it just stays the same....

    no luck :-( it just stays the same....
  3. Replies
    6
    Views
    2,182

    sorry, ignore what i said before, you are right,...

    sorry, ignore what i said before, you are right, it is the way you said it. I just don't understand why the shininess is not affecting the board and draughts on my game. Is their anything wrong with...
  4. Replies
    6
    Views
    2,182

    Hey, Ive created a game, and call draw() in...

    Hey,

    Ive created a game, and call draw() in my game.cpp, but i added draw() to my environment setup as well, it doesn't do anything?? maybe i should delete the draw() from my game.cpp??

    Thanks.
  5. Replies
    6
    Views
    2,182

    OpenGL lighting

    Hey peeps,

    I have tried to make my game have simple lighting which i have seen on many tutorials on the web. However, i cant get mine to have the same effect, and i cant work out why. All i want...
  6. Replies
    17
    Views
    1,907

    well i have most of my logic workin, it makes...

    well i have most of my logic workin, it makes legal moves, tells you if there is forced moves or not, but im afraid to show it to you now....

    i originally thought of putting it in a move class but...
  7. Replies
    17
    Views
    1,907

    let me show u my player class: / Player...

    let me show u my player class:




    / Player cpp file

    #include "Player.h"
    #include "Draught.h"
  8. Replies
    17
    Views
    1,907

    Sorry took ages to reply, but moving isnt the...

    Sorry took ages to reply, but moving isnt the problem, its when the draught is taken in a move that i need to remove it, and i cant see a way of doing thta right now, because i can't obtain the...
  9. Replies
    17
    Views
    1,907

    oh ok, btw, how would i do that draught thing i...

    oh ok, btw, how would i do that draught thing i asked earliar? will it make it easier this way??
  10. Replies
    17
    Views
    1,907

    Where would i use new and delete?? how would i...

    Where would i use new and delete?? how would i use it?? sorry....
  11. Replies
    6
    Views
    2,371

    i see, what about shading on the peices ??

    i see, what about shading on the peices ??
  12. Replies
    17
    Views
    1,907

    Board::~Board() { for(int i=0; i

    Board::~Board()
    {

    for(int i=0; i<sizeX; i++)
    free(squares[i]);

    free(squares);

    }
  13. Replies
    17
    Views
    1,907

    btw, i like the structure anon, looks simple.....

    btw, i like the structure anon, looks simple.. but how long will it take to change mine??
  14. Replies
    17
    Views
    1,907

    Sorry guys, very new at programming, let alone...

    Sorry guys, very new at programming, let alone C++, my friend has helped me through this, so i can't really back up why i have used certain parts, for example, using malloc instead of new and delete....
  15. Replies
    17
    Views
    1,907

    Can't think of a way to do it!

    Hey,

    Many of you will know what i am doign, but for those who don't :

    I am creating a 3D draughts/checkers game. My squares on the board are linked to one draught. and my draughts are linked to...
  16. Replies
    6
    Views
    2,371

    I tried what psychopath suggested, but no luck. I...

    I tried what psychopath suggested, but no luck. I didnt make up my shapes of polygons, i'm not on that level, i simply stuck together 2D shapes to make 3D shapes. I just want simple shadows now, so...
  17. Replies
    6
    Views
    2,371

    lol, checkers?? we call it draughts... well...

    lol, checkers?? we call it draughts... well 'they'..... i just want simple shadows so you can tell its 3D, from far, atm sometimes it looks 2.
  18. Replies
    6
    Views
    2,371

    OpenGL graphics

    Hi,

    I'm having trouble getting around what everything means in the lighting and section of OpenGL. I have managed to get lighting working, but whatever i try for shading doesn't work. I've been...
  19. Replies
    5
    Views
    1,373

    thanks for the help guys i got it working, i...

    thanks for the help guys i got it working, i stored pointers in the vectors instead, noob mistake !
  20. Replies
    5
    Views
    1,373

    My getDraught() returns this: Draught *...

    My getDraught() returns this:




    Draught * Square::getDraught()
    {
    return draught;
    }
  21. Replies
    5
    Views
    1,373

    little vector problem

    Hi peeps,

    I loop through my draughts in my game, and if that draught is in a forced move position then i store it in a vector. so draught 3 and 4 could be stored. Now when the player comes to make...
  22. Replies
    6
    Views
    2,470

    i love you guys, get me thinking logically,...

    i love you guys, get me thinking logically, expect more noob questions, it is my first program, sorry......
  23. Replies
    6
    Views
    2,470

    Erasing in openGL

    Hi guys,

    does anyone know how to erase shapes and things in opengGL? i have draughts that i want to erase once the are taken, but i don't know how?

    thnx
  24. Replies
    4
    Views
    1,124

    cool, thanks, i thought that might be causing the...

    cool, thanks, i thought that might be causing the problem in the game, but now i found the problem, i had x and y the wrong way round in one of my .cpp's, gosh, u gota love coding......
  25. Replies
    4
    Views
    1,124

    Quick function Q

    I have these two funtions in my .h file. They both have the same name but arnt the same as shown below :-




    Square * getSquare(int x, int y);
    Square * getSquare(int index);
Results 1 to 25 of 37
Page 1 of 2 1 2