Jump to content

deniz

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by deniz

  1. Well, normally you should support AA by rendering to multi-sampling textures and perform a custom resolve operation inside the fragment shader in deferred shading. But I have studied all of your shaders and did not come across to anything like "sampler2DMS" or so. I had to implement this on my own (not using Multisample textures but a somewhat similar method). I do not know what kind of AA method you employ but it seems that in our scenes not enough fragments are generated for long and thin primitives, in fact that's why we got those stippled line patterns. So I used nvidia's 32 CSAA method to generate multisampled terrain pixels and lines visual appearance got better. The non-tirivial step was to incorporate nvidia's CSAA output into the LE rendering pipeline.
  2. I tried it, it was not satisfactory for our customer. This is done via 32 CSAA in nvidia control panel on my computer. The method here is non-trivial.
  3. Hi all, Below are two videos of aliased and antialiased terrain rendered in LE 2.5 Although there is no support for AA in LE 2.5, I managed to do it. The lack of AA troubled us a lot since the visualization of the airport was not satisfactory for our purposes. But now with this AA-trick it is acceptable.
  4. it is located in the same directory where the corresponding gmf file resides.
  5. Hi everyone, I want to define and load my own vertex shader ("custom.vert") as part of my object's material file, but LE is unable to load it somehow. It gives a warning saying that it could not load the file although the file exists at the specified location. I am sure of the correctness of the vertex shader (I merely copied and pasted mesh.vert under custom.vert to make sure it works). What could be the problem? thanks, deniz
  6. Hi, we have a scene which is a combination of a terrain and many roads & buildings as gmf files on it. when using renderframework we do not get any visibility problems. but when we use renderworld suddenly all roads and houses disappear, only the terrain (with trees on it) is visible. but at certain locations buildings and roads become visible again. this is never the case when using renderframework: when using renderframework everything works perfectly as expected. can anyone help me what the problem might be? thanks in advance
  7. Hi all, can we disable backface culling in LE2?
  8. ok I get it. But some script-based effects do not work with renderworld() command. we have a day-night script that cannot be seen when using renderworld but is visible with renderframework. how can I make that script visible with renderworld?
  9. that's why I asked before if there was support for geometry shaders in LE2 In fact, geometry shader might not be sufficient. support for tessellation shaders would be better.
  10. yes, addtional geometry is added & modified to give that effect. one of the questions was what function to use for varying the snow thickness with the angle.
  11. you mean like this? this is a related work of mine: http://www.youtube.com/watch?v=yiuNFLUAOms
  12. thank you all guys, I am glad you liked it this effect is still in its development stage. after integrating it with the framework, I will post the updated video and maybe the binary as well. Later I will add a snow emitter as well. I did not want to do it for now, since I wanted to show just the effect itself.
  13. Hi all, here is a video of my recent work on simulating real-time snow accumulation in LE. http://www.youtube.com/watch?v=5SKEymqY474
  14. setting the buffer size to any size other than the back-buffer size seems to be problematic. I get strange visual artifacts: whole screen becomes white and then the screen freezes. any ideas?
  15. setting the recursive parameter to 1 solved the problem, thanks
  16. What do you mean by example? the code or the model in question or both? in case just the code is sufficient: TEntity ent = LoadModel("xyz.gmf"); EntityViewRange(model, VIEWRANGE_INFINITE); // this does not have any effect then I tried this: TEntity ent = LoadMesh("xyz.gmf"); EntityViewRange(model, VIEWRANGE_INFINITE); // this does not have any effect as well but if I try the following the code, EntityViewRange works just fine TMesh mesh = CreateMesh(); TSurface surf = CreateSurface(mesh); //... // some commands to set vertices, normals and define a simple quad //... UpdateMesh(mesh); EntityViewRangemesh, VIEWRANGE_INFINITE); // this works just fine.. so my question is: how can I change the view-range of the model? the model is exported from MAX using gmf-exporter. remember: we are adding the model (or multiple copies/instances of it) to the scene during run-time. so dragging an instance or multiple instances of the model into the scene and then loading the scene is out of question here. do we have to include something in the lua-script of the model?
  17. hi all, how can I read the opengl modelview & projection matrices used during rendering? it seems RenderWorld() does not affect those matrices (or pushes them before then pops them after rendering) because I compared the values before and after calling RenderWorld, they seem to be the same. in general: I want to recontruct the pixel's exact coordinates for perform some post-processing.. if there is another way to do it, I would be happy if you shared it. thanks..
  18. can we define geometry shaders in LE?
  19. hi all, I am trying to set view range parameters of entities loaded with LoadModel (we need to call this to enable lua scripts) but calling EntityViewRange() does not seem to have any effect for such entities (loaded with LoadModel) when I create meshes at run-time using LE-commands (CreateMesh, CreateSurface etc.), then EntityViewRange() works on them. I tried to load the model with LoadMesh but it did not worked again (I have to use LoadModel anyway to run models' lua-scripts). do I have to set a parameter in the lua-script or do I have to do something else? any suggestions?
  20. I see.. I tried to do that by disabling all effects calling SetSSAO(0); SetHDR(0); etc. but everytime I toggle the effects before and after calling RenderFramework(), a very very huge performance drop occurs (I get less than 1 fps) I guess LE is trying to reload &/ reinitialize all related stuff (like shaders etc.) and this causes a huge performance drop. if I try to use Renderworld() then I get another set of problems: I cannot see the sky box, where there is a sun whose motion is determined by a Lua script. (it is essentially the day-night script from one of the users' posts here in this forum, modified by my colleague to suit our needs). I also see strange trails of rendered images from previous frames. any clues how to overcome this?
  21. ok thanks, that worked.. it did not work before, may be I was doing something wrong.
  22. Hi everyone, is it possible to render to an offscreen render target (color buffer) using RenderFramework() command? without this I have to render to the back-buffer, perform a buffer copy operation to render reflections in a mirror with effects. I want to avoid that extra copy and also I want to be able to change the resolution of the color buffer as well..
×
×
  • Create New...