i am trying to use the new opengl pack and i was hoping to have the base stretch if the window were maximized. this could be achieved with the standard abandoned opengl extension by enabling transparency, but i am unsure how to do it with the new extensions. stretching the size of the extension does nothing, so i am unsure what to do.
Stretching OpenGL Base?
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.
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.
-
-
Try using the actions "set window size"
good luck, i'll upload an example if you can't get it working
-
see that does scale it, but the actual OpenGL display doesnt stretch, it stays at the same resolution, so the background fill stays within the area i stretch to but the models are in the default area
-
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.
-
is there any way to not have the openGL base always be on top? i want to have a HUD over it
-
Hi brawltaunts22
Forum: Please login to see this link.Thread: Please login to see this link.
I ask the same question and have tried different methods. Nothing worked. I also tried other ideas presented by fellow forum members.
Marv
-
i guess i am going to be using the old opengl extension then.
-
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:
Codegl.MatrixMode( gl.PROJECTION ) gl.LoadIdentity() gl.Ortho( 0, width, height, 0, 0, 1 ) -- Width and height of the OpenGL window gl.MatrixMode( gl.MODELVIEW ) gl.LoadIdentity()
Then render your hud using quads.If you have trouble you could ask someone to make an example for you. ( I can't make one though, I don't have MMF2 on my computer. )
-
Thanks for the info Min.
Marv
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!