Search found 19 matches

by starsgt
Wed Jan 25, 2012 8:43 am
Forum: Game Programming
Topic: How Irrlicht Detects Collision Help?
Replies: 5
Views: 1784

Re: How Irrlicht Detects Collision Help?

Ah I see. So the Collision manager detects not only an object collision, but also a mesh collision at the same time. Additionally, there are multiple collision responses that can also be implemented. Out of curiosity, is there a way for this collision type to distinguish a collision in the "fro...
by starsgt
Tue Jan 10, 2012 10:12 pm
Forum: Game Programming
Topic: Mesh animation
Replies: 17
Views: 17089

Re: Mesh animation

Cool thanks. Is there any limitations to this import I should be aware of, such as compatibility issues and animation depth restrictions?
by starsgt
Wed Dec 28, 2011 10:49 pm
Forum: Game Programming
Topic: How Irrlicht Detects Collision Help?
Replies: 5
Views: 1784

Re: How Irrlicht Detects Collision Help?

So is it safe for me to assume that the rays "collide" with the triangles when the ray length = 0 (distance from object to triangle)? If that's the case, I also take it that there are multiple rays that stream from the object that detects these polygons all around it? (so moving an object ...
by starsgt
Wed Dec 28, 2011 8:18 pm
Forum: Game Programming
Topic: How Irrlicht Detects Collision Help?
Replies: 5
Views: 1784

How Irrlicht Detects Collision Help?

I've been reading the collision tutorial over and over, but I can't quite pinpoint the exact codes that allow the Irrlicht engine to detect a collision. I understand that they implement a "ray" that can detect the triangle polygons of an object and a enumerated constant that allows the ray...
by starsgt
Wed Dec 28, 2011 8:02 pm
Forum: Game Programming
Topic: Mesh animation
Replies: 17
Views: 17089

Re: Mesh animation

I see. In that case, is there any way you can work animation with 3ds max files? Perhaps save as a different file format?
by starsgt
Tue Dec 27, 2011 2:54 am
Forum: Game Programming
Topic: Mesh animation
Replies: 17
Views: 17089

Re: Mesh animation

Along the lines of "node->setFrameLoop(x,y)", will this code work for the files of .3ds?
by starsgt
Sun Jul 31, 2011 4:35 pm
Forum: Beginners Help
Topic: Beginner's Irrlicht 1.7.2 Texturing Help?
Replies: 13
Views: 704

Re: Beginner's Irrlicht 1.7.2 Texturing Help?

Okay, so after a decent while of searching, I take back what I said before. The object is in Irrlicht and I just put it in the wrong place. However, the problem still exists and this time, the object is white. Edit: Okay, so once I changed it to a different object of which I had a clearly laid out t...
by starsgt
Sun Jul 24, 2011 3:59 pm
Forum: Beginners Help
Topic: Beginner's Irrlicht 1.7.2 Texturing Help?
Replies: 13
Views: 704

Re: Beginner's Irrlicht 1.7.2 Texturing Help?

So....I've tried the code you put on top there, but now the mesh is just completely gone. The console says it loaded the mesh and texture, but I can't find it anywhere now.

Perhaps it's something wrong with my texture?

Again, I am thankful for all your time and effort on trying to help.
by starsgt
Fri Jul 22, 2011 6:23 am
Forum: Beginners Help
Topic: Beginner's Irrlicht 1.7.2 Texturing Help?
Replies: 13
Views: 704

Re: Beginner's Irrlicht 1.7.2 Texturing Help?

You should load back your model in a 3D editor (Blender, 3DSMAx, etc.) and check that it's properly UV mapped. Theses software have tools to create UV maps. Every model that you use should have been properly UV Mapped so a image based texture can be applied. Yea, I tried that not too long ago too. ...
by starsgt
Fri Jul 08, 2011 10:27 pm
Forum: Beginners Help
Topic: Beginner's Irrlicht 1.7.2 Texturing Help?
Replies: 13
Views: 704

Re: Beginner's Irrlicht 1.7.2 Texturing Help?

hybrid wrote:If the texture is loaded, it is also applied. Maybe your texture coords are not set.
Oh cool. Yes, that might fix it. What should i refer to, to learn about setting the texture coords?
by starsgt
Fri Jul 08, 2011 9:07 pm
Forum: Beginners Help
Topic: Beginner's Irrlicht 1.7.2 Texturing Help?
Replies: 13
Views: 704

Re: Beginner's Irrlicht 1.7.2 Texturing Help?

could you assign the driver->getTexture call to an object, set a breakpoint, and inspect the object after the call? Could you post a minimal block of code that reproduces the issue? I've used that code above with the same texture path and yes, it found the texture. The only problem is that it still...
by starsgt
Fri Jul 08, 2011 8:38 pm
Forum: Beginners Help
Topic: Beginner's Irrlicht 1.7.2 Texturing Help?
Replies: 13
Views: 704

Re: Beginner's Irrlicht 1.7.2 Texturing Help?

I've been using the basic format of this one: node->setMaterialFlag(EMF_LIGHTING,false); node->setMaterialTexture( 0, driver->getTexture("path_to_my_texture") ); I still get a black object. On the console, it doesn't say that the texture has been loaded either. Just on a side note, I have ...
by starsgt
Fri Jul 08, 2011 5:50 pm
Forum: Beginners Help
Topic: Beginner's Irrlicht 1.7.2 Texturing Help?
Replies: 13
Views: 704

Beginner's Irrlicht 1.7.2 Texturing Help?

For the past couple of days, i've been trying to follow the codes given in the tutorials. The meshes work just fine and I was able to import my 3ds objects into 3D space. However, when it came to texturing, the given codes just don't seem to cut it. Anybody care to help out a beginner like me? Thank...
by starsgt
Tue Jul 20, 2010 6:28 pm
Forum: Beginners Help
Topic: What's wrong with the texturing?
Replies: 10
Views: 863

So can I have an example of how to use this line?
by starsgt
Tue Jul 20, 2010 5:47 pm
Forum: Beginners Help
Topic: What's wrong with the texturing?
Replies: 10
Views: 863

I'm somewhat bad @ C++ so I'll have to ask: what's "pure virtual"?