Search found 37 matches

by utunnels
Wed Oct 24, 2012 8:53 am
Forum: Beginners Help
Topic: addFileArchive question
Replies: 3
Views: 314

Re: addFileArchive question

Do I need to keep data folder in that zip file, or only the structure inside data folder?
Does absolute path like D:\irrlicht\test\data\.... still work?

Will try later.
by utunnels
Wed Oct 24, 2012 1:43 am
Forum: Beginners Help
Topic: addFileArchive question
Replies: 3
Views: 314

addFileArchive question

I used to keep my files in a folder and get the path like this: BaseDir = FileSystem->getWorkingDirectory() + "/data" Now I want to compress the files because I'm using dropbox and there are some ridiculously huge text files. I compressed data folder into data.zip and put it with my exe, f...
by utunnels
Fri Oct 12, 2012 6:53 am
Forum: Beginners Help
Topic: Strange problem
Replies: 3
Views: 304

Re: Strange problem

Ah, thank you. I'll try another (now running that on a virtual machine so software causes less problems).
by utunnels
Fri Oct 12, 2012 6:46 am
Forum: Beginners Help
Topic: Strange problem
Replies: 3
Views: 304

Strange problem

I'm using 1.7.3. I created a camera at (128,0,0) looking at (0,0,0). I then added a textured rectangle (or 2 triangles) near the center of the screen. Problems is, if I scale (or change the vertices) the rectangle to make part of it fall out of the screen area, the entire rectangle will disappear. A...
by utunnels
Wed Sep 26, 2012 2:03 am
Forum: Beginners Help
Topic: Collision detection, need some help
Replies: 5
Views: 575

Re: Collision detection, need some help

Thank you Mel.
So the engine actually uses bounding box of the scene node to do collision detection, right?
I think that is sufficient for me.
by utunnels
Tue Sep 25, 2012 9:21 am
Forum: Beginners Help
Topic: Collision detection, need some help
Replies: 5
Views: 575

Re: Collision detection, need some help

Thank you. I'll take a look at that. Yeah, I think I'll try bbox method instead. I have another question, if I'm making a platformer type game, do I need to call createCollisionResponseAnimator method of the scene manager for every objet?       anim = smgr->createCollisionResponseAnimator(terrainTri...
by utunnels
Tue Sep 25, 2012 5:39 am
Forum: Beginners Help
Topic: Collision detection, need some help
Replies: 5
Views: 575

Collision detection, need some help

I'm trying to figure out, is there an easy way to test if a mesh intersects with another, like you do with a aabbox class.

Do I need to create triangle selectors? I also need to get the center point of the collision.
by utunnels
Tue Sep 25, 2012 5:06 am
Forum: Beginners Help
Topic: Will this cause problems?
Replies: 5
Views: 454

Re: Will this cause problems?

I see, thank you.
by utunnels
Tue Sep 25, 2012 12:36 am
Forum: Beginners Help
Topic: Will this cause problems?
Replies: 5
Views: 454

Re: Will this cause problems?

Thank you for the tip. :)
by utunnels
Mon Sep 24, 2012 9:02 am
Forum: Beginners Help
Topic: Will this cause problems?
Replies: 5
Views: 454

Will this cause problems?

class SomeClass {     SMesh Mesh;     SMeshBuffer MeshBuffer[3];   public:       SomeClass()     {         Mesh = SMesh();         for(int i=0; i<3; i++)         {             MeshBuffer[i] = SMeshBuffer();             Mesh.addMeshBuffer(&MeshBuffer[i]);             // Will this cause any probl...
by utunnels
Mon Sep 24, 2012 8:29 am
Forum: Beginners Help
Topic: could not load mesh,beause file couldn't be opened room.3ds
Replies: 8
Views: 753

Re: could not load mesh,beause file couldn't be opened room.

Hmm, I assume he just copied that example to another place like I did for the first time, in which case the media folder could not be found. Because the paths are all hard coded in cpp files, you can simply edit them before compiling. They are usually in a pattern like "../../media/dwarf.x"...
by utunnels
Fri Sep 14, 2012 11:53 pm
Forum: Beginners Help
Topic: [solved] ISceneNode::getAbsolutePosition
Replies: 8
Views: 633

Re: ISceneNode::getAbsolutePosition

Oh thank you.
I see the problem now, I just did that before rendering.
by utunnels
Fri Sep 14, 2012 9:42 am
Forum: Beginners Help
Topic: [solved] ISceneNode::getAbsolutePosition
Replies: 8
Views: 633

[solved] ISceneNode::getAbsolutePosition

I'm wondering why this always returns a zero vector, while getPosition returns the correct value.
:oops:
by utunnels
Wed May 09, 2012 8:22 am
Forum: Beginners Help
Topic: Constructing animations from joints
Replies: 0
Views: 447

Constructing animations from joints

Let me explain my situation first. I'm trying to convert a custom format to mesh and animate it. The first step is relatively easy to me as long as I can set up the vertices position correctly. The second step, however, I'm not sure how to start. Should I create a class based on ISkinnedMesh or SAni...
by utunnels
Fri Apr 27, 2012 12:08 am
Forum: Beginners Help
Topic: grab and drop
Replies: 2
Views: 498

Re: grab and drop

Thank you. It makes sense to me now.