Search found 15 matches

by tomhancocks
Thu Apr 30, 2009 9:14 am
Forum: Advanced Help
Topic: ITexture and EMT_TRANSPARENT_ADD_COLOR
Replies: 7
Views: 714

Thats working better. I've added the after burner effect to the ship now, but with out the additive blend effect its looking a little strange. I think I will tinker around and devise a way of doing that, because I absolutely need it in the 2d graphics for this game. edit: Just a quick screen shot to...
by tomhancocks
Thu Apr 30, 2009 8:23 am
Forum: Advanced Help
Topic: ITexture and EMT_TRANSPARENT_ADD_COLOR
Replies: 7
Views: 714

The actual rendering is split across several classes, specific classes rendering specific aspects. The actual loop (as it stands now) // Run Loop s32 lastFPS; while (device->run()) { driver->beginScene(true, true, video::SColor(0,0,0,0)); s32 fps = driver->getFPS(); if (lastFPS != fps) { core::strin...
by tomhancocks
Wed Apr 29, 2009 9:10 pm
Forum: Beginners Help
Topic: What screen coordinate system is used in Irrlicht?
Replies: 7
Views: 480

0,0 is the upper left, and width,height is indeed the lower right.
by tomhancocks
Wed Apr 29, 2009 8:29 pm
Forum: Advanced Help
Topic: ITexture and EMT_TRANSPARENT_ADD_COLOR
Replies: 7
Views: 714

hmm, ok. Well since then I've noticed something that I'm not sure if its a bug or not. If 2 2D images are overlapping the bottom one is clipped, even after an alpha channel is applied. I've applied an alpha channel with the following lines. this->player_ship = this->driver->getTexture( shipTexture )...
by tomhancocks
Wed Apr 29, 2009 3:44 pm
Forum: Advanced Help
Topic: ITexture and EMT_TRANSPARENT_ADD_COLOR
Replies: 7
Views: 714

ITexture and EMT_TRANSPARENT_ADD_COLOR

I've tried looking through the documentation on this one, and short of creating a 3D object and applying the Texture too it I can't figure out how to apply this flag to an ITexture. Basically the game I'm creating uses a strange mix of 2D and 3D graphics. In the background is a pseudo 2d star field ...
by tomhancocks
Tue Apr 28, 2009 4:58 pm
Forum: Advanced Help
Topic: Is Billboard in Scene?
Replies: 3
Views: 565

Hmm, that shouldn't be much of a problem. I just didn't want to start doing something only to find I had reinvented the wheel :lol:
by tomhancocks
Tue Apr 28, 2009 8:08 am
Forum: Advanced Help
Topic: Is Billboard in Scene?
Replies: 3
Views: 565

Is Billboard in Scene?

Is there a way built in to irrlicht to determine if a billboard object is visible to the player? (I.e on screne/in scene), or does it require some custom functionality?
by tomhancocks
Mon Apr 27, 2009 9:36 am
Forum: Advanced Help
Topic: Billboard Transparency
Replies: 1
Views: 441

Billboard Transparency

Is it possible to alter the alpha/transparency of a billboard scene node whilst running without having to load different textures?
by tomhancocks
Mon Apr 27, 2009 7:33 am
Forum: Beginners Help
Topic: C++ Classes driving me crazy
Replies: 4
Views: 431

I've got this part, what I can't grasp is the creating of a constructor function inside the class. for example in ObjC I would do something like this to create a constructor. @implementation MyObject - (id)initWithName:(NSString *)aName { if (self = [super init]) { _name = [aName retain]; } return s...
by tomhancocks
Mon Apr 27, 2009 7:16 am
Forum: Beginners Help
Topic: C++ Classes driving me crazy
Replies: 4
Views: 431

C++ Classes driving me crazy

Need a bit of help with C++ classes. What I'm wanting to do is to return a pointer of a newly allocated class so that I'm not having to lug an entire objects around my code. I need to do this via the constructor ideally. I can do this in Objective-C, PHP and some others but I can't for the life of m...
by tomhancocks
Sat Apr 25, 2009 9:01 pm
Forum: Off-topic
Topic: Next Generation of Game Controller ???
Replies: 5
Views: 1131

That looks pretty darn cool. I can just imagine how much better gaming would be with it. wITTus the idea of using to replace a keyboard and mouse is pretty good. Train it to recognise specific characters and that could be used for typing. I know I can think what I want to type a heck of a lot faster...
by tomhancocks
Sat Apr 25, 2009 8:37 pm
Forum: Off-topic
Topic: Who is everybody?
Replies: 358
Views: 501491

Name Tom Hancocks Age 21 Background Designer/Developer Programming REALbasic, C/C++/Objective-C/Cocoa, PHP, Perl, Pascal, C2D Assembly, 68k Assembly, Visual Basic, JavaScript and some others. Past Work TuneBar, File Actions (both Mac OS X Apps) Location Within 24,000 miles of you. (Or Filey, Englan...
by tomhancocks
Mon Apr 20, 2009 10:07 am
Forum: Advanced Help
Topic: {Little off Topic} Speeding up the main thread?
Replies: 1
Views: 437

Although most of my programming experience isn't from games/3d development or C++ even I do have a fair amount of experience in writing data parsers and handling large sets of data in C/Objective-C so I will give you some advice based on my experiences. If any bits of this don't apply to C++ please ...
by tomhancocks
Sun Apr 19, 2009 3:19 pm
Forum: Beginners Help
Topic: Terrain Texture and Size Problems
Replies: 1
Views: 310

Terrain Texture and Size Problems

Hi, I've recently begun implementing a more flexible terrain system for my game, one that will use an array of tiles in such a way that I can keep a high level of detail in the texture. I want to avoid scaling textures if at all possible. So far everything has been going pretty well except for when ...
by tomhancocks
Fri Jan 02, 2009 2:07 pm
Forum: Bug reports
Topic: [fixed] FPS Camera oddities in Full Screen [OSX only]
Replies: 2
Views: 510

[fixed] FPS Camera oddities in Full Screen [OSX only]

Hi I'm new to Irrlicht. Just discovered it last night and its already helping loads with the creation of my game idea, was previously making the engine from scratch and it was tedious work. Irrlicht is a god send! However I have noticed one strange oddity. This is under the 1.4.2 SDK on OS X btw. An...