Saoru71 Posted December 10, 2009 Share Posted December 10, 2009 Hi guys, I'm retaking LE and testing all the new features in the editor. I am working on these renders in blender: And I decided to give the model a try in LE. From the last experience I had trying to load a medieval level I remembered the issues I went through, so I had to optimize all the meshes to make them load fine in LE. Here's the result so far: I'm very impressed by the dynamic lighting and the performance of the level loaded in the editor. I'll try to upload a video of the scene later. I had to replace many models that had a high polycount for lower-count versions of them, and definitely it's not a good idea to try and load everything at once but split the level into separate models, keeping the same origin and then insert one by one in LE's editor. It's also important to apply an "edge split" modifier in blender in any smooth surfaces you're using prior to the exportation process. Now my questions: 1. Is there a way to "unsnap" the objects from the grid? I want to place the trees inside the circular grass areas but the snap doesn't allow me (check editor's 2nd pic). 2. How do you make a glass material in the material editor? I need a greenish transparent material for the windows 3. Is there a way to make the camera move slower in the editor? I'll post any other question that pops up in the process here Thanks in advance for any help. regards, Alvaro ps. This project is already being built, you can watch some pics of the site here: http://www.telardigital.com/blender/niel/obra_01.jpg http://www.telardigital.com/blender/niel/obra_02.jpg Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Jordan Posted December 10, 2009 Share Posted December 10, 2009 Nice model. To turn snap to grid off: tools > options > display > untick Grid Snap. To change the camera movement speed: tools > options > controls > move speed 1 Quote Link to comment Share on other sites More sharing options...
Saoru71 Posted December 10, 2009 Author Share Posted December 10, 2009 Thanks a lot JC I was able to reposition my trees. It's very cool to see all the options are there right in the editor. I need to dig the tools I use more,hehehe. I'll look for info on material creation now, to see if I can get that glass I need. Also, can skyboxes be added directly in the editor or are they loaded only in your code? Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Niosop Posted December 10, 2009 Share Posted December 10, 2009 You can add them in the editor. Add an Atmosphere object then double click on the instance and choose the skybox material you want to use in the properties. Quote Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX ZBrush - Blender Link to comment Share on other sites More sharing options...
Pixel Perfect Posted December 10, 2009 Share Posted December 10, 2009 Looking nice afecelis 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...
Saoru71 Posted December 10, 2009 Author Share Posted December 10, 2009 Thanks for the comments and help guys. You're most kind. I'm trying to create my atmosphere object for the skybox, I'll tell you how it goes. I captured a short video that's uploading to youtube now. Working in the editor is great. I'm about to start a template project in C++ to load the level. Fun fun! cheers, Alvaro Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Saoru71 Posted December 10, 2009 Author Share Posted December 10, 2009 Here's the vid, I wish the camera speed could be even slower (it's already at 1.0, the minimum): The level with atmosphere (thx for the tip Niosop): Now I'm playing around with the material editor to see if I can make the glass transparent Could I add a water material to the glasses? Without bumps that is. Is there an example of a water or glass material included? Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
TylerH Posted December 10, 2009 Share Posted December 10, 2009 There is a refraction shader, except it causes your model to not be affected by light and must be rendered in the foreground world. Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
Saoru71 Posted December 10, 2009 Author Share Posted December 10, 2009 Thanks Tyler, sounds pretty much like what I need. It's similar to an architectural glass material with "cast shadows" set to off, as in some 3d applications. Could you please tell me where I can read further about this shader? regards, Alvaro EDITED: I already found it among the shader options, but I still can't get it to be transparent, lol! Darn! is it hard to get a nice-looking glass material Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Saoru71 Posted December 10, 2009 Author Share Posted December 10, 2009 I just watched the c++ "loading a scene" tutorial and used the sample files an here's what I'm getting till now: So I still got a long way to go (time to check that console log) But I'm happy with the results and with everything I've learned so far. I guess that's the fun part, learning to make things work as you want them to with the support of people that share the same passion/interest as you. BTW, have you guys tried loading the "hydro.sbx" file in the new 2.3 editor? It all falls down! It doesn't work anymore Does anyone know if Josh (or someone helping him) is working in updating these files that have become outdated? (besides all the other bunch of stuff he's updating for Lua, which must already keep him quite busy). Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Saoru71 Posted December 11, 2009 Author Share Posted December 11, 2009 OK, from reading the console log I noticed it was trying to load stuff like the trees and the environment which my data.pak file didn't have, so I opted to zip the whole "Maps/Materials/Folders" into a single data.pak file to ensure everything loaded fine. I now got the trees: But none of the lighting effects. I get some warnings in the log about not finding the corresponding lod1 gmf files, but it's ok as I don't have them and it loads the gmfs ok after that, but I get the following Lua error: Lua error: cannot open zip::f:/exer/projects/plazoleta/data.pak//models/entities /environment/atmosphere/environment_atmosphere.lua: Invalid argument I thought it had problems reading from within a zip file so I unzipped everything in my application folder and yet I still got the same error. Any ideas on what's going on here with the invalid argument in the lua file? cheers Alvaro Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Saoru71 Posted December 11, 2009 Author Share Posted December 11, 2009 glass! yay! Josh's video tuts on materials/shaders and transparency are great! I apologize for bothering you guys with questions that were already solved in the video tutorials. I'm now going through all the c++ series carefully I still got the Lua error issue though Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
TylerH Posted December 11, 2009 Share Posted December 11, 2009 I am curious how exactly you got the glass to work? My attempts using my own explained method had no luck... Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
Saoru71 Posted December 11, 2009 Author Share Posted December 11, 2009 Well, I modified it in the material editor from a regular diffuse material I had for my glass. I grabbed the setup from the "transparency and refraction" tutorial, but just the basic creation part, I didn't touch anything in my code about "rendering in a second pass". Nothing fancy about reflection/refraction, just a transparent material that grabs the "greenish" tone in my dds texture. This is the tut: http://www.leadwerks.com/files/Tutorials/CPP/Transparency_And_Refraction.pdf http://www.leadwerks.com/files/Tutorials/CPP/Transparency_And_Refraction.wmv and here's my material setup: and here's the code, just in case: texture0="abstract::green.dds" clamp0=0,0,0 blend=3 depthmask=0 depthtest=1 overlay=0 zsort=1 cullface=1 castshadows=1 specular=1.00000000 bumpscale=1.00000000 gloss=0.500000000 shader="abstract::mesh_diffuse.vert","abstract::mesh_diffuse.frag" shadowshader="abstract::refraction.vert","" hope it helps regards, Alvaro Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Saoru71 Posted December 12, 2009 Author Share Posted December 12, 2009 point light video: Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Saoru71 Posted December 12, 2009 Author Share Posted December 12, 2009 Interior lights + exterior umbrellas (Josh please enable decimals for movement speed in the editor) 1 Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Marleys Ghost Posted December 12, 2009 Share Posted December 12, 2009 Its looking very good afecelis 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...
TylerH Posted December 12, 2009 Share Posted December 12, 2009 I didn't know refraction could be used as the shadowshader. Does it even have an effect? Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
Pixel Perfect Posted December 12, 2009 Share Posted December 12, 2009 That really does look nice and the glass is really quite effective ... excellent! 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...
Saoru71 Posted December 13, 2009 Author Share Posted December 13, 2009 Thanks a lot guys! Yor comments are very motivating. I got BADLY hooked up by LE and I've been working as much as I can testing stuff in it, lol. It looks that way in the editor, which is pretty nice (the engine's integration in it is superb) but in my C++ application I'm not getting any of the lighting/environment effects Just the sbx file with all the meshes but totally plain and dull. I think something must have changed in LE 2.3 that doesn't work with the existing "loading a scene" tutorial. I hope Josh finds the time to update it sometime soon Meanwhile I'll keep testing my level in the editor. @Tyler: It doesn't do any effect, visually speaking; I just selected it because if you left it at "none" the shader would fail to compile, so after your previous "refraction" tip it seemed to be the only one close to that, lol Setting it to "mesh_diffuse.vert" seems to output the same result. cheers, and thanks for commenting. Alvaro Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Marleys Ghost Posted December 13, 2009 Share Posted December 13, 2009 Thanks a lot guys! Yor comments are very motivating. I got BADLY hooked up by LE and I've been working as much as I can testing stuff in it, lol. It looks that way in the editor, which is pretty nice (the engine's integration in it is superb) but in my C++ application I'm not getting any of the lighting/environment effects Just the sbx file with all the meshes but totally plain and dull. I think something must have changed in LE 2.3 that doesn't work with the existing "loading a scene" tutorial. I hope Josh finds the time to update it sometime soon Meanwhile I'll keep testing my level in the editor. Have a look through this thread and threads linked from it. Might be of some help. 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...
Saoru71 Posted December 13, 2009 Author Share Posted December 13, 2009 Excellent info MG Thanks for the links. I'll start reading them immediately. ps. Friggin' cool youtube channel! Just subscribed. Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Saoru71 Posted December 13, 2009 Author Share Posted December 13, 2009 a quick update: nightshot+ wooden floor in interiors (thanks to Gordonramp for his marvelous skies): 1 Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Saoru71 Posted December 14, 2009 Author Share Posted December 14, 2009 god rays rule! (thanks to Marleys Ghost for his help -and patience- on how to load a scene properly and introducing me to framewerk) Quote My signature was so outdated! I don't know if it's even relevant nowadays... Link to comment Share on other sites More sharing options...
Niosop Posted December 14, 2009 Share Posted December 14, 2009 Wow, looking really good! Quote Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX ZBrush - Blender 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.