BlueMagnificent's Posts
Nairaland Forum › BlueMagnificent's Profile › BlueMagnificent's Posts
1 2 3 4 5 6 7 8 9 10 (of 10 pages)
@kambo... All those things you listed are what gives you full control in c++. Because you don't know how to use them doesn't mean that c++ is difficult. And according to Bjarne ( the inventor of c++) you only use what you need in c++ |
Since its obvious that this is a final year project I'm sorry my assistance will be limited to instructions. First of all download blender 3d from blender.org this is to create ur 3d models including the store. You can get free models from blendswap.com registration is free. Blender has a game engine you can use in creating the virtual world with little or no programming. Or for the virtual world you can use any free game engine ( or premium ones if you gat tha bucks) to create it and then export models from blender to the game engine. For game engines you can checkout irrlicht, NeoAxis, Ogre, Unity3D etc. But to tell you the truth you have a lot of work to do so my advice would be to stick to the game engine incorporated with blender. Greetings |
Its funny to see how people easily shun off c++ as being complex, error prone and difficult. But we should not forget that out of all General purpose languages C++ is the only one that can boast of being General purpose. Others claim to be General purpose but tend to be more specialized in some areas. Research and prove me wrong, learning C++ is faster and easier that learning java for someone who hasn't learnt any programming language. The fact that people keep on using pointers as an excuse of c++ being complex is just so lame ( whenever you create something new delete it when you are done, how hard can that be) . If you don't like a language ( or rather if you are not good at it) that doesn't mean the language is hard or complex or error prone or not suitable for so so and so development. I use python and java when I think its necessary but every other time i stick to c++, that doesn't mean python and java are not good. And for the OP, there are alot of third party c++ libraries that can help you develope awesome applications, just Google it. Greetings to all |
@techwizard, I beg to differ on your information of C++ being complex... I'm a C++ programmer and I can clearly tell You that it is not complex ( I also do java) |
Lets use car analogy, java is like automatic car while c/c++ is manual. In java a lot of things are already done for you saving from the stress of implemeting them but giving you less choice and less control. That is the reason while the standard java library is colossal. In C/C++ just the basics are done for you leaving you to take control and make your own choice, which can introduce nasty bugs due to silly mistakes. But the truth that is not told to most beginning programmers is that C++, in particular, has third party libraries that provide aboundant functionalities to save you the stress of implementing somethings youself. And finally, java virtual machine is written in C/C++ ( correct me if I'm wrong) |
@shimish.. Ur free style render is great I would love to know the exact settings u used |
GREETINGS to all Great and Creative minds, to all warriors that have mastered the sacred art of Machine language and those eager to learn . Sadly enough it has been a while since I updated whats going with DARKDOVE, now here is the bottom line of the Whole Truth, DARKDOVE is still on and would not stop till it has been completed . The long silence has heavily been as a result of Reality Bites, but that not withstanding, We are making progress. So before I head for my Xmas break I thought it nice to inform every one of the progress that has been made thus far. Despite the delays due to Reality Bites, I had to carry out series of frustrating, infuriating and heart breaking experiments on Ogre e.g building it from source with minGW compiler on microsoft Windows, integrating ogre into wxWidgets and Qt . It all felt as though I was in a Romantic Relationship which, filled with so many crisis, was destined to fail but yet I was struggling to see if I could do something to save it . Forget about the dream, but how did my Romantic Relationship go? well, I can honestly tell you that It wasn't easy, but at the end all the crisis were resolved and the Relationship was saved .So the information on ground is not that we are now married but that I was able to build Ogre from source with minGW compiler on windows thanks to this link http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Building+Ogre+with+boost+1.50+upwards+and+MinGW. Therefore as against the information earlier passed of using Microsoft Visual C++ as the compiler of choice, MinGW can equally and effectively be used ( as long as you build the ogre source with it). Integrating Ogre into wxWidgets was also successful and lots of ideas are already pouring into my head of what to do with it. Equally Qt-Ogre integration went well, though with a few rough edges that will be corrected very soon. As an additional tip: the Physics Engine of choice, Bullet Physics, comes as source so you'll have to build it yourself. The issue is that it comes with a visual studio solution file for easy building with Visual C++ but for MinGW things might not go that smooth. Well, that's bygone cause using the cmake file included you can configure for a MinGW build. WHYS There is non for now ( till after the xmas break )CONCLUSION Merry Christmas to all those that celebrate Christmas and Happy NewYear to ALL . |
HOPE FOR C++ NEWBIES: GUI TOOLKIT One of the most depressing thing about learning c++ is the fact that there is no official GUI toolkit and hopefully wait for the tutorial book you are reading to introduce how to create windows and buttons and blah blah blah... just to figure out that you are at the last page of the book. Then you ask yourself "but java and vb.NET and c# has GUI libraries by default and they make awesome GUI apps and not this black console with white letters I'm seeing here ". And finally in a rather depressed mode, with your hopes dashed by this disappointment, you decide to abandon C++ for Programming Language X . Well, I decided to make this post because this is exactly what happend to me and what could have possibly happend to alot more people, and I've come with good news of great tidings There is a reason C++ was designed like that: to make it very simply for you to learn, use and control. If you want to learn c++ you just learn the basics of c++ and not making a window appear or making a button click to show "Hello, World!". Now since there is no Official GUI Toolkit for c++, third parties can implement there own and all you have to do is simply include these libraries to your projects and , viola, you can then write GUI apps. five year ago In my quest for GUI library for C++ I came across Win32 api, a set of Microsoft Windows Application Programming Interfaces (API) that you can use to not only program against the Windows Platform, but you can use it to create GUI applications. Though it's actually implemented in C programming languge, but since c++ is a superset of C, you can also use it in your c++ projects. To be honest with you, it was a frighteneing experience; to create a simple window had a alot of codes in it, and being a basic vb.NET programmer I felt things were really going bad for me in terms of C++.To make programming with win32 api in c++ easier, Microsoft has a c++ wrapper for it called Microsoft Foundation Classes (MFC). Now the problem is that MFC is not free, you've got to pay for it. At this point I took a break from c++ with a broken heart. Then I discovered wxWidgets and Qt. My marriage to C++ was saved when I realized they were Powerful open source GUI libraries for C++ . The best among the two is still debated but they are great tools for your GUI c++ projects. your major requirement is to have a good understanding of the Object Oriented Construct of C++ because they make heavy use of it. wxWidgets is released as source ( the recent stable being wxWidgets 3.0.0), the download size is supprisenly below 50mb, so you'll have to build it yourself with the configuration you like. But I assure you that the build process is nothing to be afraid of. When you are done building the libraries you are now free to use it to make your awesome GUI app.Qt , which was formerly owend by Nokia but now acquired by digia, is released as pre-built binaries for different compilers ( either GCC or MinGW, or MSVC 2008 2009, 2010 and so forth), the download size is quite large the MinGw and visual c++ packages have size above 450mb. Your duty is simply to download it and use, though there is an option for downloading the source if you feel like grabbing the bull by the horn and bulding the library yourself. Besides GUI, these toolkits also provide some utility functions like Inter-precess communication, Networking functions and file system functions wxWidgets comes as source with documentation and sample applications included. Although it has no IDE distributed along with it, it is supported by a wide range of IDE: code::blocks, codelite, visual studio, eclipse and a host of others... some of these compilers e.g code::blocks and codelie have RAD tools (Rapid application Development tools) for wxWidgets where you can simply drag and drop GUI elements to design you app. There is also wxFormBuilder that is simply a GUI designer for wxWidgets (and its great as well) finally wxWidget has an active community and has great number of applications developed with it e.g some of the blackberry emulators distributed by blackberry for app development were built with wxWidgets. Qt is released as prebuilt binaries though you can still get the source code. It comes with a vast amount of documentation and example applications. And it has its own IDE, QtCreator, which is a RAD tool for Qt and can also be used as an IDE for non-Qt project ( Ironically I use it for wxWidgets projects also). Qt is equally supported by other IDE like code::blocks and visual studio through a visual studio Qt integration ( that doesn't work for express editions). There is a healthy community of Qt users where You get lots of your questions answered. For applications developed with Qt, there are lots of them but the one I'm sure every body knows is the Video Lan Client a.k.a VLC media player For me, I use both of them, but I tend to use wxWidgets more and I will advise Newbies to first taste wxWidgets before moving over to Qt, also keep in mind that these are not the only c++ GUI toolkit out there, there are lots of them. Now the advantage of c++ not having an official GUI library is to give people that freedom to choose which toolkit to use on which ever platform desired. Funny enough on windows platform wxWidgets is like MFC, just a c++ wrapper for win32 api That's all for Now and I'll be willing to help out in anyway if there is any configuration confusion. I hope sharing this bit of my knowledge and experience helps out someone. So don't give up on C++ wxWidgets www.wxwidgets.org Qt [url]qt-project.org[/url] |
Greetings to All Creative Minded people . I hope we all had a great week. To be honest I had a very rough week battling codes just to see how good and viable they will be for DARKDOVE .Now Time For More Info In order to attain an organized structure for effective performance in DARKDOVE, I have decided to group all volunteering participants into two groups: 1) Art Group 2) Coding Group By mainly looking at the names of these two groups their respective functions becomes obvious. However I'll still add a bit more explanations. ART GROUP yeah that's what it means, "art" (so basically anyone can be in this group so long as you can think up a good design ). The art group is going to be in charge of everything that adds life to the game that's not coded. So if you can draw or you can make a sound that can be called music you're all welcomed here. Not just that, if you are good in imagining out great spectacular scene but you can only draw it using stick men , well, I guess you are also invited . The Art Group is going to be composed of the following teamsi) Concept Art Team These guys (plus the ladies among them ) will be creating the overall tone of the game world and how the scenes will look like. They will create images or even shoot short videos ( if that's what it will take to understand a particular concept) in order to pass across to others the nature of the game environment. Designing concept visual interfaces that will be chosen for the game screen is also in their care. And last but not the least the Concept Art Team will double as Level Designing Team, that is, they will be fully responsible for the visual and logical designs of the various levels in the game. its a big Team we all depend on.ii) Sound Team This team is responsible for playing good music for us whenever we're having a meeting ...Just kidding. On a more serious note, this team will handle all sound effects requirements of the game ( explosions, vehicles roaring, gun shot sounds, you name it). It will be good if project DARKDOVE has its own soundtrack , yeap, that will be cool, and we're all looking up to the Sound Team for that as well ![]() ii) Modeling and Animation Team Yes we need you guys sooooo much. This Good Fellows will be modelling the game characters, the game objects and basically every single thing visible in the game world. They won't just stop there, they will also rig and animate characters or machines that have defined movements. To sum it up, they are in charge of the visual game assets DARKDOVE will need. The preferred modelling software is Blender 3D, but if you prefer to work on any other modeling software of your choice that has no license restrictions on the use of its outputs then you are totally free. CODING GROUP Did someone just mention coders . Everyone is welcomed so long as you know what "std::cout <<"Hello, World!\n" is. Now these Priests Of the Machine Deity will be responsible for all communication between Mortals and Machines. Or in a more human advantaged tone, these Masters of the Sacred art of Machine Language will command their forever obedient Machines Servants to make DARKDOVE a reality. Now back to earth these are going to be our programmers, tackling everything from framework design to physics integration, sound integration, level loading and game logic implementation. Just like the art Group, this group will also have various teams. I'm going to just list them out and next time I'll give full details about their rolesi) Level Coders ii) Physics and Sound coders ii) Base Framework Coders (I had to rush it up cause I still have a coding trouble to sort out before morning sets in) WHYS 1) Why Blender? There are really good modeling software suits out there; Maya, 3D Studio Max, Cinema 4D, Houdini, LightWave3D and others... and there is also Blender3D. The problem is that most of the good modeling packages you can get out there are commercial, and among the free ones Blender is the only one that can manage to rub shoulders with these commercial packages. And again some of these commercial products I just mentioned are just what they are "modeling software" , if you want to rig and animate you'll have to export your work to another program. Now for DARKDOVE which is a small startup project, we wouldn't need all those hassles. Now don't get me wrong, these commercial modeling programs are really GREAT but to make this project easy for anyone to participate I think it will be good to use something that's free and easy to obtain. Actually the choice of a modeling software is not a problem so long as there is an exporter to export models from the program to Ogre 3D 2) Why are there so many teams? Really? are the teams much as six? well, if each team has 10 people we'll just have 60 people luckily we don't have to be that amount in the development teams, a population of 4 per team is more than enough giving us a total number of 24 Great Minds, coupled with the fact that dual team membership is allowed so long as it will not slow down productivity. And for the Friends and Well-Wishers Team we can have a million members and everyone is qualified for thatCONCLUSION (Still a lot of things to do before I sleep ) That's all folks I will be back later with more info and good news, don't forget you can reach me through the email address darkdove@cyberdude.com |
Have u guys heard of neoAxis game engine... It now has a superb free edition that has pretty much all the tools u need for ur game project. Personally I've not tried it cause I recently realized that they have released a free edition ( I knew it to be paid for). Maybe u guys should giv it a try |
Good evening everyone. From the few replies I've gotten (and those still coming ) I am far more motivated to move on with it. So then lets roll out some more information.The Project is code named DARKDOVE and its based on an urban warfare( Lets go Recon ). There will be more info on that as the development team forms. Our development and deployment environment can be any environment but I have chosen to go with Microsoft Visual C++ as the compiler of choice and, of course, Microsoft Windows as the deployment environment.Now we seem to have a bit of an issue with Ogre 3D being a Rendering Engine as against a Game Engine . You see guys, as a Rendering Engine, Ogre mainly performs rendering duties, not as if that's bad, just that that's all it does (though it does it well). What does that mean? It means we have to supplement it with our own Input System for mouse, keyboard and even joystick events, and also we have to add in our own Audio System for sounds. Another necessary component we need to add to Ogre is a suitable Physics Engine for appropriate simulation of physics in the game ( or games hopefully ). Well, luckily for us we have good and wonderful Open Source libraries that can help us out of these difficulties.For the Input System, Ogre3d makes things a bit easier for us with OIS (Object-oriented Input System) which help with handling keyboard, mouse and joystick events. OIS is going to be the primary system for Input System, though I'm still considering other libraries like SDL (Simple Directmedial Layer) or SFML (Simple and Fast Multimedia Library) which provides both Input System and Audio System For Audio, to say the truth, I haven't really experimented much with any Audio System for Ogre though I've tried SDL and SFML for other unrelated projects. But that's not bad 'cause there is plenty of rooms to experiment with SDL and SFML, and there is even OgreOggSound which is a third party sound library for Ogre. Bullet Physics Engine is going to be used as the projects Physics Engine. There is an Ogre wrapper for that, by name, OgreBullet... I'm currently experimenting with Bullet alone and its going well so far. When I'm done tinkering around with it I'll investigate OgreBullet wrapper. In a way, integrating all these libraries together will give us our own Game Engine to use ![]() WHYS (yeap, its time to answer the whys) 1) Why Microsoft Windows Platform? Well, this is Nigeria (for those that have forgotten ) and by that I mean that for desktop Operating System Windows is running on more than 80% of all laptops and desktops here, and laptops and desktops are the target machines (Gaming Consoles ) for this project. So in order to let this project reach more audience its best to target the Windows Operating System. I hear the Mac OS guys grumbling, ( wait a minute, so they are large enough for me to hear their grumble ) I'm sorry Mac OS guys, even Linux, Ubuntu, iOS and Android guys ( wow!! did I forget Windows RT and windows Phone... Damn!!! a lot of OS to keep track of). I guess we have to start off somewhere folks .2) Why Visual C++ ? If you go to Ogre3D website http://www.ogre3d.org/download/sdk you will realize that the Windows Prebuilt Binaries are built with Visual C++ except for older Ogre releases that have binaries for MinGW... You know, I feel its best to dance with their tune. Its not that you can't build from the source, anyone can try it if that's the best(I actually built the one I use from source... I had to remove a nasty code that gave me problem using the OpenGL render system in the prebuilt binaries ). Please NOTE that you can use any IDE of your choice but for now it's advisable to use Microsoft Visual Studio, you don't necessarily have to go for the Professional Edition, the Express Edition is just Perfect (and its free ).3)Why Bullet Physics ? There is Newton, ODE, Nvidia Physx and a host of others but Bullet is really easy to use and Integrate into projects. It's physics functionality is enough for Project DARKDOVE. 4)Why the name DARKDOVE ? seriously? I had a tough time figuring that name out . Actually it's just the code name of the project, the product of the project will have another name for sure ![]() CONCLUSION Time to return back to my work station and chart the course forward. Project DARKDOVE has officially started. Those interested can still indicate here or reach me on darkdove@cyberdude.com (that's the email address for now) . |
@shimish, no camera tracking involved, i simply used the node compositor to add the rendered objects into the background |
You'll all notice that I replace the background building with a 3d modeled building |
The plain background
|
With the 3D model
|
A bit of fun
|
I'm so happy to meet my fellow blender heads. I've been using blender for 3years now |
I recently conceived an idea for an opensource 3d game to be written in c++. It would take me close to a year of steady work if I'm to do it alone, so I'm opening up the development process to everyone who would like to be part of the project which includes c++ programmers, concept artists, 3d modellers and animators, sound engineers (or anyone good in sound effects), and anyone who has something to offer, you don't necessarily have to be a professional. Note that this is a participation call and not a job posting what I mean by that is that there is no payment to anybody for whatsoever ever contribution made, this is more like a community work. The major form of reward is the joy of being part of the team that made an Proudly Nigerian Opensource 3D Game ( at least for the record ) . Unfortunately there is no inclusion of financial sponsors in the list of needed people. The Main aim of this project is to make a good (if not excellent) 3D game with free and available tools so that everyone can easily learn from it and make greater projects laterWHYS: 1 ) why no financial sponsor? Yeah I will also ask myself that question. Do you remember that time you had a great idea that could turn you to the next Mark Zuckerberg only for your potential investors to call it a scam ,but we will not make any donation call of any sort for this project2) why c++ ? Building a game engine from scratch for our game to run on is really not a easy task, however, there are a handful of game engines, free and proprietary, we can use. But in order to make sure everyone can afford it I decided to go with an opensource game engine, most preferably Ogre3D game engine ( well its more of a rendering engine). Now to the question, Ogre3D is coded in c++ ( my mother tongue ), so I guess we sing the same tune with it. Besides c++ is fast and efficient for real time application like games and simulations.And most importantly to show those young programmers out there that c++ can really be fun and its far easy to learn as against the rumor of it being hard. 3 ) why opensource ? Who wouldn't love to make cash ,but I've benefited a lot from opensource projects that I think its time to give back, even if its one tiny little project . Actually my major reason for choosing to make it opensource is so that ideas will be easily crowed sourced thereby helping the project to grow. And also to help all those fellows struggling to comprehend how " cout << "HelloWorld \n", " could ever make any sense in a bigger perspective.4) Why don't you have to be a professional? I am not a professional either, but I'm very very good in the things I do . If you are a professional, well good, if you are not but you are good in what you do, excellent. We won't be checking certificates ![]() CONCLUSION Lets just see what we can do in this project and see how far its going to go (it's gonna reach the end for sure ) |
.
Sadly enough it has been a while since I updated whats going with DARKDOVE, now here is the bottom line of the Whole Truth, DARKDOVE is still on and would not stop till it has been completed
. The long silence has heavily been as a result of Reality Bites, but that not withstanding, We are making progress. So before I head for my Xmas break
I thought it nice to inform every one of the progress that has been made thus far.
. It all felt as though I was in a Romantic Relationship which, filled with so many crisis, was destined to fail but yet I was struggling to see if I could do something to save it
.
, well, I guess you are also invited
. The Art Group is going to be composed of the following teams
.