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: 730
- Sat Jun 25, 2011 3:10 am
- Forum: Beginners Help
- Topic: Reference counter question
- Replies: 3
- Views: 730
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 memory ...
- Sun Dec 23, 2007 11:48 am
- Forum: Beginners Help
- Topic: Problem with draw2DImage
- Replies: 6
- Views: 895
This is most of the source. I've haven't included the classes but they only have the definitions of the variables and function prototypes. The project is barely beginning and I wanted to start with a basic GUI of my own.
In terms of "not working" - I mean I get the "Do you want to send a report to ...
In terms of "not working" - I mean I get the "Do you want to send a report to ...
- Sat Dec 22, 2007 8:44 pm
- Forum: Beginners Help
- Topic: Problem with draw2DImage
- Replies: 6
- Views: 895
- Fri Dec 21, 2007 7:47 pm
- Forum: Beginners Help
- Topic: Problem with draw2DImage
- Replies: 6
- Views: 895
- Fri Dec 21, 2007 6:45 pm
- Forum: Beginners Help
- Topic: Problem with draw2DImage
- Replies: 6
- Views: 895
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 ...
- Thu Jan 04, 2007 8:19 pm
- Forum: Beginners Help
- Topic: Turning toward coordinates
- Replies: 1
- Views: 325
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: 455
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: 557
- Sat Dec 30, 2006 8:12 pm
- Forum: Beginners Help
- Topic: Moving the camera
- Replies: 3
- Views: 557
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 ...
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: 360
Spaceship movement
I'm trying to create a freelancer-like movement
This is what I've come up with:

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:

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: 491
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: 345
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 ...
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: 409
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: 6404
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 ...
The other problem, except for manual import, you will need to write either a 3D ...