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


  • Content Count

  • Joined

  • Last visited

Community Reputation

83 Excellent

About klepto2

  • Rank
    Advanced Member
  • 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

20,532 profile views
  1. Early stage but promising: 


  2. 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 ;)

  3. 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.
  4. 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;
  5. 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
  6. 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
  7. 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,
  8. 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.
  9. 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.
  10. 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.
  11. Finally back on my computer and finally back at Leadwerks. Hopefully with much more time to spent here :)

  12. as Leadwerks does use a deffered renderer i could imagine one way: Render the voxel terrain into a texture buffer with multiple channels: normals, texture coords and position then do postprocessing on it and interpolate or blur each channel to smooth it out. Then apply the the blurred textures on a projected plane and manipulate the fragment values based on the smoothed channels.
  13. while its representation is a 3d mesh or better a bunch of smaller 3d meshes it is bound to heightmap which is limited to 0..1 or 0..255 values depending on the internal format. Also a terrain system is a very performance hungry system in every engine so the culling, position calculation etc needs to be very optimized and if you can rotate, move or scale a terrain you always need add some cpu consuming matrix math to nearly each calculation. I agree that moving a terrain should be possible without much performance loss (it more or less just an offset addition), but scaling and rotating ar
  14. this was not possible in LE2 as well, you need to raise the terrain in general to a certain value and then carving your river out. [Edit:] Might be a nice feature. Raising the whole terrain by a certain amount.
  15. If you have a standard license you should take a look into the headers and checkout the base Physicsdriver class. In theory it is possible in c++ to write its own physicsdriver and attach it. but there is no real detail how to do it.
Facebook Twitter Youtube Github Steam
  • Create New...