Search found 65 matches
- Mon Nov 21, 2011 7:36 am
- Forum: Beginners Help
- Topic: Deform a flat mesh in XZ terms
- Replies: 1
- Views: 149
Deform a flat mesh in XZ terms
Hi I want to know if there is a way to know what point in a flat mesh correspond to a vertex list in irrlicht. Like to organize it in a 2d 16x16 array and move the position[0][0] , position[0][16], etc , are a corners of the mesh. Don't know how to do it. Any Ideas are wellcome. .__ . __ . __ . __ ....
- Sun Sep 19, 2010 12:14 pm
- Forum: Beginners Help
- Topic: Rotation and movement problem.
- Replies: 3
- Views: 1340
- Sat Jul 10, 2010 11:48 am
- Forum: Beginners Help
- Topic: How do I...Image to win32 HBITMAP
- Replies: 1
- Views: 219
How do I...Image to win32 HBITMAP
Hi I'm triying to create a bitmap in win32 from the Textures or images from irrlicht from some code i found here. No success for now. Only a black square. Any help is appreciated Thanks video::IImage* img = device->getVideoDriver()->createImageFromFile(...); int x_dim = (int) img->getDimension().Wid...
- Fri Jul 02, 2010 5:29 pm
- Forum: Beginners Help
- Topic: how do i make axes node always visible?
- Replies: 3
- Views: 376
- Fri Jul 02, 2010 1:59 pm
- Forum: Beginners Help
- Topic: how do i make axes node always visible?
- Replies: 3
- Views: 376
how do i make axes node always visible?
Hi I'm using irrlicht 1.7 & CB. I found an axes scene node here http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=21993 I need the axes to be visible always, even inside other nodes( is the idea), but don't know how to do it. Its for a simple scene editor. Don't know if already posted, trie...
- Fri Apr 09, 2010 7:19 pm
- Forum: Code Snippets
- Topic: New GUI skin [update: new skins, support for 1.5/1.6]
- Replies: 112
- Views: 75779
- Wed Apr 07, 2010 1:00 am
- Forum: Beginners Help
- Topic: Please help (3rd RPG camera)
- Replies: 7
- Views: 633
- Mon Apr 05, 2010 5:38 pm
- Forum: Beginners Help
- Topic: Please help (3rd RPG camera)
- Replies: 7
- Views: 633
void MovePlayer( ISceneNode* node, const f32 distance) { if (!node) return; vector3df pos = node->getPosition(); float rot = node->getRotation().Y; pos.X += distance * cos(rot * DEGTORAD); pos.Z -= distance * sin(rot * DEGTORAD); node->setPosition(pos); } //---------------------------------- IrrCam...
- Mon Apr 05, 2010 11:59 am
- Forum: Beginners Help
- Topic: Please help (3rd RPG camera)
- Replies: 7
- Views: 633
use something like
and
Code: Select all
device->setEventReceiver(&receiver);
Code: Select all
vector3df pos = sydneyNode->getPosition();
float height = terrain->getHeight( pos.X,pos.Z );
pos.Y = height;
sydneyNode->setPosition( pos );
- Sat Mar 20, 2010 11:44 am
- Forum: Beginners Help
- Topic: Help, can't see models texture
- Replies: 3
- Views: 237
Help, can't see models texture
Hi everyone; I use Code::Blocks and irrlicht 1.6 Normally i use .ms3d models without problems, Recently i converted some .X models to .ms3d and with surprise their texture can only be seen with EDT_SOFTWARE or EDT_BURNINGSVIDEO. I can see the model texture ok in Milkshape. Why i can only see a black...
- Fri Jan 29, 2010 1:57 pm
- Forum: Beginners Help
- Topic: Need a scan cone ideas
- Replies: 0
- Views: 505
Need a scan cone ideas
I nee some sight in front of the entities more or less like real. Like a limited vision angle and directed by the angle of rotation. I tried a triangle 'scan cone' bool ScanCone( const core::vector3df origin, const float cone_angle, const float direction, const float lenght ) { core::triangle3df hco...
- Wed Jan 20, 2010 5:49 pm
- Forum: Beginners Help
- Topic: how to iterate through a list of objects
- Replies: 8
- Views: 1026
A simple planet class with the list inside. This is is an exercise code to practice not a correct one. class CPlanets { private: core::list<scene::ISceneNode*> planet; core::list<scene::ISceneNode*>::Iterator loc; public: CPlanets () {}; ~CPlanets () { planet.clear(); }; int GetSize ( ); void Insert...
- Wed Jan 13, 2010 12:59 am
- Forum: Beginners Help
- Topic: Reading a text file using Irrlicht. (IReadFile)
- Replies: 7
- Views: 1405
- Sat Nov 07, 2009 12:18 am
- Forum: Game Programming
- Topic: Anyone doing simple scripting?
- Replies: 2
- Views: 1897
Anyone doing simple scripting?
Hi I'm experimenting with a simple text scripting using the irrlicht 1.5 Don't know much about it but i'm learning. I want to read a text file and do some basic stuff like movement, rotation, and simple material handling. So far so good, but very slow. I did a simple text file reader, parser and ele...
- Sat Oct 17, 2009 11:26 pm
- Forum: Beginners Help
- Topic: Using a list as a queue?
- Replies: 3
- Views: 275
Hi: Thanks for the corrections. made a little modifications and woks ok, And you are right is not a queue but i need some attributes from a queue and a stack. Actually i need to traverse the list with the Front() in a circular fashion, always getting the next element. The total of pushed items must ...