Search:

Type: Posts; User: Min; Keyword(s):

Search: Search took 0.00 seconds.

  1. I'm the developer of the OpenGL collection...

    I'm the developer of the OpenGL collection extensions. I removed the extensions from my own webspace since they weren't complete and I had stopped working on them. However, it seems people like them...
  2. Replies
    8
    Views
    1,672

    Re: Stretching OpenGL Base?

    Again, use luagl, it is not hard to make a hud using it.

    After you are done rendering your 3d scene switch to orthogonal projection:

    gl.MatrixMode( gl.PROJECTION )
    gl.LoadIdentity()
    gl.Ortho(...
  3. Replies
    8
    Views
    1,672

    Re: Stretching OpenGL Base?

    You have to update the viewport as well, you have to use luagl for this:

    gl.Viewport( x, y, width, height )

    You want to set x and y to zero and set width and height to the new window size.
  4. Thread: MS3D Attach mesh

    by Min
    Replies
    4
    Views
    3,120

    Re: MS3D Attach mesh

    "Joint>Attach object..." is a dummy action, it doesn't do anything. It is one of the things I never implemented.
  5. Replies
    15
    Views
    22,371

    Re: Development canceled.

    I put a lot of work into making these extensions and the majority of them are stable enough, the 3D sprite and Milkshape 3D extensions being the exceptions, so I'll keep them available.

    As for the...
  6. Replies
    15
    Views
    22,371

    Development canceled.

    I'm dropping this project for personal reasons. I apologize for any inconvenience this might cause.
  7. Replies
    4
    Views
    3,232

    Re: Textures won't load using milshape extension

    Your model stores the full path of the texture, making the RequestedTexture$ expression return not only the name of the file but the whole path. In MilkShape when you set a texture you will want to...
  8. Thread: Base extension

    by Min
    Replies
    4
    Views
    3,453

    Re: Base extension

    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.

    Actually, I wrote that part of the old object. The feature...
  9. Thread: Collada extension?

    by Min
    Replies
    3
    Views
    2,902

    Re: Collada extension?

    An .obj model extension is definitely a possibility, but I have a couple of other things I want to finish first.
  10. Replies
    1
    Views
    1,223

    Re: Spotlight where the camera is facing

    If you are only using one light source ( the spotlight ) you could call the Apply Lights action only once at start and not on redraw, this way it won't be affected by camera transformation and will...
  11. Replies
    2
    Views
    1,385

    Re: How does the animation work for the 3d sprite?

    First when you set up a new sprite ( using the Sprite>New Sprite... action ) you specify the number of directions and the number of animation frames per direction. The total number of frames will be...
  12. Thread: Texture extensions

    by Min
    Replies
    5
    Views
    3,460

    Re: Texture extensions

    I see your point, perhaps the best solution would be to have an option to automatically scale image height/width to the nearest power of two, since that wouldn't mess up texture repeating ( also no...
  13. Thread: Texture extensions

    by Min
    Replies
    5
    Views
    3,460

    Re: Texture extensions

    This is very much possible, but isn't it quite easy to manually pad using an image editing tool? ;)
  14. Thread: Collada extension?

    by Min
    Replies
    3
    Views
    2,902

    Re: Collada extension?

    It certainly would be useful. I think it would be a big project though, the format seems quite complex. It would be interesting if another extension developer would like to tackle it, I think it is...
  15. Thread: Texture extensions

    by Min
    Replies
    5
    Views
    3,460

    Texture extensions

    The Texture Bank and Texture External extensions can load textures to be used by other OpenGL extensions. The Texture Bank can store a number of images that can be loaded as textures at any time. The...
  16. Replies
    0
    Views
    1,236

    MilkShape 3D model ( MS3D ) extension

    This extension can load and render 3D models in the MilkShape 3D model format. You can control position, orientation, animation and material properties of models. This object do several useful things...
  17. Thread: Lighting extension

    by Min
    Replies
    1
    Views
    1,120

    Re: Lighting extension

    I call this extension Lighting ( Advanced ) because I'm thinking of also making a simplified version, since you often only use positional and directional lights and only use the diffuse property of a...
  18. Thread: Lighting extension

    by Min
    Replies
    1
    Views
    1,120

    Lighting extension

    This extension can set up up to eight individual light sources. There are three different types of light sources; positional, directional and spotlight. There are several parameters for each light,...
  19. Thread: Camera extension

    by Min
    Replies
    0
    Views
    1,131

    Camera extension

    This extension can set up a perspective view for rendering a 3D scene. You can control the position, orientation and field of vision of the camera.

    Use this thread for suggestions and general...
  20. Thread: Base extension

    by Min
    Replies
    4
    Views
    3,453

    Base extension

    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...
  21. Replies
    0
    Views
    933

    3D Sprites extension

    This extension can render 3D sprites that always face the camera. The sprites can be animated and have any number of directions.

    Use this thread for suggestions and general discussion of the 3D...
  22. Replies
    2
    Views
    5,729

    Sticky: OpenGL Collection Beta download

    Download

    Included extensions
    - OpenGL 3D Sprites
    - OpenGL Base
    - OpenGL Camera
    - OpenGL Clear Control
    - OpenGL Lighting ( Advanced )
    - OpenGL MS3D
    - OpenGL Texture Bank
  23. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Thank you Jamie! (:

    About sprite sheets, there is another problem too to do with texture coordinate precision, where in certain cases you would see a sliver of neighbouring frames. I think the...
  24. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Download

    Update!

    - The External Texture object can now load images from Actives, Overlays and Surface objects.
    - The 3D Sprite object has a new more efficient way to set texture handles for...
  25. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL - 3D Sprites extension

    The outline problem arises from the interpolation between a transparent texel and neighbouring texels. Because both colour and alpha values are interpolated the semitransparent fragments will fade...
  26. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL - 3D Sprites extension

    It's the same for 3D objects. However if you use the MS3D or 3D Sprites extensions they automatically handle this for you.
  27. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL - 3D Sprites extension

    When working with alpha blending make sure you draw all opaque polygons first, then draw the ones with translucent parts. If you want the translucent polygons to blend together correctly you also...
  28. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL - 3D Sprites extension

    You don't have to apologise for anything Atom, as long as there is no OpenGL subforum this thread is the place where one would naturally post questions about things related to the objects, don't...
  29. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL - 3D Sprites extension

    Perhaps a subforum dedicated to the OpenGL objects would solve things like this. Unfortunately I'm too shy to ask the admins to make one. :blush:
  30. Replies
    1
    Views
    3,951

    View Post

    Download 1.1

    Fixed a bug that allowed for collision with only one type of object at a time.
  31. Replies
    1
    Views
    3,951

    View Post

    Download

    Lets you create custom movements with up to 360 directions. Works in a similar fashion as the Platform Movement Object.
  32. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL - 3D Sprites extension

    Do the other examples work? Do you have an old video card? It might be that it doesn't support VBO's. VBO's are a way of sending vertex data to the video card, I'm using them in the MS3D and 3D...
  33. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL - 3D Sprites extension

    That's strange, it is supposed to display and animate the images in the Texture bank. Is the MS3D and 3D sprite examples that come with the collection working for you?
  34. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL - 3D Sprites extension

    I've updated the example to use 2 directions, works like a charm. Updated example
  35. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL - 3D Sprites extension

    You can have any number of directions, so if you feel like drawing frames for 360 different directions, then there is no problem. :P

    Here is a simple example of how to animate an object while a...
  36. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL - 3D Sprites extension

    Thank you guys. ^^


    @Looki:

    No worries. About depth sorting: it only makes a difference if there are any translucent sprites. If you change the transparency of the objects in the example (...
  37. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    OpenGL - 3D Sprites extension

    Download

    Update!

    - New 3D sprite extension ( with example. )
    - Fixed a bug with the transparent colour of imported images in the Texture Bank extension.
    - Fixed a problem with transparent...
  38. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    Maybe, but reading all vertices of a model through expressions will be dreadfully slow. What would it be used for?
  39. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    Download

    MS3D extension:
    - Added actions and expressions to get/set texture coordinate offset for materials, this is useful for things like running water.
    - Fixed a nasty bug in the Remove...
  40. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    Try removing gl.LoadIdentity() from the Draw function.
  41. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    @Atom: It isn't an optimal but it works if you just need a simple scene.

    @LB: It is the latest extension in the OpenGL collection and can load and render MilkShape 3D models. We are replying with...
  42. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    Download

    Added show/hide group actions to the MS3D extension!
  43. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: question regarding texturing an opengl window

    Ah, you are trying to use a texture name as the material name. Use the "Material->Texture handle..." action instead, with material name "Head" and the texture handle of the desired texture.
  44. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: question regarding texturing an opengl window

    "Set group material" works fine for me, are you sure you entered correct group and material names? They are case sensitive. If you just wish to change the texture of a material use the...
  45. Replies
    12
    Views
    2,819

    Re: ForEach Object (Possible Bug?)

    No bug, this is because the image data of an active object is shared among all its instances. Probably to save space.
  46. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: question regarding texturing an opengl window

    Download

    MS3D animation loopcount fixed!
  47. Replies
    1
    Views
    580

    mvAddBackdrop trouble

    I have run into a problem with the mvAddBackdrop function in the MMF SDK, when I call it all the transparent pixels of the added backdrop appear black. It doesn't seem to matter what ink effect I...
  48. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    @Gibbon:

    What the OpenGL Base extension does is it creates an OpenGL compatible window, if any OpenGL function is called by any extension it will affect the OpenGL Base window. Think of it as a...
  49. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    Oh, I thought you were trying to use FBOs through Lua.

    I understand some of the Lua OpenGL bindings differ a bit from their OpenGL API counterparts, I don't know which ones and how they differ...
  50. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    I'd say the majority of MMF users don't know Lua, not to mention the OpenGL API. OpenGL interaction through Lua is for you more advanced users. ;)


    You should be able to render to textures loaded...
  51. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    FBO support should be possible, but I have no plans to add it atm. The next extensions I'll be focusing on are a HUD extension and a 3D sprite extension. And of course the MS3D extension is not 100%...
  52. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    Biturn supposedly can convert both OBJ and 3DS to MS3D. I haven't tried it but it might be worth checking out.

    If you google you should also be able to find MS3D export scripts for both 3D Studio...
  53. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: MilkShape 3D model extension

    When you create a new object, pass the ID of the new object to your Lua script and store it along with the rest of your object data ( position, rotation and the whatnot. ) Now when you need to update...
  54. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    MilkShape 3D model extension

    Download

    Includes a new extension that can be used to load and render MilkShape 3D models ( MS3D format. ) This means there is finally a way to draw stuff without using .net or Lua. ;) An example...
  55. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    It is known. The Base is its own window so it blocks that part of the MMF frame from mouse interaction. It's the same with other window controls like the Button object. You can get around this by...
  56. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    If you are using the Texture External extension make sure that the last parameter of your Load texture actions is 0.
  57. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Do you have the latest version of XLua? I just noticed there are newer versions of XLua than the one I have, so I might have to update the examples in case they have broken.
  58. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Are you using the old OpenGL Object? It has been discontinued and is being replaced by the OpenGL Collection.

    The collection is still incomplete, at present, XLua or the .net Script Object are...
  59. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Download

    Added mipmap support to the Texture Bank and Texture External extensions.
  60. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    I'm working on implementing mipmapping into the Texture Bank extension as we speak. ;)
  61. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Download

    New release!

    - Fixed a bug in the Texture Bank extension to do with alpha channels.
    - A new extension for loading textures from external image files. ( Which needs a better icon btw....
  62. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Yeah that is what im thinking, if it's causing problems don't let it hold things up because you can just preview via the runtime always so maybe just remove it even. I couldn't see it but i could see...
  63. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    What the older OpenGL object did to draw into the MMF frame was to first render into a hidden window and then copying the data of the pixel buffer to a cSurface ( I cannot come up with a good...
  64. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Yes. ;)

    I hope I can solve the preview bug soon so I can release the new and fixed texture extensions.
  65. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    The preview problem persists, I need some help with this. It's a pain to debug since it works fine on my own computer. I've got a friend whom it does not work for and I'm having him test it ( poor...
  66. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Cool that sounds great, why not just make it part of the current Texture Bank though?[/quote]
    Externally loaded textures are handled a bit differently from how the textures in the bank are handled,...
  67. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    A little update on what I'm doing at the moment. I'm still having trouble solving the Texture Bank preview problem that some people are experiencing. In the meantime I've made an extension that can...
  68. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Could any of you post or pm me a screen shot?

    Edit: No need, got one now!
  69. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Is the preview frame simply grey or does it display a chequered pattern?
  70. Replies
    425
    Views
    272,871

    Re: XLua extention beta

    Great update!

    First the Vector Math object and then this update, you're one busy bee! ;)
  71. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    XLua examples updated to work with the new version of XLua.

    Download

    On another note, is the little preview frame in the Texture Bank object working for everyone? I think I remember someone...
  72. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Of course XLua and .net support will stay. No need to worry. ;)
  73. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    The code looks ok, did you replace the base object ( removed it and inserted a new )? The latest build of the base object is not compatible with previous builds, so you may need to do that.
  74. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    Re: OpenGL collection

    Your intuition is pretty much spot on. ;)

    I think I've made a slight error in the lua code in the textured quad example, and I was so sure I had checked that all examples work.

    Atom: About the...
  75. Thread: OpenGL collection

    by Min
    Replies
    226
    Views
    67,883

    OpenGL collection

    Download

    Includes the latest ( beta ) versions of:
    - OpenGL Base
    - OpenGL Camera
    - OpenGL Clear Control
    - OpenGL Lighting ( Advanced )
    - OpenGL Texture Bank

    Added v-sync option for the...
  76. Thread: OpenGL md2

    by Min
    Replies
    20
    Views
    5,719

    Re: OpenGL md2

    Just to clear up a bit of confusion, I'm not going to make an md2 extension myself ( I might make an ms3d extension but I'm not promising anything ) so this is great! ;)
  77. Replies
    60
    Views
    17,683

    Re: Dungeon Object Beta

    I hope this explains it a bit better:
    http://img35.imageshack.us/img35/913/thinwalls.th.jpg
  78. Replies
    60
    Views
    17,683

    Re: Dungeon Object Beta

    Great extension! I have a request, if it's not too much trouble, could you add an option to not allow any "thin walls"?

    Example of what I mean by "thin walls":


    +------+
    | |
    | ---+ |
    |...
  79. Replies
    106
    Views
    21,681

    Re: OpenGL Texture Bank object ( public beta )

    Oh, found the cause of that problem too, in Backwards(), change
    if frame <= 0 then
    to
    if frame < 0 then
  80. Replies
    106
    Views
    21,681

    Re: OpenGL Texture Bank object ( public beta )

    In the Backwards() function, change the line
    frame = numTextures
    to
    frame = numTextures - 1

    The texture indices are 0-based which means the first texture will have index 0 and the last will...
  81. Replies
    106
    Views
    21,681

    Re: OpenGL Texture Bank object ( public beta )

    OpenGL - Texture Bank object ( beta 02 )

    Two bug fixes:
    - Load all textures and Unload all textures stopped if one of the textures was already loaded ( or unloaded in the second case. )
    - On...
  82. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    Seems like the .net example problem is due to the .net object not being able to locate the .dll. <-- Min stating the obvious.
    It's a long shot but try placing the .dll in the MMF folder and the...
  83. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    Atom: The latest base object build is not compatible with earlier builds, try copying the Lua code from your example and past it into the new additive blending example, it should work then.

    All...
  84. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    The texture bank object is meant to replace the original texture object, I won't continue working on the original object ( unless there is demand for it. ) I'd recommend you remove it.

    Good idea,...
  85. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    Simply enable depth testing using gl.Enable() and make sure to clear the depth buffer along with the color buffer at the top of the Draw function in the Lua script.
  86. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    OpenGL - Base object ( beta 04 )
    A minor redesign. The new On redraw condition is triggered whenever the OpenGL window needs to be redrawn. This build breaks compatibility with previous versions.
    ...
  87. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    Well of course.
  88. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    Going to answer a couple of questions.

    Yes, I'm just waiting a bit to make sure there are no bug in the last beta before I release it.

    Hopefully this is possible, I'm looking into it.

    I...
  89. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    If it is black it means the OpenGL window was created successfully, the problem might be in the example code. Some things you can try to do are:

    - Open the .net script editor ( double click the...
  90. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    Dragonguy, do you have the same problem with every example? Do all XLua examples crash and do all .net examples show nothing? How do the .net examples look, is the top left part of the window ( where...
  91. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    Thank you for the offer guys, something that would help me a lot is a model loader/displayer extension of some sort, I hope to make an object with a built in model editor sometime in the future, but...
  92. Replies
    106
    Views
    21,681

    Re: OpenGL Texture object ( public beta )

    While waiting to make sure no more bugs appear in the Base object, I started working on this: OpenGL Texture object ( beta 01 )
  93. Replies
    4
    Views
    1,181

    Re: Internal image bank?

    Ah, so the EditAnimationParams structure is updated by the by the mvEditAnimation ( looking at the help file again I see it actually says that, and of course I managed to miss it while looking right...
  94. Replies
    4
    Views
    1,181

    Internal image bank?

    Looking through the SDK help file, in the parts regarding mvEditAnimation and mvEditImage it refers to "a list of images contained in the application image bank". Is there anyone who could give me...
  95. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    OpenGL - Base object ( public beta 03 )

    Minor update, removed a dependency to a non-system dll ( this results in a bigger extension file size though. ) Also included a new additive blending...
  96. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    OpenGL - Base object ( public beta 02 )

    A small change to how the window handles redrawing when it has been covered by another window or the application window is resizing ( Enable 'Run while...
  97. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    @Looki: Nice example!

    @xyzzy: It's pretty safe to say the problem is not in the extension then. It could still be something in the script, maybe your video card need the buffer to be cleared once...
  98. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    Here is the little test app I was talking about ( it's only 12kb in size. ) This is for the people who have trouble with the motion blur example!

    The program works like this: first you get a...
  99. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    But how can I be sure it is stable if it isn't tested? Since the extension is hardware dependant I need it to be tested on many different computers, hence the public beta. I understand people want...
  100. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    As long as using OpenGL doesn't present any problems it shouldn't matter much. Once I get to the other co-extensions you wont even have to worry about working with gl calls as that will be done under...
  101. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    What happens if you change Accum bits to 64? You can try other numbers as well, like 24 or 48.

    Edit: To see how many accum bits you got when the window was created ( this may be different from the...
  102. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    @Looki: Let's pretend that's what I said. ;P

    @Fanotherpg: Yes, the Irrlicht objects got it right from the start, couldn't help but following that. ;) I've never worked with DirectX, I feel...
  103. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    @Looki: I think I found the solution , try adding gl.Flush() to the end of the script. The GL commands just sits in the command buffer, never knowing when to actually execute. ;) If gl.Flush()...
  104. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    @Retriever: They have 'Auto swap buffers' enabled through actions. This is a small change from the private beta you have, if you haven't replaced the object then those actions might not appear. Sorry...
  105. Replies
    106
    Views
    21,681

    Re: OpenGL Base object ( public beta )

    Thank you. :D Let me know if there is anything missing in the Base object that is needed for things like shaders, you probably have a lot more knowledge about that stuff then I have.

    About the...
  106. Replies
    106
    Views
    21,681

    OpenGL Base object ( public beta )

    Here we go again. ;)

    OpenGL Base object ( public beta 01 )

    This is the first in what I hope to be a collection of extensions intended to replace the old OpenGL object that was made by Looki and...
  107. Replies
    5
    Views
    987

    Re: Custom parameter and Win32 woes

    ResEdit won't let me create a new .rc file in my project folder unless I agree to overwrite the existing resources.h file.

    Anyway, I figured out how to get the icon.
    (HICON)GetClassLongPtr(...
  108. Replies
    5
    Views
    987

    Re: Custom parameter and Win32 woes

    Ah, thank you, that did the trick! :)

    I'm trying ResEdit now but it gives me error messages when I try to open Ext.rc. I like hand coding stuff so that's fine with me, is there any problem with...
  109. Replies
    19
    Views
    3,440

    Re: 3d looking buildings like GTA

    screenX = ( X - cameraX ) * ( dist / Z ) + screenCenterX
    screenY = ( Y - cameraY ) * ( dist / Z ) + screenCenterY

    is what I meant, set dist ( not the same as cameraZ which is 0 in this equation )...
  110. Replies
    5
    Views
    987

    Custom parameter and Win32 woes

    I'm trying to make a custom parameter type for an extension I'm working on. Since I use VC++ 2008 Express and it doesn't have a resource editor I'm not going to bother trying to use the DialogBox...
  111. Replies
    19
    Views
    3,440

    Re: 3d looking buildings like GTA

    It will be an extension, or rather, several extensions that work together. I aim for the ease of use of the Klik3D widget but with the flexibility of OpenGL, and most importantly, making it much more...
  112. Replies
    19
    Views
    3,440

    Re: 3d looking buildings like GTA

    I should mention that I no longer provide support for the Klik3D widget. I'm working on a much better alternative. ;) ( Might take a while though. )
  113. Thread: OpenGl Crashes

    by Min
    Replies
    46
    Views
    9,345

    Re: OpenGl is too hard to use

    That is my intention. And anyone is welcome to make their own additional extensions. *hint* ;)

    Of course!

    The general idea I have is to have a base object that only serves as a window to draw...
  114. Thread: OpenGl Crashes

    by Min
    Replies
    46
    Views
    9,345

    Re: OpenGl is too hard to use

    I don't think my For Each Loop extension is going to be anything like the For Each Object in the Bidding Pool ( I never quite got how that one is supposed to work either. ) The one I'm working on is...
  115. Thread: OpenGl Crashes

    by Min
    Replies
    46
    Views
    9,345

    Re: OpenGl is too hard to use

    You could help me test the extension I'm currently working on. ;) (It's a For Each Loop object.) I want to get it done before I start looking at the OpenGL object.
  116. Thread: OpenGl Crashes

    by Min
    Replies
    46
    Views
    9,345

    Re: OpenGl is too hard to use

    Original author here. I'm thinking of taking up working on the OpenGL object again, redesign it from the ground up to be more precise. If Looki is ok with it.
  117. Thread: Value Packer

    by Min
    Replies
    0
    Views
    1,259

    Value Packer

    This object allows you to pack several smaller values into one 32 bit variable and retrieve them. You can also set/clear/toggle individual bits.

    Download link

    Conditions:
    - Is a specific bit...
Results 1 to 117 of 119