• 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.

officialhopsof

Members
  • Content count

    9
  • Joined

  • Last visited

Community Reputation

127 Neutral

About officialhopsof

  • Rank
    Newbie
  1. I am looking for a writer [deleted]
  2. OpenGL

    Thank you for your response, That was my initial thought as well; however, I was really hoping for a more robust solution. Thank you for your time, Brandon Murphy
  3. Basically, I have a 3d world, and I need to place a single pixel at a location in this 3d world. Whenever the camera looks at the point, I need the pixel to be visible, regardless of its distance from the viewer. I tried just drawing a sphere, but as it gets farther away it gets smaller (as it should). Eventually it gets so small it is no longer drawn, which again, makes perfect sense. But I need to be able to see at least one pixel of this sphere at all times. I am not using OpenGL directly, but am using a Visualization package (vega prime) that uses OpenGL under the hood, which I am able to gain access to. I am also not very well versed in how OpenGL works and as such would very much consider myself a novice of it. I am developing on Windows XP with both CodeBlocks (with mingw) and with VC++ 2003. If you could show me just a very minimalistic example of how to do this, I would be very grateful. Just something like showing me a single drawing routine (like from glBegin() and glEnd()) would be best. The visualization package takes care of all the windows nonsense for me. Thank you very much for your time and help, Brandon Murphy
  4. I just realized my error when i typed that up. while(!fileParser.atEnd()) { int shape = fileParser.next(); int points; if (shape == GL_TRIANGLES) {points = 3;} else if (shape == GL_QUADS) {points = 4;} glBegin(shape); for(int i = 0; i < points; i++) { glColor3f(fileParser.next(), fileParser.next(), fileParser.next()); glVertex3f(fileParser.next()*scale, fileParser.next()*scale, fileParser.next()*scale); } glEnd(); //and put it here } fileParser.restart(); //Move glEnd(); from here its amazing how such simple things can be so hard to find, but when you take a step back and look at them they become obvious. Thank you for your help, Brandon
  5. while(!fileParser.atEnd()) { int shape = fileParser.next(); int points; if (shape == GL_TRIANGLES) {points = 3;} else if (shape == GL_QUADS) {points = 4;} glBegin(shape); for(int i = 0; i < points; i++) { glColor3f(fileParser.next(), fileParser.next(), fileParser.next()); glVertex3f(fileParser.next()*scale, fileParser.next()*scale, fileParser.next()*scale); } } fileParser.restart(); glEnd(); fileParser just stores the colors/vertices in order
  6. I have this situation: Fill and in wirefram: Wireframe Now, as you can see, in the filled one, there are holes showing up, but in the wire frame one, everything seems like it should be. I have face culling disabled, and I am using: glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LESS); does anyone know what may be going wrong here? Just a nudge in the right direction would be fantastic. Thank you, Brandon
  7. I am able to move the object around in 3d space, but i think i may be onto something. When i glEnable( GL_CULL_FACE ); then all of a sudden it works on the cube. now i translated this into my actual application, and the back sides of stuff arnt shown, but i am able to see parts of my model that i couldnt before. What i think is happening, is that when face culling is disabled, some parts of my model show up in front of parts that are closer to the camara. to clarify, faces that are farther away, are showing up in front of faces that are nearer to the camara. I think it has something to do with the depth test, but when i enable it, i get a really broken image. Is there a way to fix this? Thank you, Brandon [Edited by - officialhopsof on October 30, 2008 4:39:40 PM]
  8. The camera is at the default, whatever OpenGL Specifies. glDisable( GL_CULL_FACE ); didnt seem to work. Thank you, Brandon
  9. I have this situation: glBegin(GL_QUADS); // Draw The Cube Using quads glColor3f(0.0f,1.0f,0.0f); // Color Blue glVertex3f( 1.0f, 1.0f,-1.0f); // Top Right Of The Quad (Top) glVertex3f(-1.0f, 1.0f,-1.0f); // Top Left Of The Quad (Top) glVertex3f(-1.0f, 1.0f, 1.0f); // Bottom Left Of The Quad (Top) glVertex3f( 1.0f, 1.0f, 1.0f); // Bottom Right Of The Quad (Top) glColor3f(1.0f,0.5f,0.0f); // Color Orange glVertex3f( 1.0f,-1.0f, 1.0f); // Top Right Of The Quad (Bottom) glVertex3f(-1.0f,-1.0f, 1.0f); // Top Left Of The Quad (Bottom) glVertex3f(-1.0f,-1.0f,-1.0f); // Bottom Left Of The Quad (Bottom) glVertex3f( 1.0f,-1.0f,-1.0f); // Bottom Right Of The Quad (Bottom) glColor3f(1.0f,0.0f,0.0f); // Color Red glVertex3f( 1.0f, 1.0f, 1.0f); // Top Right Of The Quad (Front) glVertex3f(-1.0f, 1.0f, 1.0f); // Top Left Of The Quad (Front) glVertex3f(-1.0f,-1.0f, 1.0f); // Bottom Left Of The Quad (Front) glVertex3f( 1.0f,-1.0f, 1.0f); // Bottom Right Of The Quad (Front) glColor3f(1.0f,1.0f,0.0f); // Color Yellow glVertex3f( 1.0f,-1.0f,-1.0f); // Top Right Of The Quad (Back) glVertex3f(-1.0f,-1.0f,-1.0f); // Top Left Of The Quad (Back) glVertex3f(-1.0f, 1.0f,-1.0f); // Bottom Left Of The Quad (Back) glVertex3f( 1.0f, 1.0f,-1.0f); // Bottom Right Of The Quad (Back) glColor3f(0.0f,0.0f,1.0f); // Color Blue glVertex3f(-1.0f, 1.0f, 1.0f); // Top Right Of The Quad (Left) glVertex3f(-1.0f, 1.0f,-1.0f); // Top Left Of The Quad (Left) glVertex3f(-1.0f,-1.0f,-1.0f); // Bottom Left Of The Quad (Left) glVertex3f(-1.0f,-1.0f, 1.0f); // Bottom Right Of The Quad (Left) glColor3f(1.0f,0.0f,1.0f); // Color Violet glVertex3f( 1.0f, 1.0f,-1.0f); // Top Right Of The Quad (Right) glVertex3f( 1.0f, 1.0f, 1.0f); // Top Left Of The Quad (Right) glVertex3f( 1.0f,-1.0f, 1.0f); // Bottom Left Of The Quad (Right) glVertex3f( 1.0f,-1.0f,-1.0f); // Bottom Right Of The Quad (Right) glEnd(); // End Drawing The Cube *are there not [code] blocks on this forum? I cant seem to find it well as you can see, if you draw that, the front face is missing, and you see the inside of the cube. How can i correct this error? Thank you