Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

112 Excellent

About klepto2

  • Birthday 08/26/1979

Profile Information

  • Gender
  • Location
    Hildesheim, Germany
  • Interests
    soccer, poker
    3d and 2d programming
    .net (wpf, silverlight and common forms)

Recent Profile Visitors

21,933 profile views
  1. new Video online :) :

    1. Show previous comments  1 more
    2. klepto2


      Leadwerks 4

    3. shadmar


      Nice, looks like a projected grid?

    4. klepto2


      Indeed, it is using a projected grid in combination with planar reflections and real time FFT calculations.

  2. While I am preparing the different parts of the blog i will show you a small summary about the ocean rendering i am using: GPU-based FFT waves using Phillipsspectrum Foam rendering (shore and whitecaps) Refraction and Reflection (realtime, ssr compatible) Fast due to Projected grid concept Teaser images:
  3. ocean_foam.thumb.png.b198b4348aeb7d79af8ee624a371722b.png

    1. Show previous comments  3 more
    2. klepto2


      I am currently cleaning up the code and then i will post a blog (which is in progress as well) about this. I don't know how i make this available. It is c++ only as it needs access to internal LE4 methods and needs some modified Texture functions.

    3. beepboop
    4. Marcousik


      May I suggest you put this in the workshop or marketplace? 

  4. 587785832904DCD9EDBBA3D7A2FD1C6175592955

    1. Marcousik


      How looks like this with FPS using this? I tried a little bit to experiment with waves on water shader but it looks long not so good as this and it costs 20FPS, making it heavy to use in open world.

    2. klepto2


      This is completely detached from the integrated waterplane. It runs highly dependend (currently) on resolution of the tesselated watermesh. I get between 120 and 200 fps. the bottleneck is 1. the mesh and 2. the need to render the scene twice for the refraction. i could modify it so that refraction works without a second pass, but then ssr is not working.

  5. Early stage but promising: 


  6. Back to ocean Rendering: 


    1. Show previous comments  9 more
    2. Marcousik


      Well Klepto2 keep the good work ;) you have a buyer if it comes out!

      One feature it should have: Floating (little) objects have to move with the waves, easy to say, yeah, no idea how to make such things btw :D

    3. klepto2


      Bouyancy is one thing i want to add, don't know how the performance costs will be, maybe this needs to be integrated into c++ for speed. Here is a small thing i have done lately:Ocean_dynamic_waves.gif.3126673f2a08bf4395a66709051d9dda.gif

      Sorry for the low quality, but it shows what you can do. Adding wave objects in the Editor with realtime update. A feature which can be used to add waves directing to the shore. 

    4. Marcousik


      This is one of more things (like the Aggror's splines kit) that should be integrated in the editor as they are basic features, like road tracing, weather and waves - und froh weihnachte ;)

  7. klepto2

    Leadwerks and C#

    A small hint: if you take a closer look into the Include directory you will find this: DLLExport.h This file already contains a lot of exports yu may use as it is the dll code used for the editor.
  8. klepto2

    Leadwerks and C#

    Hi, I'm working on a similar project and i'm currently preparing a github repo for my Wrapper. It will still take some time and cleanup until it is up, but it will provide full access to the API (same as in lua + some extras). Meanwhile you may take a look http://www.swig.org/ or https://github.com/mono/CppSharp for generating bridges between Cpp and CSharp. The nicer way would be CppSharp, but i can't get the parser to work, so i will stick with swig. Currently a small sample looks like this: using System; using System.Collections.Generic; using System.Linq; using System.Text;
  9. Hi, i have used SWIG with Leadwerks succesfully in the past and also use it currently from time to time. You can create your own dll by using the Leadwerks.lib under windows or the Leadwerks.a under Linux. Just create a new Leadwerksproject, remove all sources and add the generated header from swig into the project. Then change the project properties to compile to a dll (or the same for linux). For getting a complete Wrapper you need to fix alot of definitions and make use of a lot of SWIG tricks. I would recommend to start only with the classes and things made public to lua an
  10. Well, sure the Skybox might not be needed for Lights, but is needed for Probes. In general the Camera provides functions to render the scene and this is needed for probes and shadowmaps. You get all the info with the API-reference.xml as well. the filename usually looks like this: API-Reference_Object_Entity_Camera_Light_DirectionalLight Strip the beginning and split by _, then you get the whole hierarchy of the class. In some cases there is a something like Object_Math_AABB where Math is not a real class, but if you register all class names before parsing the actual class yo
  11. I think that is correct. The Light and Probe classes are inherited from Camera class which makes perfect sence as both need the same behaviour as a camera. I am trying to generate a intellisense implementation by myself and i have come across this: https://www.leadwerks.com/documentation/API-Reference.xml This seems to contain all classes available in Leadwerks and is easier to parse than the toc.xml,
  12. this is not the Documentation of Scintilla, it is the documentation of Scite,a Texteditor which uses Scintilla and is developed by the same guys developing scintilla. The implemntation is unfortuntly no one liner as you assumed. Why it should be no big Task, such Features could bring a big Performance Impact if not done right.
  13. Hi, it looks like you're mixing a matrial shader and a postprocess shader. should this shader work per instance or as a post process shader? If it should be a postprocess shader: These variables: //Inputs in vec2 ex_texcoords0; in vec4 ex_color; in float ex_selectionstate; in vec3 ex_VertexCameraPosition; in vec3 ex_normal; in vec3 ex_tangent; in vec3 ex_binormal; in float clipdistance0; [/Code] are not available and Need to be calculated from the depth/normal buffer provided via a lua part of the post process effect.
  14. I haven't used the Community-Edition of VS 2015, but in your project properties there should be something like Platform-Toolset (Confiugration Properties->General) and you should be able to change it to 120 if you install this toolset: https://www.microsoft.com/en-us/download/details.aspx?id=40760. Then it should compile as wished.
  15. Finally back on my computer and finally back at Leadwerks. Hopefully with much more time to spent here :)

Facebook Twitter Youtube Github Steam
  • Create New...