Results 1 to 3 of 3

Thread: A lwjl query

  1. #1
    jgamer is offline Member
    Join Date
    Jan 2012
    Rep Power

    Default A lwjl query

    Hi All,

    I am currently going through lwjgl beginner tutorials.
    In most of the tutorials there is a run method which does following:
    First it calls Display's create method.
    Then it runs a while loop in which it calls update logic and then render method.

    In render method I understand(hopefully correctly) that OpenGL methods are called to do rendering.
    What I see is that every vertex of every object I want to have is handled.
    Does it mean I need to do this basic low level handling for every object in my game/program?Won;t it make render method too big and unmanageable?It just doesn't make sense.

    Please rectify me if my understanding is wrong.


  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: A lwjl query

    Cross posted
    A lwjgl query - Minecraft Forum

    Any more?

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    jammas615 is offline Senior Member
    Join Date
    Jul 2011
    Melbourne, Victoria, Australia
    Rep Power

    Default Re: A lwjl query

    OpenGL is a low-level graphics rendering API. Yes you do need to handle all your objects. But if you approach to problem from and object-oriented point of view, it will make your life much easier.

Similar Threads

  1. SQL query to HQL
    By alvin0618 in forum JDBC
    Replies: 3
    Last Post: 04-08-2011, 10:00 AM
  2. hql query
    By murali23krishna in forum JDBC
    Replies: 1
    Last Post: 03-17-2011, 08:25 AM
  3. Help in Query
    By geeta_ravikanti in forum JDBC
    Replies: 0
    Last Post: 03-31-2008, 02:16 PM
  4. Using sql:query tag
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-15-2008, 04:13 PM
  5. Using sql:query tag
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-14-2008, 10:31 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