Jump to content

Paul

Members
  • Posts

    83
  • Joined

  • Last visited

Posts posted by Paul

  1. This as I understand it is a framework issue and requires another rendering pass to make it work. As this has been an issue for a long time I don't understand why the framework is not modified to accomodate this as a switchable option so that people who want to use it and take the hit can do but those who have no need of it can opt to simply not use it. That way it's a win win situation!

    Do you know if anyone has successfully done this?

     

    From what I've read too its to do with the rendering pass, but I had the impression the problem existed before the framework.

  2. The refraction shader can do that. It's slightly more complex to implement a blur in the shader, but not that bad.

     

    It would not handle multiple layers of transparency, though. Just the topmost layer would be fuzzy, so if you had three panes like that, they would not get progressively more fuzzy with each layer.

    Is this the same reason the heat refraction messes with water?

    How do other games get around the problem?

  3. I used one in the early days of Leadwerks, just placed it in the background world, scaled and textured it and that was pretty much it. Skyboxes seem to exhibit less distortion though. Why the particular interest in a skydome?

    Wanted to rotate the night sky to give the effect of the earths movement.
  4. If you mean within your own application, it is possible.

     

    I did a quick Google search found this link with several options regarding resources and embedded DLLs: Embed DLL within EXE

     

    One option:

    ILMerge

    What I mean is does the C# wrapper need to be compiled as a net dll, or can the source code be included into the game's solution?
  5. plus its in a function <- SM: not really? why a function - its only a variable that becomes thru the enumeration an fixed number @ compilation time => konstante

    Then there is no reason for a procedure to contain the structures and constants.
  6. i tryed to use XIncludeFile("Leadwerks.pb")

    but when i do this i get and error

    [compiler] line 83 Constant not found #Engine_library

     

    i don't understand why :blink: any help ?

    #Engine_library isn't assigned a number, plus its in a function. I find using #PB_Any is better, which a generates a number instead.

    Don't really see the point of "Init_Engine_Enum()" it doesn't do anything and just contains the constants and structs.

     

    Macro _leInitialize(le_dll)
    le_lib=OpenLibrary(#PB_Any,le_dll)
    If le_lib
    	_leInitAllFuncs()
    Else
    	lePrint(le_dll+" can't be loaded.")
    EndIf
    EndMacro
    

  7. i don't know how to copy the value, how would you code this ? :blink:

    Using the CopyStructure command.

     

    copying the value may lead to memory leaks, the copied value will never be freed ? no ? :)
    Depends what its been copied to, a variable should be ok, but if its an allocation then it needs to be freed.
×
×
  • Create New...