|
In lugnet.cad, Don Heyse wrote:
|
If you prefer not to sort at all you can use glEnable(GL_POLYGON_STIPPLE)
for transparent polygons. It doesnt look nearly as good, but its really
easy to code.
Have fun,
Don
|
If you want a visual example on stipple, look at my LD4DStudio, it uses it for
transparent stuff.
In combination with depth buffer you dont need to sort anything just push the
triangles and/or quad cords using glDrawElements and optionally vbo.
vbo means the driver will try to put all vertex data in video memory for
rendering, this is about four times faster on most cards.
Ill try to (re)find the tutorials/website I used to get started with LD4DStudio
and post them tonight. But most stuff you can find by doing a search on
glDrawElements and vbo (vertex buffer object)
ps: i suggest moving this to dev
Roland
|
|
Message is in Reply To:
| | Re: LDForge - dev. plans and call for help
|
| (...) If you prefer not to sort at all you can use glEnable(GL_POLYGON_STIPPLE) for transparent polygons. It doesn't look nearly as good, but it's really easy to code. Have fun, Don (15 years ago, 31-Mar-10, to lugnet.cad, FTX)
|
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|