Results 1 to 8 of 8

Thread: OpenGL ES 2.0 OBJ and png loader

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2014
    Posts
    21

    OpenGL ES 2.0 OBJ and png loader

    Hi,

    I have just moved to the Java, and OpenGL ES 2.0. I am programming in Eclipse. I wanted to ask you, for some loaders, which will load obj and png files. I want just a simple loader, which will load the full object(verticies, color, indicies).

    I tried to search on internet but i did not find something helpfull.

    Thanks in advance.

    btw. Do anyone know, how to make a full-screen app? I am using a Blank Activity, so it looks like : http://img24.cz/images/36776684751189445927.png . How to make that the application will be in full-screen? (you will not see the name, icon..)

    EDIT: for full-screen mode i found
    Code :
    this.requestWindowFeature(Window.FEATURE_NO_TITLE); // (NEW)
            getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                WindowManager.LayoutParams.FLAG_FULLSCREEN);

    just put it to onCreate func.

    But, if i am using that code, and when i minimize the game by handling the home button(there you can close running applications) the game doesnt respond, and it is starting again. but when i only minimize it by house button it is ok.
    So the code is not a fully correctly

  2. #2
    Member Contributor
    Join Date
    Jul 2014
    Location
    Italy, Lissone
    Posts
    80
    concerning image in java there are specifics library to load various image formats, concerning obj files searc on the web the format specifications and write your code.

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2014
    Posts
    21
    Which libraries? I can not find them.

  4. #4
    Junior Member Newbie
    Join Date
    Aug 2014
    Posts
    21
    I found ImageIO, QGLWidget but i dont know how to install them.

  5. #5
    Junior Member Newbie
    Join Date
    Aug 2014
    Posts
    21
    So? I am a bit of idiot, so i would need a reall help, step by step.

    What i really want is a page with a download link of that library. Please

  6. #6
    Senior Member Regular Contributor
    Join Date
    Sep 2013
    Posts
    186
    Perhaps you should instead look at a full blown engine like libGDX which will do these things for you. If you are a beginner it might be very though to do everything by scratch.

  7. #7
    Junior Member Newbie
    Join Date
    Aug 2014
    Posts
    21
    Maybe it would help me. but, is there any hook in this? because it is a free engine which greatly simplifies your work, it is for game-development, like i am reading. I cant belive, why it is free?


    btw. it is a new things to learn, i think the loaders would be better.

  8. #8
    Senior Member Regular Contributor
    Join Date
    Sep 2013
    Posts
    186
    Why should it not be?
    The developers make it for fun and their personal enjoyment and share their work with others. Not everybody wants to have money, some prefer personal satisfaction.

Similar Threads

  1. OpenGL C++ Image loader
    By DarkGeneral in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 12-24-2012, 02:54 PM
  2. C++ opengl sfml obj loader help
    By Enlighten in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 04-22-2012, 06:59 AM
  3. OBJ Loader for OpenGL ES 1.5
    By pericus in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 10-28-2010, 10:23 AM
  4. JPG Loader for OpenGL
    By kartik in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 06-28-2010, 03:09 PM
  5. looking for a 3ds obj loader in delphi for opengl
    By svg in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-28-2001, 04:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean