Base extension

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • This extension is the core of the OpenGL Collection. It can create an OpenGL compatible window in the MMF frame which the other OpenGL extensions can render to. It is also possible to render to the Base window using external OpenGL libraries for the XLua, Python and .net Script objects.

    Use this thread for suggestions and general discussion of the Base extension.

  • I am guessing you know i want this already but suggestions for base would be to allow it to draw under other things like MMF layers and surface object etc. The new surface object import to texture could possibly be used to workaround this though but i haven't had time to test this just yet.

    Another thing that would be useful is to be able to use a transparent clear color so you could have a model over a transparent background. The older object by looki could do this so maybe he would give you the code or something. Maybe this can be done already through lua code etc also although i have yet to work out how but maybe someone knows if you can.

    Since you mentioned it i am just wondering is there a example of base being used with python?

    Also i noticed in a recent version i downloaded .net examples are gone so i am am just wondering why as i have some from a previous zip.

    Anyways great work with the base object and thanks for the OpenGL collection, they are really great.

  • Quote

    I am guessing you know i want this already but suggestions for base would be to allow it to draw under other things like MMF layers and surface object etc. The new surface object import to texture could possibly be used to workaround this though but i haven't had time to test this just yet.

    I have plans for a HUD extension, it wont be as flexible as having MMF objects on top of the Base window but it will be a lot faster.

    Quote

    Another thing that would be useful is to be able to use a transparent clear color so you could have a model over a transparent background. The older object by looki could do this so maybe he would give you the code or something. Maybe this can be done already through lua code etc also although i have yet to work out how but maybe someone knows if you can.

    Actually, I wrote that part of the old object. The feature needed "display above frame" disabled, which had some issues I haven't been able to solve, hence why these features are missing from the Base object.

    Quote

    Since you mentioned it i am just wondering is there a example of base being used with python?

    Not yet, unfortunately I don't know the Python language but I know there is an external library of OpenGL bindings for Python. Hopefully someone who knows Python could whip up an example or two.

    Quote

    Also i noticed in a recent version i downloaded .net examples are gone so i am am just wondering why as i have some from a previous zip.

    This is because the .net Script object seems to sometimes be unable to locate the required dll to use OpenGL. As this is a problem with either the .net Script object or the dll in question and not with the OpenGL Collection I've chosen to remove those examples.

  • Thanks for the reply min, this new HUD extension sounds like it will be great. i guess by HUD you mean like this -

    Please login to see this link.

    so it allows you to draw/layer over the current view, this will be very useful thanks. Maybe you could instead of allowing actives etc to be drawn over the top also have a similar feature to what surface object does and blit/draw to a 2d quad/plane of the same size so it just appears to be over it when in fact it's not really.

    The transparent clear would be useful although if it was buggy maybe not, it would possibly be good to have it as a optional feature with warning it may be buggy though but hopefully it can be fixed at some point. :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!