Thanks, I hadn't noticed that both destructors were virtual. I guess it makes sense though.
Anyway, admins - feel free to send my brainfart topic to the nether.
Search found 19 matches
- Sat Jun 25, 2011 6:05 am
- Forum: Beginners Help
- Topic: Reference counter question
- Replies: 3
- Views: 467
- Sat Jun 25, 2011 3:10 am
- Forum: Beginners Help
- Topic: Reference counter question
- Replies: 3
- Views: 467
Reference counter question
I was poking around the source and noticed something about the reference counter. The line that actually destroys the object in the drop function is in IReferenceCounter, which most classes inherit from. But does "delete this;" in the context of an IReferenceCounter object delete any memor...
- Sun Dec 23, 2007 11:48 am
- Forum: Beginners Help
- Topic: Problem with draw2DImage
- Replies: 6
- Views: 354
- Sat Dec 22, 2007 8:44 pm
- Forum: Beginners Help
- Topic: Problem with draw2DImage
- Replies: 6
- Views: 354
- Fri Dec 21, 2007 7:47 pm
- Forum: Beginners Help
- Topic: Problem with draw2DImage
- Replies: 6
- Views: 354
- Fri Dec 21, 2007 6:45 pm
- Forum: Beginners Help
- Topic: Problem with draw2DImage
- Replies: 6
- Views: 354
Problem with draw2DImage
I was trying to create my own gui and decided to have all the elements in the gui drawn by the main gui object, so there is a simple function that calls draw2DImage with each element's ITexture*. The problem is that once that is in a separate function it no longer works. It works fine when the actua...
- Thu Jan 04, 2007 8:19 pm
- Forum: Beginners Help
- Topic: Turning toward coordinates
- Replies: 1
- Views: 139
Turning toward coordinates
How can I turn a mesh toward certain coordinates?
- Mon Jan 01, 2007 6:19 pm
- Forum: Beginners Help
- Topic: Transparency (alpha channel) ?
- Replies: 1
- Views: 297
Transparency (alpha channel) ?
How can I use alpha channel transparency with textures?
The 'textures' part is optional, I am trying to draw a 2d image with transparent edges
The 'textures' part is optional, I am trying to draw a 2d image with transparent edges
- Sat Dec 30, 2006 8:39 pm
- Forum: Beginners Help
- Topic: Moving the camera
- Replies: 3
- Views: 289
- Sat Dec 30, 2006 8:12 pm
- Forum: Beginners Help
- Topic: Moving the camera
- Replies: 3
- Views: 289
Moving the camera
I am testing some camera movement and I could not get it to work so I just copied the code from the movement tutorial and that did not work either. Here is the class class CameraMovement : public IEventReceiver { public: -------virtual bool OnEvent(SEvent event) -------{ --------------if (camera != ...
- Tue Dec 26, 2006 5:02 pm
- Forum: Beginners Help
- Topic: Spaceship movement
- Replies: 1
- Views: 195
Spaceship movement
I'm trying to create a freelancer-like movement
This is what I've come up with:
![Image](http://img111.imageshack.us/img111/7133/explanationcj9.png)
Do you have an idea how to do this?
There are a lot of vectors in it
This is what I've come up with:
![Image](http://img111.imageshack.us/img111/7133/explanationcj9.png)
Do you have an idea how to do this?
There are a lot of vectors in it
- Sat Dec 23, 2006 7:10 pm
- Forum: Beginners Help
- Topic: Rotation in degrees
- Replies: 2
- Views: 220
Rotation in degrees
The getRotation() function returns a vector3df.
How can I get the rotation in degrees (radians is fine too)?
How can I get the rotation in degrees (radians is fine too)?
- Fri Dec 22, 2006 10:12 pm
- Forum: Beginners Help
- Topic: See-through model problem
- Replies: 2
- Views: 217
See-through model problem
I have a sort of hard to explain problem. I have a model that I load in irrlicht. The problem is that when I view it, the parts behind other parts appear in front of them... something like a screwed up zbuffer camera some object; other object ->................|.....................| ..................
- Fri Dec 22, 2006 11:27 am
- Forum: Beginners Help
- Topic: Stars background
- Replies: 1
- Views: 247
Stars background
How do you set an image (texture) to be the background of the entire scene?
I mean, if you have a space simulation, you would like to have some stars in the background.
I mean, if you have a space simulation, you would like to have some stars in the background.
- Fri Dec 22, 2006 11:25 am
- Forum: Beginners Help
- Topic: protect my models
- Replies: 50
- Views: 4424
You can create your own model files. Of course this means you would have to import them on your own, for which you need to know a lot about how irrlicht works. You will also be able to use some kind of encryption too. The other problem, except for manual import, you will need to write either a 3D mo...