Jump to content

  • Log In with Google      Sign In   
  • Create Account


~Helgon

Member Since 26 Aug 2012
Offline Last Active Mar 31 2014 11:16 AM

Topics I've Started

Basic questions about where to start with OpenGL

03 December 2013 - 10:29 AM

Hey,

 

I want to start with OpenGL - I have a small background with DirectX but I think it's negligible.

Is it good to start with http://www.opengl-tutorial.org/ using GLFW, GLM and GLEW or should I first start by doing it all by my self?

 

Are there any resources? I've just found the page above and the Super Bible which seems not to be that good any more.

 

Regards


Visual Studio 11 GLFW external symbol error

26 November 2013 - 05:07 PM

Hey, I have follow problem.

 

I wanted to start using OpenGL with GLFW but when I try to run the example I get following errors:

 

Code: http://www.glfw.org/documentation.html

Error: 

1>------ Build started: Project: Test, Configuration: Debug Win32 ------
1>  main.cpp
1>main.obj : error LNK2019: unresolved external symbol _glfwInit referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glfwTerminate referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glfwCreateWindow referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glfwWindowShouldClose referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glfwPollEvents referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glfwMakeContextCurrent referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glfwSwapBuffers referenced in function _main
1>C:\Users\MICHAEL\documents\visual studio 2012\Projects\Test\Debug\Test.exe : fatal error LNK1120: 7 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I've set the 'VC++ Directories include' to my include directory of the downloaded binaries

and the 'Library Directories' to the lib-msvc110 directory which contains glfw3.dll, glfw3.lib and glfw3dll.lib

and I set the 'Linker -> Input' additional dependencies to glfw3.lib and glfw3dll.lib

but I still get this error. 

 

I googled it but I didn't found a solution. Does someone has a clue what I have to do?

 

Regards Helgon


Render DirectX in Windows Form

29 January 2013 - 11:09 AM

Hi, approximately a month ago I already posted a question a little bit like this one. Back then I wanted to know what would be the best "Library/ Way of doing it" to render my DirectX Frame into a GUI. I proposed Qt, Windows Forms, wxWidgets. The feedback was pretty different. So I started to learn Qt and it seems to be a very powerful tool, but maybe a little bit to complex to learn it (with all the different Models etc. and how to implement them for everything ...). So I decided to switch back to "native" Windows Forms (As i anyway use DirectX Qt would not have any advantages because I don't need cross-platform compatibility). So I started to look for some samples how to achieve my goal. In the end I got it working with this (http://www.codeproject.com/Articles/42121/DirectX-9-SDK-with-NET-Forms-C) tutorial but I've encountered a huge problem: the interface between C++/CLI and the managed and unmanaged code is so "strange" that I almost can't use anything because it's "unmanged". Is this normal? Am I doing it wrong? Is there another way to how to solve this problem (Render into WindowsForms)? Or does someone maybe has a tutorial therefore or a sample of one of his projects? I would appreciate any help very much. Best regards


Which good book beside the Superbible

29 January 2013 - 07:23 AM

Hi, after I've learned DirectX I also want to take a look at OpenGL and of course I've heard of the SuperBible but after a little research it seems that some chapters don't work, then there are updates with which they work but then just under windows OR Linux and such things.

I would love a book that's a like Introduction to DirectX 11 by Frank Luna. I think that it was didactic awesome. And of course it should covers the latest standards.

Can you guys recommend me something?

Howto: 2D in DirectX Questions

16 January 2013 - 09:37 AM

Hi, I have some questions. I'm not sure if I understood it right so I tell you how I understood it and if its wrong you maybe can correct me.

 

If I want to write a 2D game in DirectX:

- I fix the camera on the Z-Axis and move just on the X,Y

- I draw primitives (a quad for example) and then just map the 2D texture on it 

 - that's basically how the whole scene is created. Just quads mapped with a texture(?!)

 

Is this the common way?

I know that there is Spritebatch for DirectX, but because it's just for me and on the purpose to learn something I want to do it all by my own.

 

Regards


PARTNERS