Josh Posted May 16, 2010 Share Posted May 16, 2010 http://leadwerks.com/werkspace/index.php?/files/file/145-leadwerks-engine-sdk-232/ If you have a problem, please post a complete description and an example I can run to produce the problem. Thanks. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
franck22000 Posted May 16, 2010 Share Posted May 16, 2010 Thanks for your efforts josh ( and it's nice to have the version.txt updated ) Problem > Picking is not working on vegetation layers. Repro: - Start the editor - Load the artic terrain map - Start the FPS controller script - Try to shoot a tree, there is no particle effect on the trees because the picking is not working on layers. You guys are going to be the death of me. Josh Link to comment Share on other sites More sharing options...
Josh Posted May 16, 2010 Author Share Posted May 16, 2010 Vegetation picking is not presently supported (but will be soon). I want to make sure everything else is working right before adding another feature. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
franck22000 Posted May 16, 2010 Share Posted May 16, 2010 Thanks, it's good to know, im sure that a lot of people need this, are you going to make single entities of vegetation layers selectables then ? Nothing else to report for now You guys are going to be the death of me. Josh Link to comment Share on other sites More sharing options...
Josh Posted May 16, 2010 Author Share Posted May 16, 2010 are you going to make single entities of vegetation layers selectables then ? Eventually, but that's a different feature. It would make sense to be able to move instances back and forth between being a vegetation instance and an entity. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
franck22000 Posted May 16, 2010 Share Posted May 16, 2010 Ok, i think that a lot of users are going to need to have this feature to make some destrutible trees, and advanced interactions with vegetation. Done with my questions. You guys are going to be the death of me. Josh Link to comment Share on other sites More sharing options...
Pancakes Posted May 16, 2010 Share Posted May 16, 2010 Josh could you eleborate on what changes you made to the ssdo shader in particular as well as bloom, because it seems like it's different. It seems like it's blurring some of the vegetation as opposed to before where it would add more of a grainy effect or maybe I'm imagining this completely. Core I5 2.67 / 16GB RAM / GTX 670 Zbrush/ Blender / Photoshop CS6 / Renoise / Genetica / Leadwerks 3 Link to comment Share on other sites More sharing options...
franck22000 Posted May 16, 2010 Share Posted May 16, 2010 SSDO seem to be blured now, so it's less grainy and it's better in my opinion You guys are going to be the death of me. Josh Link to comment Share on other sites More sharing options...
Josh Posted May 16, 2010 Author Share Posted May 16, 2010 All I did was modify the code that mixes it in, so it isn't as heavy and only appears in darker areas. I think I got a pretty good effect with the bloom shader. I wanted to drive up the blurriness of those caged light bulbs, but also get a good sky bloom when the HDR kicks in indoors. It's difficult because the bloom shader works on the whole screen (which we want, because that gives us that "magical" looking glow from objects in sunlight). My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Pancakes Posted May 16, 2010 Share Posted May 16, 2010 (edited) All I did was modify the code that mixes it in, so it isn't as heavy and only appears in darker areas. ahhh, ohkay, which would explain why the vegetation that is not directly lit by a light other than ambient light becomes blurred while the other vegetation does not. It now has a sort of freaky pseudo-dof type of effect to it. I'm not sure if that's intentional though. Is there a way to switch so that it is a little bit heavier but also appears everywhere? Some of the vegetation is getting a little too blurry now (that in the shade vs that in the sun). I actually liked the grainy effect of the first one only it was a little too grainy. I also liked the heaviness of the first one only it was a *little* too heavy. Right now it seems a little too blurry and vanilla. You know what I'm just confused so many shaders bloom etc I'm not sure which is doing what and how right now. All I know is that it's a bit blurrier now which is fine. Only there is a contrast between directly lit vegetation and that which is mainly lit by ambient light in terms of how defined the vegetation looks which wasn't there before. I will probably take the SSDO shader from 2.31 and edit it as much as I can and throw that inside of 2.32. Edited May 16, 2010 by Pancakes Core I5 2.67 / 16GB RAM / GTX 670 Zbrush/ Blender / Photoshop CS6 / Renoise / Genetica / Leadwerks 3 Link to comment Share on other sites More sharing options...
gordonramp Posted May 16, 2010 Share Posted May 16, 2010 That's better. These major releases are sure stressful, I had objects disappearing and other anomalies occurring with 2.32r2 but no problems so far with 2.32r3. Thanks Josh. AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64. Link to comment Share on other sites More sharing options...
Flexman Posted May 16, 2010 Share Posted May 16, 2010 Is there a way to turn off child objects from being occluded? I'm sitting in a cockpit and chunks of it keep vanishing when I turn my head. The other occlusion problems I had have been fixed. 6600 2.4G / GTX 460 280.26 / 4GB Windows 7 Author: GROME Terrain Modeling for Unity, UDK, Ogre3D from PackT Tricubic Studios Ltd. ~ Combat Helo Link to comment Share on other sites More sharing options...
Canardia Posted May 16, 2010 Share Posted May 16, 2010 Try this: EntityViewRange(scene,3,0); // this will be done by the engine internally in the next patch It fixed some missing shadows for me, although the mesh occlusion bug was already fixed in 2.32r3. Or, if that doesn't help, then do the same for your parent object: EntityViewRange(parent,3,0); EDIT: The new patch is already out, and it fixed the missing shadows. ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted May 16, 2010 Share Posted May 16, 2010 well... sorry to be the one to rain on the r3 parade... but just loading the default scenes that come with the sdk, just to test em out, here's what i get (nothing major so far)... 1- in the desert roads scene, the roads sections are all over the place... (100% of the time) 2- in the tunnel... the flashlight sometimes wobbles all over the place as if it is attached on a spring... (intermittant) --Mike Link to comment Share on other sites More sharing options...
gordonramp Posted May 16, 2010 Share Posted May 16, 2010 Yep, I spoke too soon. Roads are all over the place in the desert demo, In my maps although objects look ok in the Editor, when run with the Engine and Lua Framework, some objects don't have shadows. No sounds for the oil drum etc. Also I notice a slight stuttering when moving across a terrain. Is smooth in 2.31 AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64. Link to comment Share on other sites More sharing options...
Josh Posted May 16, 2010 Author Share Posted May 16, 2010 well... sorry to be the one to rain on the r3 parade... but just loading the default scenes that come with the sdk, just to test em out, here's what i get (nothing major so far)... 1- in the desert roads scene, the roads sections are all over the place... (100% of the time) Yep. Find line 91 of road_node.lua. Change this: self.roadmesh:SetParent(self.model,0) To this: self.roadmesh:SetParent(self.model,1) when run with the Engine and Lua Framework, some objects don't have shadows. Also I notice a slight stuttering when moving across a terrain. Not enough information. No sounds for the oil drum etc. I uploaded the missing sound files. 2- in the tunnel... the flashlight sometimes wobbles all over the place as if it is attached on a spring... (intermittant) What is your framerate when this happens? It could be a timing issue with the smoothing code used. Is there a way to turn off child objects from being occluded? I'm sitting in a cockpit and chunks of it keep vanishing when I turn my head. The other occlusion problems I had have been fixed. This was recently fixed, but considering the size of your project, you might want to stick with version 2.31 for a few days while I get this ironed out. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted May 16, 2010 Share Posted May 16, 2010 2- in the tunnel... the flashlight sometimes wobbles all over the place as if it is attached on a spring... (intermittant) What is your framerate when this happens? It could be a timing issue with the smoothing code used. doesn't happen a lot, but when i did get it to repeat, the framerate was in the 20s... 24, as i came down the stairs in the tunnel which i had flooded with a waterplane... this was in the editor fps walkaround game mode... (lua line edit seems to have fixed roads) --Mike Link to comment Share on other sites More sharing options...
Quan Posted May 17, 2010 Share Posted May 17, 2010 In Blitzmax I get the error: EXCEPTION_PRIV_INSTRUCTION When running any program that calls: Global fw:TFramework = TFramework.Create() BMax 1.38 * Leadwerks 2.4 * Unity 3.0 Pro * Intel Core 2 Duo 6600 - Win7 64bit - ATI 4870 Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted May 17, 2010 Share Posted May 17, 2010 @ Quan: i'm sure you already did this, but just in case... did you run the lua bindings generation code first... i'm getting past the fw creation, but i am getting a new error... nothing is being drawn on the screen (window)... i get the drawtext messages that indicate that the program is running, but no rendering... has anything in the fw rendering been changed without notice... [sOLVED] does not appear to be reading the scene's camera position corretly... when i explicitly code the camera to a known position the scene appeared as expected... so i was just jumping to premature conclusion about nothing being rendered due to changes... seems to be working now... still looking though --Mike Link to comment Share on other sites More sharing options...
Quan Posted May 17, 2010 Share Posted May 17, 2010 You mean to create a new lua-gluefunctions.bmx file ? If so then yes I have made a new version. BMax 1.38 * Leadwerks 2.4 * Unity 3.0 Pro * Intel Core 2 Duo 6600 - Win7 64bit - ATI 4870 Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted May 17, 2010 Share Posted May 17, 2010 here's what the code i'm using looks like... SuperStrict Framework leadwerks.ENGINE Import "Framework\Framework.bmx" Import lugi.generator ' To generatue glue functions for Lua, comment this line out: Include "lua-gluefunctions.bmx" ' And uncomment these two lines, run the program once, Then undo your changes: ''generateGlueCode("lua-gluefunctions.bmx") ''End AppTitle:String = "Basic Scene Loading Example : BMAX + Leadwerks Engine"; GCSetMode(2) ' Register the directory under which the Abstract file system will search. RegisterAbstractPath ("c:\program files\leadwerks engine sdk231") ' Create a Graphics window Graphics(800,600) AFilter(1) ' Set the anisotropic filter. Range 1-16 TFilter(1) ' Set trilinear filtering : 0 = off : 1 = on. ' Create a New Framework Object. Global fw:TFramework = TFramework.Create() --Mike Link to comment Share on other sites More sharing options...
omid3098 Posted May 17, 2010 Share Posted May 17, 2010 new editor removes my phy files and replace them with convex hull.. should I redo all of my phy files AGAIN?? Omid Saadat OD Arts Blog AMD Phenom II X4 940 - Geforce 8800GTS - 4GB RAM - XP x86 AMD 6000+ - Geforce 9800 GT - 2GB RAM - XP x86 (Home pc) Intel Core i7 - Geforce 310M - 4GB Ram - Win7 x64 (Laptop) Link to comment Share on other sites More sharing options...
Josh Posted May 17, 2010 Author Share Posted May 17, 2010 In Blitzmax I get the error: EXCEPTION_PRIV_INSTRUCTION When running any program that calls: Global fw:TFramework = TFramework.Create() Please post your code. new editor removes my phy files and replace them with convex hull.. should I redo all of my phy files AGAIN?? This was announced a few weeks ago. The serialization version is 220, the first integer of the file. Are you saying you had to do this recently, and now your files are not working? In the future, our own collision format will be implemented, since the Newton serialization thing is a pain whenever anything changes. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Thomas Posted May 17, 2010 Share Posted May 17, 2010 (edited) my WinOS is unable to download the file successfully All i get is binary **** Edit: Mh... same with Linux... Something went terrible wrong, i think... Edited May 17, 2010 by DeadCrow LINUX: Viagra for the PC. running Slackware GNU/Linux since 1996 Linux Developer Windows is a 32 bit shell for a 16 bit extension to an 8 bit Operating System designed for a 4 bit microchip by a 2 bit company which can't stand one bit of competition You can protect yourself from the 12/21/12 thing by not using the US short hand date format 21/12/12 ... Nope, that doesn't work 12/12/21 ... Doesn't work either Crisis averted... EVE-Online exclusive 21-day trial Link to comment Share on other sites More sharing options...
shadow_tj Posted May 17, 2010 Share Posted May 17, 2010 The link of r4 is broken. the Release 3 link is working. Link to comment Share on other sites More sharing options...
Recommended Posts