Jump to content

Search the Community

Showing results for tags 'opengl'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Blogs

  • Development Blog
  • Canardian's Blog
  • Beyond Civilization Blog Ext
  • Tyler's Blog
  • macklebee's Blog
  • B-Byrnes' Blog
  • Marleys Ghost's Blog
  • omid3098's Blog
  • Richardsimpo123456's Blog
  • DJDD's Blog
  • Rick's Blog
  • --
  • xtreampb's Blog
  • Economically Disadvantaged
  • klepto2's Blog
  • Old Blog
  • Chris Paulson's Blog
  • Davaris' Blog
  • nil
  • Rekindled Phoenix's Blog
  • Flexman's Blog
  • Kattemaksu Online
  • Marcousik's Creations Blog
  • EVE LBS Studio
  • Rendering puzzles
  • Screen Size Utility
  • Niosop's Blog
  • 1299 RTS Game Project
  • Blitzbat's Blog
  • gordonramp's Blog
  • Andy Gilbert's Blog
  • Marcus' Blog
  • JornAggror Blog
  • diedir's Blog
  • wayneg's Blog
  • Masterxilo's Blog
  • Dave Lee's Blog
  • peubuy's blog
  • OD Arts -Leadwerks Blog
  • The progression......
  • Ultra Software Company Blog
  • The Progression
  • Pancake's Blog
  • Test Blog
  • BLaBZ Blog
  • Pure³d's Blog
  • dreamhead Blog
  • RVL's Blog
  • DB's Blog
  • Toxin Games Development Blog
  • CombatHelo Blog (RSS Import)
  • Foolish's Blog
  • ZioRed's Corner
  • Toxin Games Twitter
  • Shard - Third Initiative
  • Shard's Blog
  • Soamp's Blog
  • Soamp's Blog
  • Laurens' Blog
  • JT`s warehouse district
  • Kennar's Blog
  • KiteFuchs' Blog
  • KiteFuchs' Blog
  • Rachel's Dev-Blog
  • Eagle's Blog
  • zaphos' Blog
  • please delete this blog
  • Afke's Blog
  • Richard Simpson
  • knowledgegranted's Blog
  • EdzUp(GD)'s Blog
  • aGameLife's Kelasel MMORPG Blog
  • tournamentdan's Blog
  • Beyond Civilization Blog
  • smashthewindow
  • AnniXa's Blog
  • AnniXa's Blog
  • Elemental Development
  • DigitalHax Blog
  • Aria's Blog
  • Strogg76's Blog
  • Clackdor's Blog
  • Leadwerks Project Status
  • simpleprogrammer's Blog
  • Pathfinding in LE.2.x
  • Naughty Alien's Blog
  • smashthewindow's Blog
  • Ali Salehi's Blog
  • Jardar's Blog
  • Chris Vossen's Development Blog
  • Scarlet Thread Studios' Blog
  • Kronos' Blog
  • Benton's Blog
  • ChrisV's Blog
  • tjheldna's Blog
  • shadmar's Blog
  • 3D Masons, LLC
  • Andy Gilbert's Enviro Models
  • ParaToxic's Blog
  • NarkLord's Blog
  • ChrisMAN's Blog
  • ChrisMAN's Blog
  • CGMan's Blog
  • The Game
  • Chris Tutorials
  • Leadwerks 3 Experience
  • An Alien Saga
  • klepto2 & Leadwerks 3
  • Inside the mind of eternal insomniac
  • josk's Blog
  • Shader Development in Leadwerks 3.1
  • 3D Coat : Column game making of
  • Einlander's Blog
  • Ginger George's Blog
  • I have a problem
  • Michael_J's Blog
  • nasamydifol's Blog
  • Digman's Blog
  • noesisGUI
  • SavageDogg38's Blog
  • Built from Ruins
  • Remaining Days
  • test_external_blog
  • The Hunt For Food Blog
  • Crazy Minnow Studio
  • CrazyMinnowStudio
  • Guppy's Blog
  • Playing Online
  • Evayr's Blog
  • DerRidda's Blog
  • Karl's Blog
  • whiterabbit's Blog
  • Tinyboss Games
  • abendkleider's Blog
  • sacguccireplica's Blog
  • Arena
  • Imchasinyou's Blog
  • xtom's Blog
  • Lua is better than you think.
  • mdgunn's Blog
  • Crime Closer
  • lxFirebal69xl's Blog
  • Wedmer's Blog
  • Lockdown, going forward.
  • Pump-Action Captain
  • Igor's Blog
  • Dead Anyway
  • Runenrise and more
  • reepblue's Blog
  • Slippy's Corner
  • LUA Musings
  • severjack's Blog
  • mikeporter's Blog
  • miko93's Blog
  • Megalocerous' Blog
  • lxFirebal69xl's Blog
  • aiaf's Blog
  • Lostghbear's Blog
  • echo $BLOG_NAME > blog_title.tmpl
  • johnadam111's Blog
  • Dwarf Beard
  • burgelkat's Blog
  • Charrua's Blog
  • peterpaul's Blog
  • joshmathews' Blog
  • Martin Kearl's Blog
  • Brutile's blog
  • tipforeveryone's Blog
  • Glushchenko Blog
  • Express Lab Games Blog
  • Blueapples' Blog
  • DooMAGE's Blog
  • Structura devblog
  • UltraEngine - Experiences, add-ons and other Stuff
  • martyj's Blog
  • Dragonfreak's Blog
  • Brutile's Blog
  • assigmenthelp
  • Case Study Assignment Help
  • How to deal with bad grade ?
  • How to deal with bad grade ?
  • GameDev Blog
  • devcjohnson's Blog
  • devcjohnson's Blog
  • THE WHAT? Blog
  • The Demurian Scribe
  • GUI Editor
  • GUI Tutorial
  • noob_shaders
  • The Seventh World
  • Phodex Games Blog
  • Leadwerks VS Source 2
  • Work in Progress - Scifi PBR Media
  • [C++] First Player game start
  • The Blog of Yue
  • Snowboarding Development Blog
  • Ocean: Rendering in Leadwerks 4
  • Game Ready Maps
  • Ultra App Kit (Advanced Custom Widgets)
  • Poking around
  • Blender tutorials
  • Usefull Scripts & Components
  • Thirsty Panther
  • Ultimate Action Game Controller

Forums

  • Software
    • General Discussion
    • Programming
    • Game Artwork
    • Showcase
    • Suggestion Box
    • Bug Reports
  • Addons
    • Extensions & Plugins
    • Components
    • Addon Development
  • Platforms
    • Windows
    • Linux
    • macOS

Categories

  • Streams and Events
  • Tutorials
  • Games
  • Work in Progress

Categories

  • Components
  • Effects
  • Extensions
  • Materials
    • Asphalt
    • Brick
    • Concrete
    • Debris
    • Effects
    • Fabric
    • Ground
    • Marble
    • Metal
    • Organic
    • Plaster
    • Rock
    • Roof
    • Sand
    • Snow
    • Surface Imperfections
    • Tile
    • Wood
  • Models
    • Animals & Creatures
    • Architecture
    • Food
    • Machinery
    • Plants and Vegetation
    • Props
    • Vehicles
  • Scenes
  • Skyboxes
  • Tools

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location

  1. So, I was lurking around the forums looking for some action, you know ... some real crazy action. That kind of action you get from watching a Michael Bay movie, and I got it alright. I got it real good. Some homies chatting right here, wanting to know how they can get GLEW playing nice with UAK: Well guess what guys, strap your eyeballs in ... cos I'm about to take them for the ride of their lives! Lets kick things off by starting up a fresh, raw, uncensored ... raw? Visual Studio project! A precursor before you continue reading. This is for Windows only, if you are on anything else then God speed. Project Setup w/ Blank C++ Project. You can do this one of two ways, or maybe even two of two ways. UAK has a real fancy application that can help you set up a Visual Studio project through Steam. Or, if your an old-schooler (like me), you can simply set up a blank C++ project. Either way, I don't care, cos let's be honest cuh ... if you can't even make a Visual Studio project, then what the heck you doing here, at Slippy's Corner ... at this hour, shouldn't you be in bed by now? Slippy got gat's, you feel me? For real though, let's put our big boy pants on and ditch the UAK project launcher (sorry Josh). Fire up Visual Studio and select the "Create a new project" option, choosing "Empty Project" on the right. Once everything has loaded right-click your project in the Solution Explorer and go to Properties (Alt+Enter if your a shortcut loser, just kidding, shortcuts are cool). You'll get the properties page of your project, we want to set some general paths for our Output Directory and Intermediate Directory. Both directories refer to where your built binaries go. Output is where the built Configuration Type goes to (that's the type of application you are making, we are making an executable .exe). Our intermediate path is where all the files our compiler creates and uses to build our application goes: Feel free to copy mine, or if you have a personal preference then go with that, I won't judge. As an optional step here, depending on how you set up your project (if you did it through creating a blank C++ project like I suggested above) then you'll have to link up the UAK library and also include the sweet nectar, the elixir of life. The header files. This is good to go through as its a nice practice run for when we get our hands full of GLEW, real sticky, pungent GLEW. Hey, if you did set up your project using the UAK app on Steam then I'd recommend to delete that and start off with a blank C++ project, if you got the nards! Go on, I dare you. Ok, enough messing around, lets go and create some folders to keep our project in order (this is optional, only follow this if you have made a blank C++ project). Right-click your solution in the Solution Explorer within Visual Studio (that's the top-most item in the list) and choose "Open Folder in File Explorer". We want to create a folder here called Dependencies, within that folder make another new folder called UAK. Now, hop into that folder (reminds me of that movie Inception) and make two new folders, one called includes and another called libs. Having fun yet? Well there is more, a lot more. We now need to go and get those UAK dependencies, otherwise we won't have access to any UAK code. Head on over to your Steam installation and go to "steamapps > common > Ultra App Kit > Library > Windows > x64 > Debug", in there we should see AppKit.lib. Copy that and paste it in our libs folder that we made earlier. This is the .lib file we will want to link later in Visual Studio. Now go back to the root Ultra App Kit folder and you should see an Include folder. Select everything in this folder and copy and paste it into our includes folder we made earlier. These files make up the necessary code files that together forms the UAK API. Ok, so far we have copied the UAK dependencies into their respective folders. Now we can go back to Visual Studio and get into the nitty-gritty. Right-click your project in the Solution Explorer and open up the properties page again. I gonna warn you here that if you don't follow these instructions explicitly then your computer may combust into a spectacular ball of fire, so listen up carefully! <-- I'm just kidding guys, don't panic. In the Linker drop-down on the left you should see a General section, click that and it will reveal new options on the right pane. We are looking for the option "Additional Library Directories" you should see it half way down, buried in the abyss of other frightening options we must not touch. Clicking that option will display yet another drop-down on the fields far right, click this and choose <Edit...>. Now we need to enter the path to our UAK libs folder. There are some special macro's we can use (just copy and paste the below snippet if your lazy): $(SolutionDir)Dependencies\UAK\libs If you look in the "Evaluated value:" box you should see it has retrieved the correct path! I know right, this is pretty wild! There is one last step, we need to head to the Input section within the Linker drop-down and in the "Additional Dependencies" field enter AppKit.lib; (don't forget that semi!) Now, we are gonna do the same thing for our includes directory, but there is one extra step we need to do for this. Accept and OK the changes we have made in the project properties as we would like to save the hard work we have made so far. Now in the Solution Explorer we are going to add our first source code file. Right-click the Source Files folder filter in the Solution Explorer and go to Add > New Item. From the new dialog box we want to add a .cpp file. I'm going to call my Application.cpp. With this file now added we can right-click our project and head to the properties once again! The keen-eyed readers here will notice that we now have a new drop-down on the left, the C/C++ drop-down. Let's click it and go to the General properties. Similar to what we did with our libs folder, we now want to add our includes folder using the special macro's from before: $(SolutionDir)Dependencies\UAK\includes Hit apply and OK to save our changes. Ok, with all that out of the way we are back on track. Again, I'd like to reiterate that if you didn't make a blank C++ project then all of the above was completely pointless and I can only assume that you continued reading it to expand your vocabulary palette, or maybe my fore-warning wasn't clear enough ... either way, I can only apologise. Downloading & Linking GLEW. We are finally here and we are ready to get sticky. We first need to download GLEW, head over to this link where you can get the official GLEW binaries (download the binaries, not the source code) http://glew.sourceforge.net/. Once we have downloaded and extracted the GLEW zip we should see the following folder structure: We are interested in the include and lib folders. First we will deal with the lib folder. Take a peek inside it, what do you see? Maybe a nice picture of a sunrise, or a .mp3 file called sounds of the ocean, no? Surprise! Its another folder. Lets see whats inside this one. Ok, you gotta be kidding me, two more folders! Let's pick the x64 folder. Now before you think your on a roll here with your copying and pasting, take a second to check that we have two .lib files and one has an "s" on the end of its name. What this is referring to is the static version of the GLEW library. Now I'm not going into all the details of dynamic and static linking here, but to make our lives easier lets pick the glew32s.lib file, as you have probably guessed we are going to statically link GLEW in our project. Before we copy and paste that .lib file we need to head to our solutions directory and go to the Dependencies folder as we have 3 new folders to make. Similar to our UAK folder structure, we are going to do the same thing for GLEW. So, inside Dependencies create a new folder called GLEW (if you can't remember what we did here just go to Visual Studio and right-click your solution file which will be the top-most item in the Solution Explorer list and click "Open Folder in File Explorer"). Inside our newly made GLEW folder, lets make those two new includes and libs folders. With that all done we can now copy and paste the glew32s.lib file into our libs folder we just created. Now we can head to the include folder where we extracted our GLEW download and copy and paste the GL folder into our includes folder. This next step is pretty much a rinse and repeat of what we did earlier to get UAK setup in our project. Going back to Visual Studio, we right-click our project and choose Properties. Let's go to the Linker, General option and look for "Additional Library Directories", selecting the fields drop-down and choosing <Edit...>. To make our lives easier we can double click our UAK entry, copy and paste it underneath and simply change the UAK part of our path to GLEW 😎 Lets not forget the Input section, choose this from the Linker drop-down and enter glew32s.lib in the "Additional Dependencies" field. As a last step we simply need to include our includes (see what I did there). Go to the C/C++ drop-down and select the General option. Click the top "Additional Include Directories" field drop-down (the little drop-down that appears on the far right) and choose <Edit...>. In the new dialog that appears we can do the same trick we did when we linked our GLEW lib file. Copy and paste our existing UAK entry and change the UAK part of our path to GLEW. GLEWing It All Together If you have made it this far then I have to congratulate you. We have successfully included and linked both UAK and GLEW! There are just a few more things we need to set up to get rid of some errors we will inevitably get when starting to use both libraries in our code. If you are still in the Properties dialog of your project then head on over to the C/C++ section and go to Preprocessor. In here we need to set a definition in the "Preprocessor Definitions" field. Clicking in the field, enter the following definition: _ULTRA_APPKIT; This ensures that all the other stuff found in the UAK include files aren't included. With this we are finally ready to start using GLEW, OpenGL and UAK. We need to include one final, important library ... OpenGL. To do this head back to your project properties by right-clicking your project in the Solution Explorer and choosing Properties. Head to the Linker, Input section and in the "Additional Dependencies" field enter: opengl32.lib; An important note, when using GLEW you have to make sure that its initialized after a rendering context has been created. We do need to include one more library, but this one is easy, its a header-only library which means we don't need to do anything with the linker. Head on over to the GLM Github link here and click the green Code button (somewhere near the top-right of the screen) making sure to select "Download ZIP". Once you have downloaded GLM, extract it (the folder will likely be called "glm-master"). Navigate into the extracted folder and you'll see a folder named glm. Copy this entire folder and paste it inside our Dependencies folder. Now, I challenge you to figure out how you should include GLM in your project Properties (if you don't know how to do it check below in the Conclusion section). Without getting into the complexities of writing a shader class and coding and parsing GLSL shaders, I have edited the example code from the UAK documentation to include a Vertex struct for us to get some data into the graphics pipeline (maybe another blog for another time) For now, simply copy and paste the following code into your .cpp file: #include "UltraEngine.h" #define GLEW_STATIC #include <GL/glew.h> #include <GL/GL.h> #include <glm.hpp> using namespace UltraEngine; struct Vertex { glm::vec3 Position; glm::vec3 Normal; glm::vec2 TexCoords; glm::vec3 Tangent; glm::vec3 Bitangent; glm::vec4 Colour; Vertex() { Position = { 0.0f, 0.0f, 0.0f }; Normal = { 0.0f, 0.0f, 0.0f }; TexCoords = { 0.0f, 0.0f }; Tangent = { 0.0f, 0.0f, 0.0f }; Bitangent = { 0.0f, 0.0f, 0.0f }; Colour = { 0.0f, 0.0f, 0.0f, 0.0f }; } Vertex(glm::vec3 position, glm::vec4 colour) { this->Position = { position }; Normal = { 0.0f, 0.0f, 0.0f }; TexCoords = { 0.0f, 0.0f }; Tangent = { 0.0f, 0.0f, 0.0f }; Bitangent = { 0.0f, 0.0f, 0.0f }; this->Colour = { colour }; } }; // Callback function for resizing the viewport bool ResizeViewport(const Event& ev, shared_ptr<Object> extra) { // If the window resize event is captured auto window = ev.source->As<Window>(); // Get the new size of the applications window iVec2 sz = window->ClientSize(); auto viewport = extra->As<Window>(); // Set the position and size of the viewport window viewport->SetShape(200, 8, sz.x - 200 - 8, sz.y - 16); return true; } int main(int argc, const char* argv[]) { // Get the available displays auto displays = GetDisplays(); // Create a window auto window = CreateWindow("OpenGL Example", 0, 0, 800, 600, displays[0], WINDOW_TITLEBAR | WINDOW_RESIZABLE); // Create user interface auto ui = CreateInterface(window); // Get the size of the user-interface iVec2 sz = ui->root->ClientSize(); // Create a treeview widget auto treeview = CreateTreeView(8, 8, 200 - 16, sz.y - 16, ui->root); // Anchor left, top and bottom of treeview widget treeview->SetLayout(1, 0, 1, 1); // Add nodes to the treeview widget treeview->root->AddNode("Object 1"); treeview->root->AddNode("Object 2"); treeview->root->AddNode("Object 3"); // Create a viewport window auto viewport = CreateWindow("", 200, 8, sz.x - 200 - 8, sz.y - 16, window, WINDOW_CHILD); // Adjust the size of the viewport when the applications window is resized (this will callback to our ResizeViewport() function) ListenEvent(EVENT_WINDOWSIZE, window, ResizeViewport, viewport); // Initialize an OpenGL context (get a hdc) HWND hwnd = (HWND)(viewport->GetHandle()); HDC hdc = GetDC(hwnd); // Specify the format of the default framebuffer PIXELFORMATDESCRIPTOR pfd = { sizeof(PIXELFORMATDESCRIPTOR), 1, // Flags PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER, // Framebuffer colour format (R, G, B, A) PFD_TYPE_RGBA, // Framebuffer colour depth (32 bit) 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // Number of bits for depth-buffer 24, // Number of bits for stencil-buffer 8, // Number of render-targets in default framebuffer 0, PFD_MAIN_PLANE, 0, 0, 0, 0 }; // Select an appropriate pixel format that is supported by the hdc int format = ChoosePixelFormat(hdc, &pfd); if (SetPixelFormat(hdc, format, &pfd) == 0) { RuntimeError("SetPixelFormat() failed."); } // Create an OpenGL rendering context using our current hdc HGLRC glcontext = wglCreateContext(hdc); if (glcontext == NULL) { RuntimeError("wglCreateContext() failed."); } wglMakeCurrent(hdc, glcontext); if (glewInit() != GLEW_OK) { RuntimeError("Failed to init GLEW"); } // Create vertex data for a triangle Vertex triangle[3]; // Bottom right triangle[0] = Vertex(glm::vec3(0.5f, -0.5f, 0.0f), glm::vec4(1.0f, 0.0f, 0.0f, 1.0f)); // Top triangle[1] = Vertex(glm::vec3(0.0f, 0.5f, 0.0f), glm::vec4(0.0f, 1.0f, 0.0f, 1.0f)); // Bottom left triangle[2] = Vertex(glm::vec3(-0.5f, -0.5f, 0.0f), glm::vec4(0.0f, 0.0f, 1.0f, 1.0f)); unsigned int triVAO; // A value OpenGL can reference when we want to use this object unsigned int triVBO; // Much like the triVAO, we can refernce this VBO with this value // Using the triVAO and triVBO values as a reference to our objects, we generate veretx arrays and buffers using said references glGenVertexArrays(1, &triVAO); glGenBuffers(1, &triVBO); // Bind the VAO first to say which VAO we want to bind subsequent VBOs to, and then we follow up with binding the relevant VBOs glBindVertexArray(triVAO); glBindBuffer(GL_ARRAY_BUFFER, triVBO); // Assigning our triangle array data to our vertex buffer object glBufferData(GL_ARRAY_BUFFER, sizeof(triangle), &triangle, GL_DYNAMIC_DRAW); // Position data glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, sizeof(Vertex), (void*)offsetof(Vertex, Vertex::Position)); // Enable the vertex data we formatted above glEnableVertexAttribArray(0); // Colour data glVertexAttribPointer(1, 4, GL_FLOAT, GL_FALSE, sizeof(Vertex), (void*)offsetof(Vertex, Vertex::Colour)); // Enable the vertex data we formatted above glEnableVertexAttribArray(1); // Render loop (applications run loop) while (true) { // Check for events const Event ev = WaitEvent(); switch (ev.id) { case EVENT_WINDOWPAINT: if (ev.source == viewport) { // Get and set the current size of the viewport iVec2 sz = viewport->ClientSize(); if (sz.x < 1 or sz.y < 1) break; glViewport(0, 0, sz.x, sz.y); // Set clear colour of viewport background glClearColor(0.15f, 0.15f, 0.15f, 1.0f); // Clear colour and depth buffers glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); // WE ARE RENDERING HERE // // Work with our triangle vertex array glBindVertexArray(triVAO); glDrawArrays(GL_TRIANGLES, 0, sizeof(triangle) / sizeof(Vertex)); glBindVertexArray(0); HWND hwnd = viewport->GetHandle(); auto hdc = GetDC(hwnd); SwapBuffers(hdc); ReleaseDC(hwnd, hdc); } break; case EVENT_WINDOWCLOSE: if (ev.source == window) { return 0; } break; } } return 0; } I will come back to this blog at some point and clean up this code but for now running this code will reveal a cool tree view in a panel on the left of the window and a small OpenGL viewport on the right with a white triangle, success! Conclusion And there you have it. GLEW and UAK working together. From here the world's your oyster. Abstract to your hearts content to make some wicked cool stuff with modern OpenGL. If there are any issues during setup please comment below and I'd be happy to help. P.S. For the people that was wondering how to include GLM the process is the same as when we included UAK and GLEW. Right-click your project and go to Properties, then head to the C/C++ dropdown, choosing the General option. Then add the follow path with those awesome macro's: $(SolutionDir)Dependencies\GLM Depending on if you kept the glm folder lowercase or uppercase, change the GLM part of the path to reflect that. Again, I hope this helped, any questions post below. Stay safe! Slippy
  2. Not 100% sure if this really is a bug or if I'm doing something wrong but there seems to be no way for me to change /load a different map when using the VRPlayer script. I understand that the VRPlayer has no mass or collisionshape so triggers (like in this case the ChangeMap trigger) can't collide with the VRPlayer. That's why I started doing some tests using an (player independent) object to collide with the ChangeMap Trigger and a new map loads without a problem in the normal (FPS Player) setup. However when the same player entity has the VRPlayer script attached to it, the (ChangeMap)trigger does get activated but then the game crashes with the following error message: "modeOpenGL error GL_INVALID_OPERATION" This problem seems to be project independent: I've tried it with different (also some default) projects and always get the same error. I also tried it on two different computers and got the same error (First on a Intel i7-7700/Nvidia Geforce GTX1070 and on a second system with a Intel i7-3770K/AMD Radeon R9 fury X, all drivers being up to date) In both cases I was using a Rift for VR. So I was wondering: has anyone managed to load a new map while using the VRPlayer script?
  3. Whenever I run my project it crashes with the error "Framebuffer Incomplete" in the output. Another problem is when i am running it in debug mode, when the memory usage gets to about 300 mb it crashes and says "OpenGL error GL_OUT_OF_MEMORY" Display adapters- Intel HD Graphics 4000 NVIDIA GeForce GTX 660M Operating System- Windows 8.1
  4. http://www.phoronix.com/scan.php?page=news_item&px=MTc0MjA Aparently the next generation of OpenGL is going to be announced next month and It is going to be low level like mantle and DX12. What are your thoughts and wishes for the next gen of OpenGL?
  5. It seems like I have a missing file when compiling. I looked in the directory where it's supposed to be (Leadwerks/Include/Libraries/glew-1.6.0/include/GL/) and I can't seem to find it. This occurs when compiling on Ubuntu.
  6. I ran Launcher in the Terminal and got the below error message. E: Unable to locate package ia32-libs-multiarch Trying to install ia32-libs-multiarch gave me the below error message. E: Unable to locate package ia32-libs-multiarch Trying to install is32-libs gave the below error. Package ia32-libs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: lib32z1 lib32ncurses5 lib32bz2-1.0 I installed the above said packages successfully but still when I launch the Launcher, it gives the same error. Please help!!!!
  7. Hello! I think that you should add another thread specifically for tutorials. We can see that the community is growing in numbers daily, and we could use something like this. I feel like it would keep the General Discussion thread neater, and would make it easier for someone new to locate help (besides the default text documentation).
  8. I need to place large flat game objects (flat boxes), then drill about 3-5 holes straight through of various sizes and shape. Then later I need to resize/shape the holes. Can Leadwerks use CSG at gametime to accomplish this? Or a moveable object that simply subtracts an overlapping area from any object it intersects, and support for one object to be intersected by multiple subtractors. If so I'll buy immediately Thanks, -Idle
  9. Hello. I've taken a close look at my 2D images when they are drawn with DrawImage() and there is a notable quality loss. Not sure if this is a bug in the conversion process or not or if it's my textures... So I've attached the images to see what you all think. One is the original image rendered in Blender. And the other two are screen shots in game; one with the filter mode set to pixel and the other to smooth. Thanks Data.zip
  10. Laptop with Intel HD Graphics graphics card (Windows 8). The messages appear "Failed to initialize graphics. Your graphics hardware may not be supported"
  11. i am getting this error all the time now when running debug, even with the preloaded demo maps? it never used to do this ? just after a update. OpenGL error GL_INVALID_OPERATION if i run the game it works, this error only occurs when i run the debug option? why now it never used to give a error? even if i build a simple square and drop the prefab fps player i get error? please help attached a screen shot. cheers.
  12. I would like to figure out if Leadwerks would be suitable to develop La Vida, but first I'll give you some information on that game project. La Vida is an open-source project for a Sims-like game. It's at an early stage of development, without any progress recently. Mike Hibbert is the leader of the project. It was originally being developed collaboratively on SourceForge, written in Python. But Mike Hibbert decided to restart the whole project on Unity, as he announced on Ubuntu forums; The Unity3d version was never released to the public. Mike Hibbert developed it privately, but no known progress has been made in recent months. He told me in an email in November the he's been busy with other things. I am myself just a begginer in programing, and Unity3d is what I'm using in my game programing class at my high school. But I've had a bit of concern for the limitations of Unity3D, which would become more noticable further into development. I found Leadwerks on Kickstarter, and it appears better than Unity from a Linux-users perspective (Both myself and Mr Hibbert use Ubuntu), seeing that OpenGL isn't far outdated like in Unity, and that it will soon be available to develop on Linux. I might want to propose another change to the development on the La Vida forum. Even though it will take some time to get a reply on such a quiet forum. (Want to change that? Go sign up and reply to those unreplied topics.) If La Vida switched to Leadwerks, then could it use the code from the Python or Unity3D projects? I'm also concerned about the Leadwerks license as Wikipedia says it. La Vida is supposed to be open source. In my vision of La Vida, it should have good support for mods. Would this go against that license? Although it's much easier to pay $100 or $200 for Leadwerks than $1500 for Unity3D, Leadwerks doesn't appear to have a free version unlike Unity. Can Leadwerks be used alongside other programs (unlike Unity3D)? I mean, could contributors who don't have Leadwerks still write code etc in a different program? Unity3D has unbreakable limitations (like multi-monitor). But is Leadwerks designed so that any features unincluded can be coded by the user?
  13. I'm struggling even with a buddy already, on learning LUA. He's busy I dont like bothering him, so the next best thing would be to learn with some one strictly on learning coding or to be taught. Any body up for the task or want to learn together?
  14. hi guys me and my buddy are working on a game which will be a survival horror and we have been trying to figure out how to attach a model of a flashlight to our fps controller so the arms/hands and flashlight are always shown and follow the camera
  15. To buy or not to buy? I want to be able to create absolutely STUNNING landscapes, and be able to explore it in my project. The in game editor aint bad but, have you seen W.M? Is it worth it? Is it possible to export EVERYTHING youve created in W.M and then import it into Leadwerks? Trees, water and everything orrr, what? Before I purchase it I want to make a good decision. lol I dont want to spill the idea of my project but I will say this, its obviously going to be a huge open world. Hopefully the size of Chernarus in DayZ.
  16. My buddy who I am working with is making models via cinema, and he bakes the texture and all that but when we import the model its completely white and untextured and just BASIC! How do we get textures to ....export and everyithg with the texture applied to it? Any help would GREATLY be appreciated.
  17. How is everybody? Any body have a project they want to share?
  18. Hello guys! My friend and I just bought Leadwerks. I decided to stream so that you can learn with me / give me tips. And that way the staff on here can see how a total newbie to the engine feels. I hope you enjoy! Link: www.twitch.tv/papa_beans Update:: Lots of learning happening, thank you pillar!!! 10 Hours into the stream!
  19. If I buy the pre-order for 3.1 then will I get the latest version right now? There is nothing else in the store. (no other versions)
  20. Hey guys, I created a Cube in Blender and exported it as Autodesk FBX (.fbx) - was proud that I could load it into leadwerks but it dont likes textures. I dropped the BlueGrid on ground and the Orange one on the Cube but the Cube has some strange shading artifacts on the cube and the texture just makes the Cube a little bit more orange but no grid is visible. Do I have forget something? here is a screen
  21. Hey guys, I have a question about Leadwerks 3.1. Josh said Leadwerks 3.1 use under Linux an OpenGL 4 renderer so if I'm right, my graphic card with OpenGL 3.2 is too old and I need to buy a new one. Is that right?
  22. Hello all! I'm a first-time user and was wondering, and hoping, if anyone could suggest how I could get up to speed with Leadwerks 3, considering most of the tutorials I've seen and read concern LE2 (the API has changed quite a bit since then, of course). The main things I wish to learn at the moment are how to properly implement post-processing effects, like: bloom, 'god rays', DoF, fog, etc, as well as collision detection and water. I'm also having some difficulties enabling dynamic shadows (this could be due to using the trial version - I don't know what the limitations are for the trial). I'm aware that LE3 is still under some development at the moment, so this could be another factor hindering progression. I'm using C++ to program with. I've tried downloading some games created with Lua and translating some of the scripts into C++, but, of course, it's easier said than done when you're using a new software and API. At the moment, I'd feel more comfortable continuing to use C++, but if enough of you suggest I use Lua, and with good reason, I'll definitely consider doing so! I’d love to get my prototype game finished before my 30-day trial is over and see what I can achieve with Leadwerks, but I’m still stuck on some of the basics and have 12 days left of the trial period! I didn’t want to start posting help questions in the forum, as I understand newbies can be a pain in the backside at times, but desperate times call for desperate measures! Any help, suggestions and tips will be greatly appreciated!
  23. Hello again fellow developers. I've been busy with trying to set up the first test-level for our game, which is a small house that I've build using only BSP. The house also includes a grandfather clock model, but I couldn't get light to render onto the model. So my first step was to render the lights manually using the 'calculate light' button, but all it does is say "Lighting rendered in 21 millseconds" (the number of milliseconds varies from 20 to 24) and the load-bar never actually progresses. Even when I turn all the resolution on low, the result is the same; just an empty loadbar with the same text that never progresses. I wonder if this is some kind of bug, and if it is I would like to know if there is some kind of way around this. For your convenience, I added a screenshot to demonstrate the problem. I would love to know how to deal with this problem, because I'm kinda stuck with it right now.
  24. Hello there, I recently purchased Leadwerks 3 and I'm quite happy with it. However, I use Wings 3D myself to create and export static 3D models and I noticed that there is not a single file supported by Leadwerks to which Wings 3D can convert. There seems to be an option to import .OBJ files, but this didn't do anything for me (except it froze Leadwerks once). Is there any easy way to export a 3DS or OBJ file to a file that Leadwerks supports? I noticed that Leadwerks 3 supports FBX and GMF, but again these files are not supported by Wings and I can't find any exporters for it. I would appreciate it if somebody could help me out. I know the majority of people use high-end software such as 3DS Max, but for static models a light-weight program like Wings is more ideal for me and I'm more familiar with it. Greetings,
  25. Hello, After adding trees over the terrain surface and a water plane I tried to get reflections of trees that are near the edge of the water plane or are planted half-submerged in the water plane by going to ( In the editor ) Tools => Options => Configuration and then setting the value of Reflection to : "Everything" But unfortunately the reflection of trees ( the leaves and the branches ) fail to show up on the water plane surface. Ironically the same steps worked for me when I was testing the engine using Leadwerks 2.5 trial version before purchase ! So what am I missing here ? What is the correct procedure to get reflections of any object whether static or animated ( barrels, trees, houses, animated character - people etc. ) on the surface of the water plane ? Thanks,
×
×
  • Create New...