MrIslomaniac Posted February 24, 2010 Share Posted February 24, 2010 Can we have a function like this? LoadTerrainVegetationLayer( TEntity terrain, str path, int Layer ) Would be great =) thanks Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 24, 2010 Share Posted February 24, 2010 Can I ask why? Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
wh1sp3r Posted February 24, 2010 Share Posted February 24, 2010 Don't ask, just nod, lol Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 24, 2010 Share Posted February 24, 2010 Don't ask, just nod, lol no !! ... I was curious thats all as to what benefits it might offer. ? Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Masterxilo Posted February 25, 2010 Share Posted February 25, 2010 I guess the request is just being able to create vegetation layers in code. Control is always good. Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
MrIslomaniac Posted February 25, 2010 Author Share Posted February 25, 2010 MasterXilo, exactly. Why do we need a loadheightmap function? Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 25, 2010 Share Posted February 25, 2010 Well Control is always good, but I was wondering about the practical application. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
wh1sp3r Posted February 25, 2010 Share Posted February 25, 2010 doesn't matter .. programmers like FREEDOM Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 25, 2010 Share Posted February 25, 2010 ok .. so theres no real practical application? Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Masterxilo Posted February 25, 2010 Share Posted February 25, 2010 @Marleys Ghost You can always imagine situations where creating a vegetation layer at runtime will be useful for some cool effect for example. Let's say, you have a burned landscape and the player has to go and break a dam to let water flood the valley. After that, the grass will grow again -> paint new terrain layer texture at runtime (which is possible) and create grass instances (which is not possible atm). Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
MrIslomaniac Posted February 25, 2010 Author Share Posted February 25, 2010 thats what I mean =) @MG do you still know how you configured that water to look like this? http://leadwerks.com/werkspace/index.php?app=gallery&module=images§ion=viewimage&img=33 Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 25, 2010 Share Posted February 25, 2010 You can always imagine situations .. Obviously not hence the Q lol .. but after reading your reply yes I can see where it might be useful .. unlike the other replies on this thread to a simple Q about the practical application. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 25, 2010 Share Posted February 25, 2010 @MG do you still know how you configured that water to look like this? http://leadwerks.com/werkspace/index.php?app=gallery&module=images§ion=viewimage&img=33 Don't think so, that was back with 2.27/2.28 I may have kept the Islands imported height map but nothing else sorry. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
L B Posted February 28, 2010 Share Posted February 28, 2010 For the water, just higher the softness value. Quote Link to comment Share on other sites More sharing options...
Flexman Posted March 17, 2010 Share Posted March 17, 2010 We have a current need to populate small regions from GIS sources with vegetation maps. The current editor runs out of memory and falls over if you try and auto-populate the largest possible map size. Not that we want to auto-populate such a large map but there are plenty of compounds, rivers and fields with vegetation. We would love to be able to generate vegetation in code to make an importer. Any information on storage format for this would be cool. Quote 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...
Pixel Perfect Posted March 17, 2010 Share Posted March 17, 2010 I'm sure there was a command for this in the original release of the engine ... but it got taken out. [EDIT] Yep, I was right... from Leadwerks Engine version 2.0 //***************************************************************************** //**** **** //**** Mesh Layer Commands **** //**** **** //***************************************************************************** typedef TEntity (_stdcall *TCreateMeshLayer) (TEntity terrain, TEntity mesh, int resolution, flt size, int subdivision); typedef void (_stdcall *TConstrainMeshLayer) (TEntity meshlayer, flt minheight, flt maxheight, flt minslope, flt maxslope, int alignToNormal); Maybe Josh could just expose something like that again. Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.