Guest Gutierrez Posted January 18, 2010 Share Posted January 18, 2010 i buy update 2.3 but now framewerks no work, screen all grey. please help !!! i have ati mobility hd 3400, maybe problem. sorry very bad english, use google translator. Quote Link to comment Share on other sites More sharing options...
Canardia Posted January 18, 2010 Share Posted January 18, 2010 You should use framework, which is integrated into the engine now. http://www.leadwerks.com/wiki/index.php?title=Framework Quote ■ 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...
Josh Posted January 18, 2010 Share Posted January 18, 2010 When did you install the SDK? I think there was a problem like this earlier, but it was fixed last month. What program are you trying to run? Quote 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...
Laurens Posted January 18, 2010 Share Posted January 18, 2010 Back in the "early days" of 2.3 this was a bug caused by shaders.pak on ATI cards. Using the shaders.pak from 2.28 solved it but the 2.3 shaders.pak have been working perfectly fine for me for quite some time now. Quote Link to comment Share on other sites More sharing options...
Guest Gutierrez Posted January 18, 2010 Share Posted January 18, 2010 Now I have black screen, all code is: #include "framewerk.h" using namespace leadwerks; int main(int argc, char** argv) { bool fullscreen=false; int gwidth=640; int gheight=480; int lighton=0; Initialize(); //Create a graphics context if(fullscreen==false) Graphics(gwidth,gheight); if(fullscreen==true) Graphics(gwidth,gheight,32); Framewerk fw; fw.Create(); SetShadowQuality(1); TWorld world=CreateWorld(); if (!world) { MessageBoxA(0,"Error","Failed to create world.",0); goto exitapp; } Collisions(3,2,true); Collisions(1,2,true); Collisions(1,3,true); //Load a model TEntity scene=LoadScene("Maps/undergrounds.sbx"); EntityType(scene,2); //Create a light TLight light=CreateSpotLight(7,0); PositionEntity(light,Vec3(0,5,0)); LightConeAngles(light,0,30); TController player=CreateController(); EntityType(player,3); SetBodyDamping(player,0.0); SetWorldGravity(Vec3(0,-9.80665f*2,0)); SetBodyMass( player,10); PositionEntity (player,Vec3(-5,30,-20)); float move=0.0; float strafe=0.0; TVec3 camrotation=Vec3(0); float mx=0; float my=0; HideMouse(); MoveMouse(GraphicsWidth()/2,GraphicsHeight()/2); TMesh lilcube=CreateCube(); EntityParent(lilcube,fw.GetMain().GetCamera()); PositionEntity(lilcube,Vec3(0,0,3.5)); HideEntity(lilcube); TBody body=CreateBodyBox(); SetBodyMass(body,0.8); EntityType(body,1); TMesh mesh=CreateCube(); EntityParent(mesh,body); PositionEntity(body,Vec3(0,5,-30)); fw.GetRenderer().SetBloom( true ); //Main loop while(!KeyHit(KEY_ESCAPE)) { //Camera looking mx=MouseX()-GraphicsWidth()/2; my=MouseY()-GraphicsHeight()/2; MoveMouse(GraphicsWidth()/2,GraphicsHeight()/2); camrotation.X=camrotation.X+my/10.0; camrotation.Y=camrotation.Y-mx/10.0; RotateEntity(fw.GetMain().GetCamera(),camrotation); //Player movement move=KeyDown(KEY_W)-KeyDown(KEY_S); strafe=KeyDown(KEY_D)-KeyDown(KEY_A); //Jumping float jump=0.0; if (KeyHit(KEY_SPACE)) { if (!ControllerAirborne(player)) { jump=6.5; } } //Run if (KeyDown(KEY_LSHIFT)||KeyDown(KEY_RSHIFT)) { if (!ControllerAirborne(player)) { move==7.0; strafe==7.0; } } //Set controller input fw.Update(); UpdateController(player,camrotation.Y,move*3,strafe*3,jump,15,1); //Update the world //Position the camera TVec3 playerpos=EntityPosition(player); TVec3 camerapos=EntityPosition(fw.GetMain().GetCamera()); camerapos.Y=Curve(playerpos.Y+0.85,camerapos.Y,2.0); camerapos=Vec3(playerpos.X,camerapos.Y,playerpos.Z); PositionEntity(fw.GetMain().GetCamera(),camerapos); TVec3 lilpos=EntityPosition(lilcube,1); if (KeyHit(KEY_F)) AddBodyForce(body,Vec3(0,0,1500)); if (KeyHit(KEY_Q)) lighton++; if (lighton==2) lighton=0; if (lighton==1) { RotateEntity(light,Vec3(0,0,0),0); EntityParent(light,fw.GetMain().GetCamera()); PositionEntity(light,Vec3(0,0,0)); } else { EntityParent(light,0); PositionEntity(light,Vec3(0,-5555550,0)); } if (KeyDown(KEY_E)) { EntityParent(body,fw.GetMain().GetCamera()); PositionEntity(body,Vec3(0,-0.5,2.2)); SetBodyVelocity(body,Vec3(0,0,0),0); SetBodyOmega(body, Vec3(0,0,0),0 ); CalcBodyOmega(body,Vec3(0,0,0),0); } else { EntityParent(body,0); } fw.Render(); //Render the world Flip(0); } exitapp: return Terminate(); } Very strange problem! Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted January 18, 2010 Share Posted January 18, 2010 THIS might 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...
VicToMeyeZR Posted January 20, 2010 Share Posted January 20, 2010 i have ati mobility hd 3400, maybe problem. bad !!!!! Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD 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.