Search found 30 matches

by diogoecomp
Tue Dec 29, 2009 5:10 pm
Forum: Beginners Help
Topic: position of a b3d mesh
Replies: 11
Views: 928

you can download the blend model here.

and thanks again for your help. :wink:
by diogoecomp
Tue Dec 29, 2009 12:21 am
Forum: Beginners Help
Topic: position of a b3d mesh
Replies: 11
Views: 928

I have a list of positions like the one below and I use the following code to set the model positions:

void moveTo(IAnimatedMeshSceneNode* node, vector3df finalPosition)
{
vector3df actualPosition;
actualPosition = node->getPosition();
posDiff = finalPosition - actualPosition;
posDiff ...
by diogoecomp
Mon Dec 28, 2009 5:08 pm
Forum: Beginners Help
Topic: position of a b3d mesh
Replies: 11
Views: 928

Acky,
I need to use a lot of different models and I don't want to have to set the Y-position to every model. If there is a certain configuration that I need to do so my models just have to be loaded and will be at the right position, that's what I want to know. But, as my time is running out, I ...
by diogoecomp
Mon Dec 28, 2009 1:21 am
Forum: Beginners Help
Topic: position of a b3d mesh
Replies: 11
Views: 928

Well, he tried that and it didn't solve the problem. The model can be downloaded here, so if anyone could test it I would be grateful.

frames:
1-38 ->idle
50-90-> walk

Thanks.
by diogoecomp
Sat Dec 26, 2009 7:04 pm
Forum: Beginners Help
Topic: position of a b3d mesh
Replies: 11
Views: 928

position of a b3d mesh

hello,
I need some help (again :roll: ) of you guys about a b3d model that I'm trying to use. A friend of mine made the model using Blender and exported it using Gandalf's exporter. The problem is when I load it in Irrlicht. As you can see on the picture, the model is half under the floor (wich ...
by diogoecomp
Sun Dec 13, 2009 10:57 pm
Forum: Beginners Help
Topic: smoothly rotate a node
Replies: 4
Views: 1049

Thanks for your help.

I did some videos showing what I'm talking about.

version 1 - shows the problem of the node shaking around Y.
version 2 - a solution that I found, using the medium value from the next 5 angles as the rotation angle. I know that this is not a good solution but is the only ...
by diogoecomp
Fri Dec 11, 2009 11:44 pm
Forum: Beginners Help
Topic: smoothly rotate a node
Replies: 4
Views: 1049

Like I said, I found both codes here in the forum. The code that you have correctly analised I've found here and here . Now about your analysis, you are right, there are some strange lines in that code. I did your suggestions and it seems to be working well. The final code is now like this:
void ...
by diogoecomp
Thu Dec 10, 2009 11:17 pm
Forum: Beginners Help
Topic: smoothly rotate a node
Replies: 4
Views: 1049

smoothly rotate a node

I'm trying to rotate a moving node using the following methods that I found in the forum:

void moveTo(IAnimatedMeshSceneNode* node, vector3df finalPosition){
vector3df actualPosition = node->getPosition();
core::vector3df posDiff = finalPosition - actualPosition;
f32 degree = actualPosition.Y ...
by diogoecomp
Sun Nov 29, 2009 4:58 pm
Forum: Beginners Help
Topic: [solved] motion trail
Replies: 6
Views: 825

just to inform anyone who could want a solution for this problem, I used the informations of this post here http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=36113 to make the trails. by the way, using drawVertexPrimitiveList() gave me a gain of 10% relative to the code that used draw3DLine ...
by diogoecomp
Sun Nov 29, 2009 4:53 pm
Forum: Beginners Help
Topic: draw3DLine
Replies: 15
Views: 3950

thanks, that's exactly what I was looking for.
by diogoecomp
Sat Nov 28, 2009 9:37 pm
Forum: Beginners Help
Topic: problem to use XEffects
Replies: 5
Views: 546

Lonesome Ducky,
sorry if I wasn't so clear. The problem that I want to solve now is the one related to the black screen and XEffects. My code is using Irrlicht 1.6 now, so that s32/u32 problem is not a problem anymore :)
by diogoecomp
Sat Nov 28, 2009 6:44 pm
Forum: Beginners Help
Topic: problem to use XEffects
Replies: 5
Views: 546

thanks Travis!
using that line that you mentioned I still have this error:

error C2664: 'EffectHandler::EffectHandler(irr::IrrlichtDevice *,const irr::core::dimension2du &,const bool,const bool,const bool)' : cannot convert parameter 2 from 'const irr::core::dimension2d<T>' to 'const irr::core ...
by diogoecomp
Fri Nov 27, 2009 10:37 pm
Forum: Beginners Help
Topic: problem to use XEffects
Replies: 5
Views: 546

problem to use XEffects

I need some help of you guys. I'm trying to use the XEffects but my code simply don't compile. These are the configurations:
#include <irrlicht.h>
#include <iostream>
#include <XEffects.h>

#ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#pragma comment(lib, "Irrlicht.lib")
#endif

using namespace ...
by diogoecomp
Fri Nov 13, 2009 1:21 am
Forum: Beginners Help
Topic: [solved] motion trail
Replies: 6
Views: 825

thanks Travis, I'll try that.
If anyone else has other suggestions feel free to put them here.
by diogoecomp
Mon Nov 09, 2009 12:39 am
Forum: Beginners Help
Topic: [solved] motion trail
Replies: 6
Views: 825

[solved] motion trail

hello,
I would like you to give me suggestions on how to do motion trails like the ones in the picture.

thanks.

Image