• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

OgbobeBuko

Members
  • Content count

    59
  • Joined

  • Last visited

Community Reputation

100 Neutral

About OgbobeBuko

  • Rank
    Member
  1. i have not been able to find tutorials that could explain to me what this function glMultMatrixd(P ) actually does could anyone please explain it to me thank you
  2. OpenGL

    can anyone please give me a link or steps on installing gui with visual studio 2008 without having linking errors i found a tutorial( [url="http://www.codeproject.com/KB/openGL/GLUI_Window_Template.aspx"]http://www.codeproje...w_Template.aspx[/url] ) that used VS2006 to install glui...but i tried using the same steps but this time in VS2008...and i keep getting linking errors or an alternative graphics user interface asides mfc thanks [code] Linking... 1>glui32.lib(glui_spinner.obj) : error LNK2001: unresolved external symbol __iob 1>glui32.lib(glui_edittext.obj) : error LNK2019: unresolved external symbol __iob referenced in function "public: virtual int __thiscall GLUI_EditText::mouse_down_handler(int,int)" (?mouse_down_handler@GLUI_EditText@@UAEHHH@Z) 1>glui32.lib(ALGEBRA3.OBJ) : error LNK2001: unresolved external symbol __iob [/code]
  3. OpenGL

    [quote name='Brother Bob' timestamp='1311884102' post='4841818'] I cannot say much about your problems since the description is quite vague and you're only showing small pieces of code. But whatever you do, you absolutely don't want to call glutMainLoop again after creating the window. [/quote] its a very long code....i omitted ones i thought were not necessary.... but if you still want me to put them ...just let me know........... i still could not find ways of working around the problem...since its imperative for me to create the window only when the button is clicked....the keyboard response has become very slow that i have to wait over 20secs for it to respond......this only happens after the second window has been created an destroyed....on first run(ie when its just the first window running) the keyboard works just fine. Problem Description what i want to achieve is to run my program which then creates the first window....then click a run anmation button which has the buttoncallback8 to start the animation.....if i then press esc to close the second window i want to be able to continue using both mouse and key function on window1.....but so far all i can do is create and destroy the second window(the animation also runs when the button is clicked which is fine)...but after destroying the second window i cant use the first effectively as the keyboard response slows down tremendously ...i have to wait over 20sec......i think the problem might be from my approach but i cant find an alternative method that will give the results i want...........i hope my description was better thanks for your help. 
  4. OpenGL

    hi, i am still having problems with multiple windows.....when i destroy the second window by pressing the esc key it closes but then i cant use the keyboard function on the main window....please could you give me an idea how to fix that....... i also noticed that when i click the button again to create the window after i have destroyed it ...it does not create thank you.. [code] void OnKeyAnimation(unsigned char key, int x, int y){ if (key == 27){ bool loadMast= false; bool loadReflector= false; bool loadReceiver= false; bool loadConnector= false; bool loadStand= false; glutDestroyWindow(window2); //exit(0); } } static void TheButtonCallback8() { loadMast = true; loadReflector = true; loadReceiver = true; loadConnector = true; loadStand = true; animate=true; if(window2==0){ window2 = glutCreateWindow("animation"); glutDisplayFunc(display2); glutReshapeFunc(animation_Reshape); glutIdleFunc(OnIdle1); glutKeyboardFunc(OnKeyAnimation); glutMouseFunc(Mouse); glutMotionFunc(Motion); InitGL(); glutMainLoop(); } printf("Run Animation"); } [/code]
  5. [quote name='Scorpie' timestamp='1311753207' post='4840987'] [quote name='GottiJay' timestamp='1311619337' post='4840116'] Tried to do some simple animations which basically moves individual model from one position to the other...each of them enclosed in an animation function ....the problem i have is when one animation finishes the model related to that animation disappears...making way for the model in the next animation.....which is not exactly what i want... what i want is for the first model to remain in its position while the second animation was running and the second and the first models remain in their position while the third model is running an so on...this is how my animation function looks thanks for your help [/quote] You forgot to attach your code, can you try to post it again because it's hard to pin-point the problem without. I was going to take some wild stabs in the dark but i came up with so many different possible problems i decided to just wait for the code [/quote] thanks Scorpie i'm just seeing your reply....i finally did fix it...i had some flagging issues which i resolved thank you
  6. OpenGL

    fixed it thanks very much just had to increase the delay for the first model....sorry for the bother thanks for all your help
  7. OpenGL

    fixed the model dispalying like shadows by basically just coping the part of the main to the call back.....dont know if its right but it seemed to work the only problem i now is that....the first model in the animation seem to go further than its end position in the animation....dont know the cause of that [code] static void TheButtonCallback8() { animate=true; loadMast = true; loadReflector = true; loadReceiver = true; loadConnector = true; loadStand = true; if(window2==0){ window2 = glutCreateWindow("animation"); glutDisplayFunc(display2); glutReshapeFunc(OnReshape); glutIdleFunc(OnIdle1); glutKeyboardFunc(OnKey); glutSpecialFunc (keyboard_s); glutMouseFunc(Mouse); glutMotionFunc(Motion); glutPassiveMotionFunc(MousePassiveMotion); InitGL(); glutMainLoop(); } printf("Run Animation"); } [/code]
  8. OpenGL

    solved the errors but its having serious effects on my animations ....cant explain why.....models don't display properly(look like shadows)...some timing orientations were also affected......any ideas on how i could solve this problem... [code] static void TheButtonCallback8() { if(window2==0){ window2 = glutCreateWindow("animation"); glutDisplayFunc(display2); //animation display glutReshapeFunc(OnReshape); glutIdleFunc(onIdle1); } printf("Run Animation"); } void OnIdle1() { if(window2 != 0) { rY += 0.05; glutPostWindowRedisplay(window2); } else { glutIdleFunc(0); glutDestroyWindow(window2); glutPostWindowRedisplay(window1); window2 = 0; rY = 0; } } void main(int argc, char** argv) { atexit(OnShutdown); glutInit(&argc, argv); glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH); glutInitWindowSize(width, height); //glutCreateWindow("GLUT Picking Demo [using selection buffer]"); // Make Main outer window window1 = glutCreateWindow("Satellite Assembly"); glutDisplayFunc(OnRender); glutReshapeFunc(OnReshape); glutIdleFunc(onIdle); glutKeyboardFunc(OnKey); glutSpecialFunc (keyboard_s); glutMouseFunc(Mouse); glutMotionFunc(Motion); glutPassiveMotionFunc(MousePassiveMotion); InitGL(); glutMainLoop(); [/code]
  9. OpenGL

    [quote name='Brother Bob' timestamp='1311541450' post='4839737'] All you need to do is create the second window as you need it, draw as usual, and destroy it when you're done. As I said in my first post, I'm not sure what specific part, or if it's the whole concept of having multiple window, you're having problem with. From your vague description of your program, it sounds like you just need to do the following: [list][*]When clicking the button, create a new window and register the callbacks for that window.[*]The new window's display callback displays the animation.[*]The new window's idle callback drives the animation forward.[*]When the animation is finished, destroy it.[/list] [/quote] thanks Brother Bob for your reply.......i am still having issues creating the second window.....the first window creates alright but when i click the button for the animation window to be created nothing happens.. any idea why this might be happening?? [code] void main(int argc, char** argv) { atexit(OnShutdown); glutInit(&argc, argv); glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH); glutInitWindowSize(width, height); //glutCreateWindow("GLUT Picking Demo [using selection buffer]"); // Make Main outer window window1 = glutCreateWindow("Satellite Assembly"); glutDisplayFunc(OnRender); glutReshapeFunc(OnReshape); glutIdleFunc(OnIdle); if(animate){ // Create First subwindow window2 = glutCreateWindow("Animation"); glutDisplayFunc(display2); glutReshapeFunc(animation_Reshape); glutIdleFunc(OnIdle1); } glutKeyboardFunc(OnKey); glutSpecialFunc (keyboard_s); glutMouseFunc(Mouse); glutMotionFunc(Motion); glutPassiveMotionFunc(MousePassiveMotion); InitGL(); glutMainLoop(); } static void TheButtonCallback8() { animate=true; loadMast = true; loadReflector = true; loadReceiver = true; loadConnector = true; loadStand = true; printf("Run Animation"); } [/code] thanks alot for your help
  10. Tried to do some simple animations which basically moves individual model from one position to the other...each of them enclosed in an animation function ....the problem i have is when one animation finishes the model related to that animation disappears...making way for the model in the next animation.....which is not exactly what i want... what i want is for the first model to remain in its position while the second animation was running and the second and the first models remain in their position while the third model is running an so on...this is how my animation function looks thanks for your help
  11. OpenGL

    thanks guys for your reply.... @Brother Bob ..i have a window already with 2D buttons rendered...but i want to also add animations into my program..but i want the animations to run in another opengl window after the animation button has been clicked....then return back to the first window after the animation is finished... @SimonForsman...thanks for the link ..i'll take a look at it...
  12. hi, just wanted to ask if it was possible to have two opengl windows.....something of this nature......run program first window displays click button in the first window and the second window displays covering the first one...close the second window the first window dislays again... if this is possible can anyone please tell me how i could achieve that...... working with opengl and glut thank you.
  13. this is supposed to be easy...but i dont understand what i am doing wrong....trying to move my object from one position to another in an animation...but it just keeps moving and wont stop....any ideas on how i could achieve this ....a short snippet would be helpful thanks [code] glPushMatrix(); glTranslatef(pos1X,Pos1Y,Pos1Z); glRotatef( rot_a, 0, 0, 1 ); Draw_A(); glPopMatrix(); glPushMatrix(); glTranslatef(pos2X,Pos2Y,Pos2Z); glRotatef( rot_b, 0, 0, 1 ); Draw_B(); glPopMatrix(); void idle(){ if ( animate==false ){ if (pos1X > 0) pos1X -= 0.020f; } if (pos1X == 0) animate=true; rY += 0.02; glutPostRedisplay(); } [/code]
  14. OpenGL

    [quote name='Nanoha' timestamp='1311346687' post='4838950'] A screenshot might be useful. How are you moving the models, in a plane perpendicular to the camera? Its not really unusual that this will happen as your only moving things in 2d. You could try moving things along a ground plane. Another option might be to have globally axis aligned handles on your objects and drag those around. [/quote] thanks Nanoha for your reply i am new to opengl, i just know i can move the models in x, y and z axis...but i placed the models in such a way i dont have to move them in the z axis when trying to assemble them, how do i implement this axis aligned handles. thanks
  15. i just implemented an opengl program, where could load,drag and rotate models....but my navigation seems to be screwed up...the aim of this program is to show i could assemble all the models together...but every time i drag the models closer to each other ..they look like they are connected from one camera angle...but once i rotate the camera to another angle i see a completely different result the models are no where close to each other....i am so lost now i dont know what the problem is.....please any ideas on what i should be doing will be great . thanks