A forum to store posts deemed exceptionally wise and useful
dudMaN
Posts: 111 Joined: Fri Mar 02, 2007 6:37 pm
Post
by dudMaN » Sun May 18, 2008 7:12 pm
Any more questions/comments anyone?
*cough*bump*cough*
-DudMan
MasterGod
Posts: 2061 Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:
Post
by MasterGod » Sun May 18, 2008 8:23 pm
More collision instructions would be cool. Using less primitive methods.
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
shadowslair
Posts: 758 Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria
Post
by shadowslair » Mon May 19, 2008 3:30 pm
A short edit for the Event Receiver code to match the version 1.4 would be cool also.
We assume that the next newbies` generation will be using the last version, so this will save the forum some more "I hve problem wit da Event Reciver" topics...
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
MikeP
Posts: 25 Joined: Fri May 16, 2008 1:51 pm
Post
by MikeP » Wed May 21, 2008 11:44 am
Hi. I'm an Irrlicht beginner and I liked this tutorial but it was quite a pain to navigate into this 100 meters high post
So I made a little helpfile with it for my personal use but I thought I could share it so here it is :
rapidshare :
http://rapidshare.com/files/116497164/I ... s.chm.html
simpleupload :
http://www.simpleupload.net/download/33 ... s.chm.html
I pretty much didn't touch the text (only some orthographic corrections) .. and I modified the codes that were fixed in the thread but not in the 1st post, to fit 1.4 syntax for example. So if there's any mistake in the code (unless they are typos) I ain't responsible
dudMaN
Posts: 111 Joined: Fri Mar 02, 2007 6:37 pm
Post
by dudMaN » Wed May 28, 2008 7:52 pm
Cool, sounds like it could help some people. Also, its about 1000 meters high
-DudMan
Pmt3ddy
Posts: 2 Joined: Thu Jun 05, 2008 6:32 am
Location: Netherlands
Post
by Pmt3ddy » Thu Jun 05, 2008 7:20 am
These tutorials helped me out quite a bit and prevented me from pulling my hair out. So thank you.. a lot
I'd like to see more if it's possible because you can never learn enough
systat
Posts: 41 Joined: Mon Jan 07, 2008 8:01 pm
Post
by systat » Sat Jul 05, 2008 10:15 am
Here is the code from your source, it is suppose to draw a cube on the surface, this is what I get:
Code: Select all
#include <irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace gui;
#pragma comment(lib,"irrlicht.lib")
int main() {
IrrlichtDevice *device = createDevice(EDT_OPENGL);
IVideoDriver* video = device->getVideoDriver();
ISceneManager* smgr = device->getSceneManager();
ISceneNode* cube = smgr->addCubeSceneNode();
cube->setPosition(vector3df(0,0,7));
while(device->run() && device) {
video->beginScene(true, true, video::SColor(255,0,0,255));
smgr->drawAll();
video->endScene();
}
}
BlindSide
Admin
Posts: 2821 Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!
Post
by BlindSide » Sat Jul 05, 2008 3:00 pm
You have to add a camera.
Use "smgr->addCameraSceneNode();".
ShadowMapping for Irrlicht!:
Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
lpersona
Posts: 58 Joined: Fri Jul 18, 2008 8:03 am
Location: low
Contact:
Post
by lpersona » Sun Aug 10, 2008 8:48 pm
i printed this on paper today, and once i had found the right time and a comfortable place (my bed) to read it.. i read it (:
there are some really good tips. of course you can't make a proper game with these codes, but they are a great food for thought.
thanks dudMaN
dudMaN
Posts: 111 Joined: Fri Mar 02, 2007 6:37 pm
Post
by dudMaN » Fri Aug 15, 2008 5:46 pm
thanks
True, the code isnt OOP or anything, but it's a good starting point for beginners (i hope).
Good luck
-Dudman
dudMaN
Posts: 111 Joined: Fri Mar 02, 2007 6:37 pm
Post
by dudMaN » Fri Aug 15, 2008 6:07 pm
shadowslair wrote: A short edit for the Event Receiver code to match the version 1.4 would be cool also.
We assume that the next newbies` generation will be using the last version, so this will save the forum some more "I hve problem wit da Event Reciver" topics...
Gah, the event receiver api broke AGAIN?
-Dudman
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Fri Aug 15, 2008 8:06 pm
No, there was only one change, from 1.3.1 to 1.4. The event is const& now.
Tracekill
Posts: 5 Joined: Wed Feb 20, 2008 2:52 pm
Post
by Tracekill » Thu Aug 28, 2008 12:02 am
Minor typo which may have already been addressed but your device creation line in every instance during the tutorial reads:
Code: Select all
IrrlichtDevice *device = createDevice(ETD_SOFTWARE...);
I believe the driver types are prefixed by "EDT" and this might confuse some less diligent readers. Thank you for your tutorial, it's been incredibly useful as I delve into the Irrlicht world.
kingdutch
Posts: 76 Joined: Tue Sep 02, 2008 7:01 am
Post
by kingdutch » Tue Sep 02, 2008 7:03 am
Our simple game now:
Code:
int main() {
IrrlichtDevice *device = createDevice(ETD_OPENGL);
IVideoDriver* video = device->getVideoDriver();
ISceneManager* smgr = device->getSceneManager();
ISceneNode* cube = smgr->addCubeSceneNode();
cube->setPosition(vector3df(0,0,5));
while(device->run() && device) {
video->beginScene(true, true, video::SColor(255,0,0,255));
smgr->drawAll();
video->endScene();
}
}
Little error in:
Code: Select all
IrrlichtDevice *device = createDevice(ETD_OPENGL);
should be:
Code: Select all
IrrlichtDevice *device = createDevice(EDT_OPENGL);
residentofcity17
Posts: 3 Joined: Thu Nov 06, 2008 9:57 am
Post
by residentofcity17 » Thu Nov 06, 2008 10:00 am
Can sombody please tell me how to load a static mesh in irrlicht 1.4.2 ??? If possible please show me the code...