LWJGL Forum

Programming => OpenGL => Topic started by: seccanj on December 12, 2007, 18:22:00

Title: Drawing holes into shapes
Post by: seccanj on December 12, 2007, 18:22:00
Hello,
as an OpenGL newbie I can't understand how to draw a simple hole into a square floor...  looks like I should use tessellation, but does lwjgl support that?

Is there any other way of doing it?

Thanks,
Roberto
Title: Re: Drawing holes into shapes
Post by: kappa on December 12, 2007, 19:10:56
you could just stick texture on the quad which has a transparent circle on it.
Title: Re: Drawing holes into shapes
Post by: seccanj on December 13, 2007, 08:31:31
Good idea! Thanks, I'll try that.
Roberto