Search found 281 matches

by Ulf
Wed May 19, 2010 7:02 pm
Forum: Beginners Help
Topic: problems with AnimatedMeshSceneNode and HillPlaneMesh
Replies: 1
Views: 313

I found the problem. I had to rotate the node by 270 degrees on the x axis. But this still leaves me a bit confused as I have set up the projection as ortho. Is a plane mesh geometry flat on the z-axis and spanning the x and y axis? Or is it flat on the y axis? I thought the first. irr::scene::IAnim...
by Ulf
Wed May 19, 2010 3:46 am
Forum: Beginners Help
Topic: problems with AnimatedMeshSceneNode and HillPlaneMesh
Replies: 1
Views: 313

problems with AnimatedMeshSceneNode and HillPlaneMesh

Is there something wrong with this code? I can't get the hillplanemesh to draw on the screen. irr::scene::IAnimatedMesh* bgMesh = scene->addHillPlaneMesh( "background", irr::core::dimension2df(1024,512), irr::core::dimension2du(1,1) ); if ( bgMesh ) { irr::scene::ISceneNode* bgNode = scene...
by Ulf
Mon May 17, 2010 9:14 pm
Forum: Beginners Help
Topic: Can't See 3D Lines Drawn
Replies: 9
Views: 949

Thank you. I turned lighting off in the set material. Works fine.
by Ulf
Mon May 17, 2010 5:01 pm
Forum: Beginners Help
Topic: Can't See 3D Lines Drawn
Replies: 9
Views: 949

If you need to set the material before calling draw3DLine to give it a color, then what does the color parameter do?
Because it doesn't seem to make any difference. I seem to need to set a new material each time to change color of line drawing.
by Ulf
Tue May 11, 2010 7:36 am
Forum: Open Discussion and Dev Announcements
Topic: Pimp irrlicht website
Replies: 114
Views: 24977

Personally I think the Devs are doing a fantastic job with the engine, the onus is really on us to serve them up with some great screenshots and videos to post on the site. I more than half agree. Besides screenshots and games etc, the onus is on the whole community to start providing patches and n...
by Ulf
Tue May 11, 2010 7:21 am
Forum: Off-topic
Topic: Software architecture
Replies: 13
Views: 1672

I came to the conclusion that inter-class communication in my next project will be done using a single message queue That is not actually a conclusion. It is called a "decision". Yea? I think I'll try this piece of code once I'm back home ... got no idea if it really works, but it should....
by Ulf
Mon May 10, 2010 2:24 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Use of irr::array: VERY recommended!
Replies: 5
Views: 3598

I only had a quick think, but isn't the table incorrect? Excuse me if I misunderstand but for the list, if it takes O(N) to access the middle, must it not take O(N) to insert in the middle? You need to iterate to the middle first to insert a new item. If it is a sorted list, it will be O(logN). Wher...
by Ulf
Mon May 10, 2010 8:25 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Use of irr::array: VERY recommended!
Replies: 5
Views: 3598

Initially I have simply used array everywhere rather than list. If I want to iterate over the array, I grab the .pointer() to the data of the array, then iterate over it like a normal C array. I believe this is much faster than iterating using irrArray. At the same time, I can get direct access if I...
by Ulf
Sat May 01, 2010 6:23 am
Forum: Beginners Help
Topic: Noob C++ question..
Replies: 10
Views: 778

The way Sudi showed should work.
Declaration in the .h file
Definition in the .cpp file
by Ulf
Thu Apr 29, 2010 5:38 pm
Forum: Beginners Help
Topic: Irrlicht Project output and settings
Replies: 2
Views: 277

Irrlicht Project output and settings

I was thinking that the project settings should be set up to compile each of the configurations into different lib and dll files. Why when I compile each separate configuration does it overwrite my previous compilation? Personally I am going to change each configuration to output a different file e....
by Ulf
Thu Apr 29, 2010 8:11 am
Forum: Advanced Help
Topic: Texture coding a segmentation fault
Replies: 11
Views: 1922

First point: wall_tex = driver->getTexture(wallTex.c_str()); cout << "TEX DONE\n"; if (!wall_tex) { cerr << "BAD TEX!!! " << wallTex << "\n"; } Why are you trying to output a NULL pointer? **EDIT** My mistake.. the names are all too similar! And are you sure you are not...
by Ulf
Mon Apr 26, 2010 1:39 pm
Forum: Beginners Help
Topic: clone() doesn't work on octree node
Replies: 5
Views: 488

MeshSceneNode* nor COctTreeSceneNode* don't implement clone() because clone() is implemented in ISceneNode* and those two are just derived from it IMO. No it's not. virtual ISceneNode* clone(ISceneNode* newParent=0, ISceneManager* newManager=0) { return 0; // to be implemented by derived classes }
by Ulf
Sat Apr 24, 2010 12:51 pm
Forum: Project Announcements
Topic: SPARK open-source advanced particle engine
Replies: 104
Views: 57316

Thanks Darktib. I installed MinGW 5.1.6 which has mingw32-gcc-3.4.5 Gcc is not bad, but gdb ( the degugger) is not as good as msvc debugger. Then I might just debug with Visual Studio, but I still would appreciate a Code Blocks project with debug ability setup in the project and libraries linked cor...
by Ulf
Fri Apr 23, 2010 7:57 am
Forum: Project Announcements
Topic: Tribute to BitPlane :)
Replies: 11
Views: 4779

We need bitplane back! Don't be a rogerborg bitplane, don't be a rogerborg
If you love someone you will set them free. If they don't return you hunt them down and shoot them!
by Ulf
Fri Apr 23, 2010 3:51 am
Forum: Project Announcements
Topic: SPARK open-source advanced particle engine
Replies: 104
Views: 57316

Have you completely formatted the drive before installing windows? Yea I reinstalled by booting the CD. I tested the SPARK demos again, without recompiling them. They are working fine for now (now I just have the stupid shockwave error). I will let you know what happens after I install VS2008 and s...