Jump to content

Blitzbat

Members
  • Posts

    39
  • Joined

  • Last visited

Posts posted by Blitzbat

  1. Thanks for your replies!

     

    I have successfully ordered leadwerks via paypal now ;-) There is no paypal interface but you can send him the amount via paypal to the order email address.

  2. Ok, thanks for the tip.

     

     

    I also found another way to do it also using the glScissor(x, y, width, height) command.

    glScissor command

     

    Then you can specify an area on the screen and stuff rendered outside that area will not be shown.

     

    Do you have an example for using glScissor? I just can't get it working together with the coordinate system ...

     

    Thanks!

  3. this is a shader bug i postet a short time before in the bugtracker.

     

    Open the shader.pak and edit the 'Mesh/mesh_diffuse_fullbright.frag' and remove the line which defines texture 2 so that the file looks like this:

    #define LW_DIFFUSE texture0
    #define LW_FULLBRIGHT
    
    include "mesh.frag"
    

     

    Also you need to copy the dlls and AwesomiumProcess.exe from Awsomium SDK into your output folder.

    Once the official .NET part is finished i will release a full Package with working Samples.

     

    Thanks for this hint but now my cube is black <_<

  4. And here it comes ;)

     

           public void Run() {
    
               this.config.LoadFile("config.ini");
    
               this.height = this.config.GetIntValue("video", "height");
               this.width = this.config.GetIntValue("video", "width");
               this.depth = this.config.GetIntValue("video", "depth");
    
               Graphics.Initialize(this.width, this.height);
    
               new World();
    
               Camera cam = new Camera();
               Entity box = Mesh.CreateCube();
               box.Move(new Vector3(0.0f, 0.0f, 5.0f));
               while (!Window.HasRequestedClose()) {
    
                   World.Update(1);
    
                   World.Render();
    
    
                   Graphics.Flip();
    
    
    
               }
    
               Leadwerks.Engine.Terminate();
           }
    

  5. Hey!

     

    Ok. Something is being bad here... This simple code does not work :). I only see a black screen.

     

    Graphics.Initialize(this.width, this.height);
    Framework.Initialize(true);
    
    if (Framework.Layers.Main.World.Pointer == World.NullPointer) {
       return;
    }
    
    Texture.TFilterMode = 1;
    Texture.AFilterMode = 4;
    
    Graphics.Initialize(this.width, this.height);
    Framework.Initialize(true);
    
    if (Framework.Layers.Main.World.Pointer == World.NullPointer) {
    return;
    }
    Texture.TFilterMode = 1;
    Texture.AFilterMode = 4;
    
    Entity box = Mesh.CreateCube();
    box.Move(new Vector3(0.0f, 0.0f, 10.0f));
    while (!Window.HasRequestedClose()) {
    
    World.Update(1);
    
    World.Render();
    
    Graphics.Flip();
    
    
    
    }
    
    Leadwerks.Engine.Terminate();
    

     

    Can someone help me?

     

    Thanks!

  6. Hi !

     

    I have problems with the c# headers ;)

     

    If I'm trying to load a scene i can't see anything...

     

    I have tried to get an entity by key but than a AccessViolationException was thrown (in Core.EntityPosition(this.Pointer, position, 0))

     

    Here is my code:

    
    Scene s = Scene.Load("abstract::test.sbx");
    Vector3 campos = s.GetChild("camera_start").Position; //here the AccessViolationException is thrown.
    this.maincam.Position = campos;
    
    

     

     

    Thanks for your help!

     

    Blitzbat

  7. 2D thats that "flat" stuff aint it? :blink::)

     

    It may pay you to have a read through this thread on the "old" forum, I have no experience with bah cegui, but this may throw some light on things.

     

    Mhm that means i must rename all functions of max2d and then update all other modules that are importing max2d? that's definitely not a solution...

    It seems that it does not work at the moment. :(

  8. Hi at all :)

     

    Is it possible to handle multiple worlds at the same time? It's because of a dedicated server that should handle more than one scene.

    Every map should be handled seperatly.

     

    Don't know realy how to start...

     

    Thank you so far ;)

  9. C# is known to have an issue when compiler settings are set to Any CPU. You have to compile to either x86 or x64, though since Leadwerks is 32-bit native, it is best to just compile using x86, since you can't really gain anything from x64 using a x86 engine.

     

    yes, that's right! But a 64 bit version of leadwerks were great!

  10. C# is known to have an issue when compiler settings are set to Any CPU. You have to compile to either x86 or x64, though since Leadwerks is 32-bit native, it is best to just compile using x86, since you can't really gain anything from x64 using a x86 engine.

     

    yes, that's right! But an 64 bit version of leadwerks were great!

  11. C# is known to have an issue when compiler settings are set to Any CPU. You have to compile to either x86 or x64, though since Leadwerks is 32-bit native, it is best to just compile using x86, since you can't really gain anything from x64 using a x86 engine.

     

    huh?! 3 times?

×
×
  • Create New...