You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I make a game on GNU / Linux Pop_OS! using UPBGE 0.36
I have 32 GB RAM from which the whole setup uses only 17 GB ( blender ( upbge ) takes only about 3 GB )
CPU is working during the game only at about 20%
I have an AMD GPU and I head that there are problems with those ( the UI flickers for example ). Maybe I just need to restart my computer. But still this is some hella crazy bug.
Graphics_Gliches0001-1933.mp4
The text was updated successfully, but these errors were encountered:
Found what does the trick. I noticed that the white frame started when the car hit the light stand. So I did that a few times. And most of the other times it was from hitting a light stand. ( Perhaps in other times, NPC were hitting light stands ).
I had a Rolling Friction setting on the light stand to be 1.0 I reduced it to 0.0 and it stopped crashing the rendering. I put it back to 1.0 and it started crashing the rendering again.
Here is the code I use to spawn light stands:
for i in bge.logic.globalDict.get("light-spawns", []):
inview = cam.pointInsideFrustum(i.worldPosition) == cam.INSIDE
if i["to_spawn"] and i.getDistanceTo(dani) < spawnAtDistance and inview:
if i["LightSpawn"] not in bge.logic.globalDict["all-lights"]:
bge.logic.globalDict["all-lights"][i["LightSpawn"]] = []
found = False
for obj in bge.logic.globalDict["all-lights"][i["LightSpawn"]]:
if cam.pointInsideFrustum(obj.worldPosition) == cam.OUTSIDE and obj.getDistanceTo(dani) > spawnAtDistance/3:
found = True
obj.suspendDynamics(True)
obj.position = i.worldPosition
obj.position[2] += 5
obj.orientation = i.worldOrientation
obj["spawner"]["to_spawn"] = True
break
if not found:
obj = scene.addObject(i["LightSpawn"], i["LightSpawn"])
obj.suspendDynamics(True)
obj.position = i.worldPosition
obj.position[2] += 5
obj.orientation = i.worldOrientation
bge.logic.globalDict["all-lights"][i["LightSpawn"]].append(obj)
obj["spawner"] = i
i["to_spawn"]= False
I make a game on GNU / Linux Pop_OS! using UPBGE 0.36
I have 32 GB RAM from which the whole setup uses only 17 GB ( blender ( upbge ) takes only about 3 GB )
CPU is working during the game only at about 20%
I have an AMD GPU and I head that there are problems with those ( the UI flickers for example ). Maybe I just need to restart my computer. But still this is some hella crazy bug.
Graphics_Gliches0001-1933.mp4
The text was updated successfully, but these errors were encountered: