gl.GroundQuad

gl.GroundQuad

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

gl.GroundQuad

Post by Argh »

gl.GroundQuad won't draw, if the map geometry is hidden. Yet the heightmap is there... why is that?

Also, it appears it's rebuilding the vertexes constantly, instead of shrinking / growing the texture coordinates used. Couldn't it be written to a display list at whatever the max size will be, and just adjust the texcoords via a shader?

Sorry if the above seems strange, but I'm fairly certain it can be done very cheaply, at least for a one-way ride. I'll probably get around to messing with doing that via Lua at some point.
Post Reply

Return to “Engine”