CLOUGHAX

Member
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

100 Neutral

About CLOUGHAX

  • Rank
    Newbie
  1. Ok ive started learning openGL over my holidays and wanted to test my knowledge before going on any further with my studies. So im currently at transformation and want to get to the bottom of this obstacle or feel comfortable enough to move on. What currently holding me up is that im trying to move a camera or control the orientation of an object using a reference frame instead of like using gluLookAt() or glRotate() or glTranslate(). The thing is i got everything to work except rotating on the xAxis. What is happening is that after rotating on yAxis and then you rotate on the x axis it continues to rotate on the original xAxis and not the one in which you have rotated to. So im wondering how do you change your vectors to the one that your facing using quaternions since thats the method im using to control my frames.
  2. Gluax Replacement Code

    Well thanks for the advice ill try and give it another shot although the last tutorial i did on bitmap was a total garbage and it seemed as if the writer got fed up at the end and just pasted the rest of the code which was in fact incomplete and had me stuck for a couple hours trying to figure out his gibberish. But i got fed up and just download an incredible library named free freeImage that works but i dont feel satisfied knowing that it wasnt me who wrote the code. So ill give it a next shot
  3. Gluax Replacement Code

    [b] [font="helvetica, arial, verdana, tahoma, sans-serif"][color="#5a5a5a"]@[/color][/font][url="http://www.gamedev.net/user/37987-lc_overlord/"]lc_overlord[/url][font="helvetica, arial, verdana, tahoma, sans-serif"][color="#5a5a5a"] Run-time error when deallocating the [font=courier new,courier,monospace]data[/font] pointer[/color][/font][/b] [b] [color=#5A5A5A][font=helvetica, arial, verdana, tahoma, sans-serif]I have tested your AUX_RGBImage class and for the most part it works until when the program reaches the point of deallocating the byte [font=courier new,courier,monospace]data[/font] variable through either the destructor or when [font=courier new,courier,monospace]data!=NULL[/font]. I have been trying to solve the problem ever since but it keeps crashing when i reach that point and the only conclusion is can come to is that i overlooked something concerning classes and dynamic allocation or the microsoft visual 2010 compiler is not working cause i even realize that from the code you allocated an byte array so to actually deallocate it wold be [font=courier new,courier,monospace]delete[] data,[/font] but thats not working either. I may be wrong in hypothesis and thats the reason for me making this request for your help.[/font][/color][/b]