Search found 12 matches

by headfonez
Tue Nov 27, 2007 3:24 pm
Forum: Off-topic
Topic: Just wanted to say thanks
Replies: 0
Views: 321

Just wanted to say thanks

Thanks to all of you who has ever posted a question or a reply. I've been able to search through and find the answers to virtually all of my irrlicht questions. Thanks again! I'm now in a position to help someone who is relatively new to C++ and irrlicht.
by headfonez
Mon Nov 19, 2007 7:13 pm
Forum: Code Snippets
Topic: Animated Sprite Class +example
Replies: 36
Views: 23190

Thanks! (added a "gotoAndStop" function me self :wink: )
by headfonez
Wed Nov 14, 2007 1:34 pm
Forum: Beginners Help
Topic: getScreenCoordinates returning 0.000
Replies: 6
Views: 378

Thanks!
by headfonez
Tue Nov 13, 2007 6:47 pm
Forum: Beginners Help
Topic: getScreenCoordinates returning 0.000
Replies: 6
Views: 378

THe coordinates are being read, I'm able to move a node based on the mouse position, however, I just can't display it using printf(). But the get2d position function does work.
by headfonez
Tue Nov 13, 2007 3:56 pm
Forum: Beginners Help
Topic: getScreenCoordinates returning 0.000
Replies: 6
Views: 378

I am having the same problem with the cursor position. It also returns 0.000, regardless of where I move the cursor.

Code: Select all

position2d<s32> pos;
pos = cursor->getPosition(); 
printf("%f\n", pos.Y );
Any help is appreciated.
by headfonez
Tue Nov 13, 2007 3:30 pm
Forum: Beginners Help
Topic: getScreenCoordinates returning 0.000
Replies: 6
Views: 378

Thanks for your reply. I used a static camera and had it point to the coordinates of a node. Then I used the getScreenCoordinatesFrom3DPosition(node->getPosition()) to read the node's coordinates and translate them to 2d Screen Coordinates. Alas, it again returned 0.000 when doing a printf("%f ...
by headfonez
Tue Nov 13, 2007 2:58 pm
Forum: Beginners Help
Topic: getScreenCoordinates returning 0.000
Replies: 6
Views: 378

getScreenCoordinates returning 0.000

Hello, I'm using the getScreenCoordinatesFrom3DPosition() for a camera and each time I use the printf function to display the 2d coordinates, it always returns 0.00000. Any ideas why this happening?



b = smgr->getSceneCollisionManager()->getScreenCoordinatesFrom3DPosition(vector3df(80,50,-70 ...
by headfonez
Thu Nov 08, 2007 6:30 pm
Forum: Beginners Help
Topic: Reading model coordinates into irrlicht
Replies: 2
Views: 281

That's exactly what I needed. Thanks!
by headfonez
Thu Nov 08, 2007 2:03 pm
Forum: Beginners Help
Topic: Reading model coordinates into irrlicht
Replies: 2
Views: 281

Reading model coordinates into irrlicht

Is there a way to get the position of a mesh as it is animating? I have animated a mesh (moving along the x y and z axis in 3ds max), and I want to get those coordinates in irrlicht. Is there a way to get these coordinates? So far, when I place the object in irrlicht, it plays the animation of the ...
by headfonez
Wed Oct 31, 2007 3:03 pm
Forum: Beginners Help
Topic: Program window closes when calling Video device
Replies: 5
Views: 376

ultran00b wrote:Do you have irrlicht.dll in the same directory as your built executable?
That worked! Thanks, you're a life saver. Looks like you're not a noob after all. Noobs helping noobs, thats what its all about.
by headfonez
Wed Oct 31, 2007 2:35 pm
Forum: Beginners Help
Topic: Program window closes when calling Video device
Replies: 5
Views: 376

Thanks, I've added the code below, and what happens is, command prompt type programm window briefly opens, and then abruptly shuts down. I imagiane that a graphic window is supposed to appear, but it does not. Here is the code below:


#include <irrlicht/irrlicht.h>
#include <stdio.h> /* header ...
by headfonez
Wed Oct 31, 2007 2:10 pm
Forum: Beginners Help
Topic: Program window closes when calling Video device
Replies: 5
Views: 376

Program window closes when calling Video device

When I call the irr video device command, the program closes.

using namespace irr;

using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;


#pragma comment(lib, "Irrlicht.lib")


int main()
{
IrrlichtDevice *device =
createDevice(EDT ...