I was assured there would be no math!

Feb 03, 2009 01:12

Soooo, I haven't said much about the vector engine the last few days because I had to go into the guts of the thing and rethink how I was modeling the map.

Read more... )

nagawrimo

Leave a comment

Comments 3

packbat February 3 2009, 16:24:40 UTC
Yay interesting stuff!

Reply


GL_MAX anonymous February 5 2009, 10:34:53 UTC
You still seem to have corners glowing too brightly. Did you ever try drawing with GL_MAX and fading through color intensities instead of the alpha channel?

(With glBlendEquation(GL_MAX) set, OpenGL ignores the alpha channel and uses the maximum of the color intensity you're drawing and the color intensity on the screen. So, instead of drawing polygons fading from transparent white to opaque white, you should draw them fading from black to white.

Or, if you draw opaque green on top of opaque red with GL_MAX, you'll get yellow. Simple!)

Reply

Re: GL_MAX ksleet February 5 2009, 20:04:09 UTC
I haven't revisited the graphics blending problems since that time -- I've been focusing on map generation. That said, as soon as some map generation issue finally drives me up the wall I'll probably go back and try this idea. :)

Reply


Leave a comment

Up