Fix gl.DrawGroundQuad

Fix gl.DrawGroundQuad

Requests for features in the spring code.

Moderator: Moderators

Post Reply
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Fix gl.DrawGroundQuad

Post by Google_Frog »

gl.DrawGroundQuad with gl.DepthTest(true) clips into hills on sloping terrain. It should not clip into the terrain (like gl.Utilities.DrawGroundCircle in ZK).
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Fix gl.DrawGroundQuad

Post by jK »

Status: close
Resolution: can't fix
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Fix gl.DrawGroundQuad

Post by Google_Frog »

Aww... How about the ability to edit the map texture with lua?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Fix gl.DrawGroundQuad

Post by jK »

the same
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Fix gl.DrawGroundQuad

Post by zwzsg »

Spring.SetDrawGround(false) and your Lua doodles won't clip into the terrain. Yes, quite a radical solution, but works for me.
User avatar
Cheesecan
Posts: 1571
Joined: 07 Feb 2005, 21:30

Re: Fix gl.DrawGroundQuad

Post by Cheesecan »

Why can't it be fixed? It is a big problem to not be able to draw on bumpy terrain. Spring.SetDrawGround(false) doesn't seem to help prevent clipping anymore?
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Fix gl.DrawGroundQuad

Post by Google_Frog »

I saw this commit.

https://github.com/spring/spring/commit ... 63e57f3aca

Does it do what I think it does and how does it work?
Post Reply

Return to “Feature Requests”