Search found 226 matches

by freetimecoder
Fri Oct 22, 2010 3:31 pm
Forum: Game Programming
Topic: Help me choose a physics engine / wrapper for a car game
Replies: 12
Views: 5611

Hi, Newton is not open source, but free. I made a simple car test a while ago http://img841.imageshack.us/img841/1764/cartest.jpg http://www.file-upload.net/download-2910618/Newton_Car.zip.html The code structure is terrible but it only uses the newton physics commands. I now use it mixed with my ow...
by freetimecoder
Fri Sep 24, 2010 9:53 pm
Forum: Beginners Help
Topic: IXMLReader progress
Replies: 1
Views: 285

IXMLReader progress

Hi, is there a simple method to see how far the xml reader progressed? I tried the readfile->getPos() but after smgr->getFileSystem()->createXMLReader(readfile); the file has been completely read. Is there another way to find out how many percent of the whole file was processed? I'm trying to create...
by freetimecoder
Fri Sep 24, 2010 6:28 am
Forum: Beginners Help
Topic: Unit selection box
Replies: 1
Views: 320

If you have a 2d box you should have the 2d screen coordinates of the corners. Then you can get the unit's screen coordinates by using scenemanger->getSceneCollisionManager()->getScreenCoordinatesFrom3DPosition(unitposition) Then you can compare the 2d position with the selection box. Don't know if ...
by freetimecoder
Tue Sep 21, 2010 5:03 am
Forum: Beginners Help
Topic: Triggers?
Replies: 2
Views: 294

Basically you need a class that compares the position of your target node with where it should be when the trigger should be activated. You can also compare other things, like speed, or rotation etc. You class should also have a bool IsTriggered() or something, so objects that are waiting for the tr...
by freetimecoder
Tue Sep 21, 2010 5:00 am
Forum: Beginners Help
Topic: Reflection?
Replies: 1
Views: 327

You can take a look at the MirrorSceneNode code posted here:
http://irrlicht.sourceforge.net/phpBB2/ ... or&start=0

(Page 3 is the newest version)
However, I don't know if it still works correctly.

greetings
by freetimecoder
Wed Sep 15, 2010 8:43 am
Forum: Beginners Help
Topic: Can Irrlicht be used in 3d editors applications?
Replies: 7
Views: 1380

Just search the forum a bit. Especially for screenshot + editor. A few examples: Image is from wing64 out of the screenshots topic: http://img836.imageshack.us/img836/1710/cliff208.jpg and this is one of my editors: http://img214.imageshack.us/img214/4360/mapeditor2.jpg I use it with wxWidgets, but ...
by freetimecoder
Sat Sep 11, 2010 3:07 pm
Forum: Off-topic
Topic: Free stuff for projects(SFX,Textures,music tracks)?
Replies: 8
Views: 1204

For SFX I like http://www.freesound.org/

For music this page is cool: http://www.hamsteralliance.com/
(Depends whether you like the license or not, but the musician usually likes to see/hear his music being used in projects)

greetigns
by freetimecoder
Sun Sep 05, 2010 7:39 pm
Forum: Everything 2d/3d Graphics
Topic: Glitch pictures thread!
Replies: 71
Views: 41654

http://img715.imageshack.us/img715/7323/carmassglitch.jpg The cars were supposed to be driving around and avoid each other. But I accidentally increased their mass, which made them gather in the valleys because the engines were to weak to drive over the hills. Automated parking-lot creation :D gree...
by freetimecoder
Fri Sep 03, 2010 8:48 pm
Forum: Beginners Help
Topic: 1.6 works with wxWidgets 1.7.1 does not [solved]
Replies: 1
Views: 191

Nevermind :oops:
I forgot to replace the irrlicht.dll that is why the crash occured.

greetings
by freetimecoder
Fri Sep 03, 2010 6:02 am
Forum: Code Snippets
Topic: Online archive access
Replies: 11
Views: 2771

Thanks :D
That works.

greetings
by freetimecoder
Wed Sep 01, 2010 9:44 am
Forum: Code Snippets
Topic: Online archive access
Replies: 11
Views: 2771

This is great! Not so much for the archive thing (which is great, too, of course) but because I plan to write a downloader with enet for a project and this comes just in time :D One question: Is there a way to determine the filesize of the download before the file finished downloading? (e.g. for a p...
by freetimecoder
Mon Aug 30, 2010 5:27 pm
Forum: Beginners Help
Topic: 1.6 works with wxWidgets 1.7.1 does not [solved]
Replies: 1
Views: 191

1.6 works with wxWidgets 1.7.1 does not [solved]

Hi, I recently tried to compile my editor with the new Irrlicht version but it crashes. No device is created. This is the code: SIrrlichtCreationParameters param; param.WindowId = reinterpret_cast<void*>(this->GetHandle()); param.DriverType = video::EDT_OPENGL; param.WindowSize = core::dimension2d<u...
by freetimecoder
Sat Aug 28, 2010 12:39 pm
Forum: Beginners Help
Topic: Speedometer
Replies: 1
Views: 314

Hi,

dalerank2 made a good gui gadget for that:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=38528

If you want to do it yourself use images, you can see how that works in the 2d graphics tutorial.

greetings
by freetimecoder
Fri Aug 27, 2010 2:27 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Beam scenenode
Replies: 34
Views: 22387

Use
SMaterial::TextureLayer[]::Texture instead.

e.g. myMaterial.TextureLayer[0].Texture

greetings
by freetimecoder
Wed Aug 11, 2010 5:27 pm
Forum: Code Snippets
Topic: Shield Effects [OpenGL]
Replies: 51
Views: 21455

That code is not mine, Sudi wrote it ;)