2024-03-29 15:19 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004494Spring engineLuapublic2015-01-14 04:23
ReporterFloris 
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version97.0 
Target VersionFixed in Version 
Summary0004494: UnitShapes (and fancy selection) widget doesnt render anymore
DescriptionWhile on 96 its just fine...
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0013490

Google_Frog (reporter)

I have this problem as well. From asking around it appears to be hardware related.

SDL version: linked 2.0.2; compiled 2.0.2
GL version: 4.4.0
GL vendor: NVIDIA Corporation
GL renderer: GeForce GTX 560 Ti/PCIe/SSE2
GLSL version: 4.40 NVIDIA via Cg compiler
GLEW version: 1.5.8
Video RAM: total 1024MB, available 677MB
FBO::maxSamples: 32
GL info:
    haveARB: 1, haveGLSL: 1, ATI hacks: 0
    FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 1
    maximum texture size: 16384, compress MIP-map textures: 0
    maximum SmoothPointSize: 190, maximum vec4 varying/attributes: 31/16
    maximum drawbuffers: 8, maximum recommended indices/vertices: 1048576/1048576
    number of UniformBufferBindings: 84 (64kB)

~0013492

abma (administrator)

link? url? how to reproduce?

any errors with DebugGL=1?

~0013493

Google_Frog (reporter)

The ZK widget is here: https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaUI/Widgets/unit_shapes.lua
It has changes and I am not sure if it will work without the settings management infrastructure. For reverse compatibility it disables itself with new engine versions unless you unset the option disableWithNewEngine. You are probably better off getting the stand alone version from Floris.

To reproduce use the widget and select some units. Nothing is drawn even though the draw calls are reached and the same widget will work in earlier engine versions (before SDL2).

I think I tried DebugGL=1 a while ago with no result. I will try again when I get the chance.

~0013494

Floris (reporter)

Okay, I've uploaded the version I have:
http://floris.ruwhof.net/upload/unit_shapes.lua

~0013791

Floris (reporter)

I've looked into the code and tested if it was the structure's fault, but it was not.

I think it probably has to do with the use of:
gl.ColorMask(false, false, false, true)

What could have changed since .96?

~0013884

jK (developer)

why the true in alpha?
+Notes

-Issue History
Date Modified Username Field Change
2014-08-07 01:08 Floris New Issue
2014-08-09 14:22 Google_Frog Note Added: 0013490
2014-08-09 15:44 abma Note Added: 0013492
2014-08-09 17:48 Google_Frog Note Added: 0013493
2014-08-09 18:00 Floris Note Added: 0013494
2014-11-01 04:57 Floris Note Added: 0013791
2014-11-03 02:09 abma Target Version => 99.0
2015-01-03 04:20 abma Target Version 99.0 =>
2015-01-03 15:11 jK Note Added: 0013884
2015-01-11 15:07 Changeset attached => spring develop 854cf3cb
2015-01-11 15:07 Anonymous Status new => resolved
2015-01-11 15:07 Anonymous Resolution open => fixed
2015-01-11 15:45 jK Changeset attached => spring develop fdfc3993
2015-01-11 15:45 jK Assigned To => jK
2015-01-14 04:23 abma Changeset attached => spring develop 15b5c22e
2015-01-14 04:23 abma Assigned To jK => abma
+Issue History