Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

116 Neutral

About QIZI94

  • Rank
  1. You probably don't understand, I know how to compile SDL,GLUT,aux etc. on linux, I always uses SDL or glut, but now I want to create an "StandAlone" application what do not use any special libraries what to need  be install, it should only use OS defaults(GL.h,GL.u,maybe glx.h).     And that link you posted is very usefull but I don't have time to understand and be able to use it.   I need some more simple solution for this, when I was "googling" I found this opengl turorial what using a glBitmap()  http://fly.cc.fer.hr/~unreal/theredbook/chapter08.html It's simpliest solution but, ist's not working for me now, my 3d scene is drawing, but text isn't and before you ask, yes I create new projection under scene, I realy need help with this.
  2.   I say otherwise, I personaly don't want use SDL,GLUT,AUX etc. because I am using winapi (and x11 in linux ofcourse) and because I don't want have .dll file with .exe   I will not react on that because I  do not want to start guessing.  
  3. Yes it's good idea, but I don't have that much skill in this case, I can use it only if you post some script, to understanding.
  4. Hello guys, I need some header library to drawing 2d-text in opengl, I can't use any libs what requesting a .dll file(because I want use it in linux too).   It is for school project and I am running out of time, then if you have some usefull links or your's own solutions, post they here please.  
  5. QIZI94

    Object behind another object

    Yes I know, I wrote that I tryed glEnable (GL_DEPTH_TEST) and glDepthFunc (GL_LEQUAL) (and I uses glClearDepth(1.0f) and glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT)).    I cannot post my code, because is more complex and is always in classes, structures and unions. I can only better explain my problem and post all glEnables and some stuff from my scripts.   Ok, where I can  begin..... I have scene/game, who is about Solar System, I am using primitive object sphere and i have 3 object Universe(rotating background), Sun and one planet. Camera is look on sun and planet is behind sun, but what i see with camera is this(without Depht test):        And when I enable: glClearDepth(1.0f) glEnable(GL_DEPTH_TEST) glDepthFunc(GL_LEQUAL) glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST)   and in loop i have: glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT) I see this:  
  6. Hello, I am creating a OpenGL scene and i have problem when two 3d object are on one X, Y position and have different Z positions, because the display order are not controling by the Z position, but the display order in script.   I am using C++ and Windows WINAPI.   On google i find some solution for glut or linux devices using glEnable(GL_DEPTH_TEST) and glDepthFunc(GL_LEQUAL), but that is not good solution for WINAPI becouse screen start blinking and objects was damaged.   Can someone help me ?
  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!