Results 1 to 5 of 5

Thread: how to display 3d graphic and 2d sprites w/o using textures

  1. #1
    Junior Member
    Join Date
    Aug 2005
    Posts
    4

    how to display 3d graphic and 2d sprites w/o using textures

    Hi, I want to a 2d background layer ,then a 3d graphics on the middle, then another 2d image on another layer. Can i do this without using textures?

  2. #2
    Junior Member
    Join Date
    Oct 2005
    Location
    fr/35/rennes
    Posts
    9

    Re: how to display 3d graphic and 2d sprites w/o using textu

    Quote Originally Posted by lawrencesuniga
    Hi, I want to a 2d background layer ,then a 3d graphics on the middle, then another 2d image on another layer. Can i do this without using textures?
    I am looking a way to do that too, i am about to "hack the opengl context", is it the only way to ?
    # how comes there is no way to directly copy an image to the colorbuffer ?
    # http://www.khronos.org/message_boards/v ... .php?t=511

    # http://rzr.online.fr/java.htm # 3d demo on all java phones

  3. #3
    Junior Member
    Join Date
    Oct 2005
    Location
    Bangalore , India
    Posts
    6
    probably u can use the concept of multiple viewports . u have to use two different viewports and their respective camera(i.e ugLookAT()s .).

    one camera and its world is static pointing only the background textured plane.

    and the other camera can move in the 3d world.
    Regards,
    Chandru

  4. #4
    Junior Member
    Join Date
    Mar 2005
    Location
    UK
    Posts
    24

    Re: how to display 3d graphic and 2d sprites w/o using textu

    Quote Originally Posted by lawrencesuniga
    Hi, I want to a 2d background layer ,then a 3d graphics on the middle, then another 2d image on another layer. Can i do this without using textures?
    Why wouldn't you want to use textures? You'll get much faster renders if you do. A basic rule of 3D acceleration: never mix 2D and 3D.

  5. #5
    Junior Member
    Join Date
    Oct 2005
    Location
    fr/35/rennes
    Posts
    9

    Re: how to display 3d graphic and 2d sprites w/o using textu

    Quote Originally Posted by AaronBurton
    Quote Originally Posted by lawrencesuniga
    Hi, I want to a 2d background layer ,then a 3d graphics on the middle, then another 2d image on another layer. Can i do this without using textures?
    Why wouldn't you want to use textures? You'll get much faster renders if you do. A basic rule of 3D acceleration: never mix 2D and 3D.
    I refuse to believe that..

    Making some 4/3 ratio textures implies copy ... why copy a full screen buffer when you can just blit it to a offscreen buffer ? especially when the background texture change on each frame ..

    Creating a texture cost at least 10ms on my driver (hardware)
    # how comes there is no way to directly copy an image to the colorbuffer ?
    # http://www.khronos.org/message_boards/v ... .php?t=511

    # http://rzr.online.fr/java.htm # 3d demo on all java phones

Similar Threads

  1. Point Sprites and clipping
    By Adam Hammer in forum OpenGL ES 1.X - fixed function hardware
    Replies: 0
    Last Post: 10-19-2010, 03:29 AM
  2. Point Sprites slower under ES 2.0 than 1.1 ?
    By RunSwimFly in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    Replies: 2
    Last Post: 08-13-2010, 10:28 AM
  3. Animated Sprites
    By Xavier in forum OpenGL ES general technical discussions
    Replies: 4
    Last Post: 07-30-2008, 03:13 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
  •