LWJGL
May 21, 2012, 00:54:52
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.8.3 released!
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
OpenGL
>
drawing objects
Pages: [
1
]
« previous
next »
Print
Author
Topic: drawing objects (Read 1483 times)
palody
Newbie
Posts: 7
drawing objects
«
on:
May 17, 2007, 12:20:18 »
i drew a table using 5 cubes that i just scaled.. i also used devil to bind textures to it.
however, when i move the camera up, i could see the table legs through the table. does anybody know how to undo that?
Logged
bobjob
Prolific Timewaster
Posts: 335
LWJGL: WOW SO GOOD
Re: drawing objects
«
Reply #1 on:
May 17, 2007, 17:28:35 »
do this when setting up opengl
GL11.glEnable(GL11.GL_DEPTH_TEST); // Enables Depth Testing
GL11.glDepthFunc(GL11.GL_LEQUAL);
Logged
LWJGL Benchmark online test:
http://have2chat.net/benchmark/
http://have2chat.net/benchmark/fullpage.html
(run full OpenGL webpage)
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...