Search found 9 matches

by geoff
Sat Nov 01, 2008 3:06 pm
Forum: Advanced Help
Topic: A few questions from a first-timer
Replies: 18
Views: 2082

OK then; here's the final working version. There isn't much complicated about it, although you may want to change some of the comments. Don't hesitate to ask if something doesn't make sense. Once again, many thanks for your help with this; what irrlicht does with it is very impressive. #include <irr...
by geoff
Fri Oct 31, 2008 1:51 pm
Forum: Advanced Help
Topic: A few questions from a first-timer
Replies: 18
Views: 2082

Suddenly it all makes perfect sense.

When I've got it all working, which surely shouldn't be too far away, would you be interested in the relevant part of my code, since I'm probably not the first person who's likely to want to initialise a mesh from a heightmap in this way?
by geoff
Fri Oct 31, 2008 10:46 am
Forum: Advanced Help
Topic: A few questions from a first-timer
Replies: 18
Views: 2082

Some progress, but much weirdness now. Here's the latest version of my code: #include <irrlicht.h> #include <iostream> #include <math.h> using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; using namespace std; ////////////...
by geoff
Thu Oct 30, 2008 1:00 pm
Forum: Advanced Help
Topic: A few questions from a first-timer
Replies: 18
Views: 2082

Still not there yet! Here's the revised definition of TMesh, which generates a completely flat surface with normals pointing straight up: class TMesh: public SMesh { private: int w, h; public: TMesh(u16 w, u16 h) : SMesh() { SMeshBuffer *buf = new SMeshBuffer(); buf->Vertices.reallocate(w * h); addM...
by geoff
Wed Oct 29, 2008 10:13 pm
Forum: Advanced Help
Topic: A few questions from a first-timer
Replies: 18
Views: 2082

Almost there...

OK, I think I just need to ask two more stupid questions, and I should be able to continue by myself. 1. Is it correct to use an IMeshManipulator to set the vertex colours? 2. The code below shows the current state of my program. I've set up a test mesh with a ripple-like pattern (that's the sin(sqr...
by geoff
Wed Oct 29, 2008 8:28 pm
Forum: Advanced Help
Topic: A few questions from a first-timer
Replies: 18
Views: 2082

Many thanks; it's all starting to make a lot more sense now!
by geoff
Tue Oct 28, 2008 9:55 pm
Forum: Advanced Help
Topic: A few questions from a first-timer
Replies: 18
Views: 2082

OK; thanks for reassuring me that I wasn't asking the impossible! Please excuse my ignorance of the workings of irrlicht; I will probably still have to ask too many stupid questions here. Improvability of the terrain scene node is rather hard to argue about, because it's a huge code basis which was ...
by geoff
Tue Oct 28, 2008 7:14 pm
Forum: Advanced Help
Topic: A few questions from a first-timer
Replies: 18
Views: 2082

Is this really unanswerable...?
by geoff
Sat Oct 25, 2008 7:28 pm
Forum: Advanced Help
Topic: A few questions from a first-timer
Replies: 18
Views: 2082

A few questions from a first-timer

Hi, I've been looking for a decent 3D engine for a project of mine, and irrlicht looks very impressive and *almost* what I'm after. But I'm not quite sure yet if it meets my requirements, and would greatly appreciate it if someone could put my mind at rest. I'm too lazy to wade through all the docum...