Search found 6 matches

by FyShu^
Wed Aug 15, 2007 11:20 am
Forum: Beginners Help
Topic: Best way to switch between children?
Replies: 11
Views: 1282

Hey.

I can't see any problems, but I just looking, I thought it was redundant to include the condition ( ! isHelmet00 ) with the else-if block.

Probably better to put a comment there instead. Otherwise you'd be wasting CPU cycles where you're doing logic checks on the obvious: What isn't ...
by FyShu^
Thu Aug 02, 2007 9:38 am
Forum: Beginners Help
Topic: My own Grid3DSceneNode always rendering behind IMeshes
Replies: 5
Views: 1083

How right you are, mr vitek- I neglected materials, a n00bish thing to do, but i shall remember it- now it works a charm! :)

I have read some of your other responses I made a fairly n00bish error there...

Excuse me for ignorance / not thinking too much- i've looked in the documentation for ...
by FyShu^
Wed Aug 01, 2007 12:13 pm
Forum: Beginners Help
Topic: My own Grid3DSceneNode always rendering behind IMeshes
Replies: 5
Views: 1083

My own Grid3DSceneNode always rendering behind IMeshes

Hi there.

My problem is, I've created my Grid3DSceneNode, whose code is below...

#ifndef GRID3DSCENENODE_H_
#define GRID3DSCENENODE_H_

#include <irrlicht.h>

using namespace irr;

class Grid3DSceneNode : public irr::scene::ISceneNode
{
public:
//constructor takes three ints, the position of the ...
by FyShu^
Sun May 27, 2007 6:24 pm
Forum: Beginners Help
Topic: Coloured cubes
Replies: 4
Views: 369

Ahhh Thank you, I understand now :)
by FyShu^
Sun May 27, 2007 5:29 pm
Forum: Beginners Help
Topic: Coloured cubes
Replies: 4
Views: 369

Thank you for your reply

the weird thing is, my little block is an IAnimatedMesh.

setVertexColors() only accepts IMesh as an argument.

So how on earth do I load a model as an IMesh anyway, when getMesh() only ever returns IAnimatedMesh :P

and an IAnimatedMesh isn't even derived from an IMesh, so ...
by FyShu^
Sun May 27, 2007 2:13 pm
Forum: Beginners Help
Topic: Coloured cubes
Replies: 4
Views: 369

Coloured cubes

Hello!!
As you can see, I'm really new to Irrlicht, and fairly new to C++, in fact, yet not new to programming.

I'm trying to make a 3D Tetris game with irrlicht, something simple to start me off, ya know :)

So, for Tetris, obviously I need coloured blocks. I have my own funky beveled block I ...