Jump to content

VeTaL

Members
  • Posts

    1,272
  • Joined

  • Last visited

Everything posted by VeTaL

  1. VeTaL

    LOD materials

    Or LOD is just another model with its own material (so i need to reduce quality of LODs and shut down shaders by my hand) ?
  2. Is material changed to smaller quality on the LODs automatically?
  3. //Editor no longer crashes when adding a texture (Thanks Josh) but as in the image, text appears all over the terrain when a new texture is applied. That was a message from aliens
  4. Ahh, that exact what i need on first question ^^ Imo, this also can be added to FAQ.
  5. Hey... maybe this can be in camera properties? Not to render the player, from wich camera is looking, but render his shadow. (in 3d gamestudio there is possibility like this)
  6. Okay, so how its done in some video demos (i saw on youtube demos of fps, where player shoots from gun... as i remember, there were shadow of him)?
  7. VeTaL

    Middlewerks

    @Vetal and MG: Are you using Windows XP? I'm sorry, I couldn't test for this operating system. I'll add a check that replaces these with regular buttons on non-aero systems if that is the problem. Yep, i use Win XP.
  8. I'm lost in converting this to C++... Do i need to overload render function for entity that i want to show a shadow?
  9. First, can i hide entity so i could see only shadow, not model (like for character controller model in FPS). Second, can i hide shadow from first light source and render only from second? (we want to reproduce some shadow anomalies: a shadow of one entity must be differ from other entities shadows).
  10. macklebee, you're the best ) Maybe its a good idea to create FAQ from this simple questions?
  11. VeTaL

    Middlewerks

    When i launch, i can see only this (see screenshot). But as i click on different places, where button expected to be, i can launch different windows such as Leadwerks Editor and some convertation tools. I think, this can be because of .NET, but i have Studio 2010 installed.
  12. This error appears after last update of Leadwerks, but i'm not sure that its the main reason as i test it also on clean 2.4 version (that is without latest update) So, somewhere on this forum, i found Josh's post about sources of enabling LUA in C++. The code, posted by Josh is // ==================================================================== // This file was generated by Leadwerks C++/LEO/BlitzMax Project Wizard // Written by Rimfrost Software // http://www.rimfrost.com // ==================================================================== #include "engine.h" int main( int argn, char* argv[] ) { Initialize() ; RegisterAbstractPath("C:/Leadwerks Engine SDK"); SetAppTitle( "luatest" ) ; Graphics( 800, 600 ) ; AFilter() ; TFilter() ; TWorld world; TBuffer gbuffer; TCamera camera; TMesh mesh; TLight light; TMesh ground; TMaterial material; world = CreateWorld() ; if (!world) { MessageBoxA(0,"Error","Failed to create world.",0); return Terminate(); } TFramework framework=CreateFramework(); TLayer layer = GetFrameworkLayer(0); camera=GetLayerCamera(layer); PositionEntity(camera,Vec3(0,0,-2)); //Set Lua variable BP L=GetLuaState(); lua_pushobject(L,framework); lua_setglobal(L,"fw"); lua_pop(L,1); LoadModel("abstract::environment_atmosphere.gmf"); material=LoadMaterial("abstract::cobblestones.mat"); mesh=CreateCube(); PaintEntity(mesh,material); ground=CreateCube(); ScaleEntity(ground,Vec3(10,1,10)); PositionEntity(ground,Vec3(0,-2,0)); PaintEntity(ground,material); light=CreateDirectionalLight(); RotateEntity(light,Vec3(45,45,45)); // Game loop while( !KeyHit() && !AppTerminate() ) { if( !AppSuspended() ) // We are not in focus! { // Rotate cube TurnEntity( mesh, Vec3( 0.5f*AppSpeed() ) ) ; // Update timing and world UpdateFramework(); // Render RenderFramework(); // Send to screen Flip(0) ; } } // Done return Terminate() ; } I saved it into Templates folder so i'm able now to quickly create base for new game. But today i had error and looking like there are some troubles with LUA: i cant see environment_atmosphere Log:
  13. Well, i'm ready even to per-order this tool, as it seems to be extremely useful, as i had a lot of headache with convertation.
  14. I'm too, just cant download and even try to use.
  15. I really dont know: i'm using only MAX for export
  16. IMO, one of the best solution is just to save number of objects at the beginning of sbx file, so there would be no need to run through it for the first time.
  17. Lazlo, when are you going to finish this project? I'm very interested in it.
  18. And that's not good for me: http://leadwerks.com/werkspace/index.php?/topic/1950-dynterwerks-editor/
  19. //Greetings from Germany Greeting from Ukraine Lumooja is right: i searched through all "under $1K" engines - this one is the best
  20. VeTaL

    River Editor

    Wow, looking good
  21. //Get used to it, no one likes to wait on Werkspace. Thats true 100%
  22. //You must set the entitytype of the car's model body to something which doesn't collide with the vehicle body Car's model body to vechicle body? .. em.. maybe... wheels?
  23. Great idea in general, but blue font on the black background is not too readable (as for me).
  24. btw, as for me, vehicle_monstertruck dont load properly even in clear 2.4 version
  25. Lumooja, how you could connect wheels to car body so they don't shake car? In my case, car is shaking like boat in a storm ( http://leadwerks.com/werkspace/index.php?/topic/2664-vechicle-model-problem/ )
×
×
  • Create New...