Search found 83 matches

by humbrol
Sat Nov 24, 2007 8:08 pm
Forum: Beginners Help
Topic: getting a mesh to have same position as camera
Replies: 22
Views: 879

Code: Select all

119 C:\irrlicht\main.cpp no matching function for call to `irr::scene::ISceneNode::addChild(irr::scene::IAnimatedMesh*&)' 
getting this error when its run tho
by humbrol
Sat Nov 24, 2007 9:28 am
Forum: Beginners Help
Topic: getting a mesh to have same position as camera
Replies: 22
Views: 879

IAnimatedMesh* test = smgr->getMesh("media/sydney.md2"); IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode( test); if (test) { node->setMaterialFlag(EMF_LIGHTING, false); node->setFrameLoop(0,1); node->setMaterialTexture( 0, driver->getTexture("media/sydney.bmp") ); ...
by humbrol
Sat Nov 24, 2007 8:05 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Free Flight (space flight) functions
Replies: 64
Views: 75142

is there a way to move meshes with this?
by humbrol
Sat Nov 24, 2007 6:51 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Free Flight (space flight) functions
Replies: 64
Views: 75142

got the node moving now, is there a way to smooth out the keyboard controls? #include "irrlicht.h" using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; double playerspeed = 0.0; // free flight functions void makeC...
by humbrol
Sat Nov 24, 2007 4:06 am
Forum: Beginners Help
Topic: Using Sqlite but how to draw information from the database
Replies: 10
Views: 428

tried using atof but keep getting
102 C:\irrlicht\main.cpp invalid conversion from `char' to `const char*'
by humbrol
Sat Nov 24, 2007 3:14 am
Forum: Beginners Help
Topic: Using Sqlite but how to draw information from the database
Replies: 10
Views: 428

make matters worse

Code: Select all

xPos = sprintf(sql,"SELECT xPos FROM irrlicht where id = 1;");
gets me 39 where the table value is 150
by humbrol
Sat Nov 24, 2007 3:05 am
Forum: Beginners Help
Topic: Using Sqlite but how to draw information from the database
Replies: 10
Views: 428

test0 xpos = 150 couple questions, why is test0 printing before the sql calls to get xpos = 150? and why isnt test changing to test 150. I can see that its changing the value of xPos from 999 so there is some work going on,, but its also not displaying ypos and zpos in the console... soo close yet ...
by humbrol
Fri Nov 23, 2007 2:49 am
Forum: Code Snippets
Topic: a simple grid class
Replies: 23
Views: 7840

been a long week of learning alot of new stuff, the example above shows the class name as Grid but the call as grid.draw();

tried Grid.draw() with the same results,, forgive this poor noob.. im diving in deep and trying to learn.
by humbrol
Fri Nov 23, 2007 2:20 am
Forum: Beginners Help
Topic: Any easy way to check for collision?
Replies: 13
Views: 538

awesome worked great. =)

now is there a way to make the node impassable? or stop the camera from moving through it?
by humbrol
Fri Nov 23, 2007 2:02 am
Forum: Beginners Help
Topic: Using Sqlite but how to draw information from the database
Replies: 10
Views: 428

thats where im running into problems what would the syntax be to convert the sql to a string or integer. what my end goal is is to - store the x,y,z coordinates of a node in sql and then pull that information to create the nodes within my skydome. - store the filename of the texture file for the nod...
by humbrol
Fri Nov 23, 2007 1:26 am
Forum: Beginners Help
Topic: Using Sqlite but how to draw information from the database
Replies: 10
Views: 428

Using Sqlite but how to draw information from the database

ok, did alot of research and found this, was able to get sqllite connected and it all running in irrlicht. So hopefully this link will help someone else get sqlite running. on to the question, how do i transfer the information from the database to a variable. I am able to display the information via...
by humbrol
Thu Nov 22, 2007 10:12 pm
Forum: Beginners Help
Topic: Any easy way to check for collision?
Replies: 13
Views: 538

I do not have a map loaded, trying to do a space enviroment with meshes and nodes loaded, is there a way to do collision detection between a cameranode and a sphere node or a loaded mesh?
by humbrol
Thu Nov 22, 2007 10:10 pm
Forum: Beginners Help
Topic: How to save and load a game?
Replies: 15
Views: 1162

so would this be the wrong forum to repost the thread with the information or would other than irrlicht be more appropriate?
by humbrol
Thu Nov 22, 2007 3:23 pm
Forum: Beginners Help
Topic: How to save and load a game?
Replies: 15
Views: 1162

per se not very much other than being useful to each other, but its a basic programming question. Ive been digging through google and the examples Ive been finding have not been working, so I was asking someone who said they had been able to do it in this thread, how they did it.
by humbrol
Thu Nov 22, 2007 11:06 am
Forum: Beginners Help
Topic: How to save and load a game?
Replies: 15
Views: 1162

Umbra- How do you connect to mysql via irrlicht. I am currently using dev C++ and the packages that it comes with, even thier tutorials aren't working..