Simple LEvel Editor for Panda3D (WORKING!)


#101

Hey, nice project, could you make a list at the original post which outlines everything that it can do? Would help figure out instead of reading through everything.


#102

I’ll go edit the first post, but I’ve made an manual, that should be some help:
htmlpreview.github.io/?https://g … index.html


#103

I’ve made a ‘little’ update to the editor.

There’s a new function - a ‘smooth brush’ it will blur the heightmap with it you can turn something like this:

into this:

Some nonsense shaders have been fixed, and to make things faster fog-blur, shadows and distrortions have been removed. The new shaders don’t use vertex tangent and binormal inputs so making new models for the editor should be a bit simpler (normal mapping still works, the fragment shader calculates the needed cotangent frame).

The default save method is now to write the data into a sqlite database, but it can be changed at will as I wrote a few posts up.

Some models have been added to the repo:
-7 barrel models
-3 basket models
-16 rocks
-14 boxes
-3 wood debris
-11 jugs
-4 menhirs
-6 sacks
-5 shelfs
-16 stones
-3 chairs
-5 tables
-128 tile elements (98 walls, 10 floors, 20 corners)
-a wooden fence (6 variants)
-low stone wall
-animated fisherman with idle and talk animations (a bit big, needs to be scaled)
-bad, bowl, bucket, broom, mug, plate, 2 houses, still… dead chicken.

There are still some errors but I hope I can fix’em soon.


#104

Hi, I really want to use this, but I’m getting errors, here is what I get.

andrew@bluebox:~/Downloads/koparka-master$ python main.py
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
:display:gsg:glgsg(error): An error occurred while compiling GLSL shader shaders/cloud_v.glsl:
0:2(10): error: GLSL 1.40 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
:display:gsg:glgsg(error): An error occurred while compiling GLSL shader shaders/cloud_f.glsl:
0:2(10): error: GLSL 1.40 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
:display:gsg:glgsg(error): An error occurred while compiling GLSL shader shaders/terrain_v.glsl:
0:2(10): error: GLSL 1.40 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
:display:gsg:glgsg(error): An error occurred while compiling GLSL shader shaders/terrain_f.glsl:
0:2(10): error: GLSL 1.40 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
:display:gsg:glgsg(error): An error occurred while compiling GLSL shader shaders/grass_v.glsl:
0:2(10): error: GLSL 1.40 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
:display:gsg:glgsg(error): An error occurred while compiling GLSL shader shaders/grass_f.glsl:
0:2(10): error: GLSL 1.40 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
:display:gsg:glgsg(error): An error occurred while compiling GLSL shader shaders/fxaa_f.glsl:
0:3(12): warning: extension `GL_EXT_gpu_shader4' unsupported in fragment shader
0:29(15): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'; candidates are:
0:29(15): error: type mismatch
0:30(15): error: no function with name 'texture2DLodOffset'
0:30(15): error: type mismatch
0:31(15): error: no function with name 'texture2DLodOffset'
0:31(15): error: type mismatch
0:32(15): error: no function with name 'texture2DLodOffset'
0:32(15): error: type mismatch
0:33(14): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'; candidates are:
0:33(14): error: type mismatch
0:58(2): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'; candidates are:
0:58(2): error: type mismatch
0:59(2): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'; candidates are:
0:59(2): error: type mismatch
0:58(2): error: operands to arithmetic operators must be numeric
0:57(14): error: operands to arithmetic operators must be numeric
0:61(2): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'; candidates are:
0:61(2): error: type mismatch
0:62(2): error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'; candidates are:
0:62(2): error: type mismatch
0:61(2): error: operands to arithmetic operators must be numeric
0:60(33): error: operands to arithmetic operators must be numeric
0:60(14): error: operands to arithmetic operators must be numeric

#105

What kind of video card do you have? Have you installed the latest drivers?


#106

sorry that was the problem thanks :slight_smile:


#107

Yes you must have video drivers installed and also if you notice you have no cursor thats the reason


#108

A big mess up in Python 3.6. Can you please release it for Python 3.6?


#109

The configure for stone, sea and sky doesnt work for me :frowning:


#110

Please make this for android phones,thanks


#111

I don’t think I’ll have any free time to revisit the code and fix bufs/update to py3 in the next month or two.


#112

thanks wezu…