Results 1 to 3 of 3

Thread: A lwjl query

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

    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.

    Manish

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,244
    Rep Power
    19

    Default Re: A lwjl query

    Cross posted
    A lwjgl query - Minecraft Forum

    Any more?

    db
    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
    Location
    Melbourne, Victoria, Australia
    Posts
    155
    Rep Power
    4

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