Search found 31 matches

by iam13013
Tue Dec 09, 2008 9:30 pm
Forum: Beginners Help
Topic: 3d Orbit Rotation - Controllable
Replies: 3
Views: 485

I'm trying to allow the player to enter the vicinity of a planet, then the ship automatically goes into a sort of "Orbit Mode" but the player can still turn left or right and change the altitude. When the altitude is above a certain value, "Orbit Mode" will exit into free-flight mode. Matrices? I'll ...
by iam13013
Tue Dec 09, 2008 9:16 pm
Forum: Beginners Help
Topic: 3d Orbit Rotation - Controllable
Replies: 3
Views: 485

3d Orbit Rotation - Controllable

I'm trying to learn how to make an object rotate around another object as if it is in orbit. I'm not here begging for a snippet, I just want some direction in what I should search for the learn the actual math behind it. Any hints?
by iam13013
Wed Nov 26, 2008 1:51 am
Forum: Beginners Help
Topic: Inheritance Problem, Forward Class Declaration Not Helping
Replies: 3
Views: 339

CuteAlien wrote:...or a circular reference in the includes...
That was it...I guess...
For some reason I was including cGame.h (which included cMainMenu.h) in cGameState.h, so I took it out and....Problem Solved!

Thanks!
by iam13013
Wed Nov 26, 2008 1:26 am
Forum: Beginners Help
Topic: Inheritance Problem, Forward Class Declaration Not Helping
Replies: 3
Views: 339

Inheritance Problem, Forward Class Declaration Not Helping

I'm trying to implement an FSM of sorts, and I'm getting this error,

cmainmenu.h( 18 ) : error C2504: 'cGameState' : base class undefined

with this code:

cGameState.h

class cGameState
{
yada yada yada.....
};


cGameState.cpp

#include "cGameState.h"

void cGameState::yada yada yada ...
by iam13013
Sat Sep 09, 2006 4:00 pm
Forum: Beginners Help
Topic: SVN repository moved?
Replies: 2
Views: 296

Ok

Ok, thanks....
by iam13013
Sat Sep 09, 2006 1:16 am
Forum: Beginners Help
Topic: SVN repository moved?
Replies: 2
Views: 296

SVN repository moved?

I was just wondering if the subversion repository for Irrlicht had moved. I have never had any problem updating with subversion. I updated today, then accidentally deleted some files later... :oops: ...then when I tried to update again to restore those files, I got this error:

Error: PROPFIND ...
by iam13013
Mon Aug 21, 2006 9:03 pm
Forum: Beginners Help
Topic: Help with an Unhandled exception
Replies: 1
Views: 244

Help with an Unhandled exception

When I attempt to render my scene, it get this error :Unhandled exception at 0x0042771f in irrGame.exe: 0xC0000005: Access violation reading location 0x00000001.

This is the code that I am using:


//gameManager.h
#ifndef GAMEMANAGER_H
#define GAMEMANAGER_H

#include <iostream>
#include <irrlicht ...
by iam13013
Fri Mar 17, 2006 6:22 pm
Forum: Beginners Help
Topic: the insides of my models dont appear
Replies: 4
Views: 349

Flipping Normals in Anim8or

To do what vitek suggested using Anim8or, select the room then go to
Edit -> Flip Normals
That will make the outside of the room invisible, but the inside will work like you want it to.
by iam13013
Sat Feb 18, 2006 2:20 am
Forum: Beginners Help
Topic: Setting up a GUI (Please Read Before Flaming)
Replies: 9
Views: 954

I'm not sure if this is exactly what you want, but this is the way I tackled that particular problem.

I have an int called gameState. Each state means a different thing, for example:
1 = Main Menu
2 = Play Game
3 = Pause Menu
4 = etc, etc, etc...

My main loop is setup like this:

while(device ...
by iam13013
Fri Feb 17, 2006 2:34 pm
Forum: Beginners Help
Topic: Tile-based map
Replies: 1
Views: 388

I suppose since you are adding new nodes, you are using billboards. Try using draw2DImage instead.
by iam13013
Wed Feb 15, 2006 9:49 pm
Forum: Beginners Help
Topic: Geme crashes...
Replies: 1
Views: 360

The problem was in your event receiver...

Change EventReceiver.h to
#include "headers.h"

class MyEventReceiver : public IEventReceiver
{
public:
bool keyEnter;
bool click;

virtual bool OnEvent(SEvent event)
{
if (event.EventType == irr::EET_KEY_INPUT_EVENT && !event.KeyInput.PressedDown ...
by iam13013
Mon Feb 13, 2006 7:26 am
Forum: Beginners Help
Topic: Per-Pixel Lighting Problem
Replies: 1
Views: 231

Per-Pixel Lighting Problem

I am trying to emplement per-pixel lighting on my cave model using the techniques shown in the example. However, when I try to run it I get the following error:

Error: Normal map renderer only supports vertices of type EVT_TANGENTS.

Is this a problem with the actual model, or is there a ...
by iam13013
Sat Jan 28, 2006 5:50 am
Forum: Beginners Help
Topic: Compiling the Irrlicht help
Replies: 10
Views: 2460

What files are missing?
by iam13013
Sat Jan 28, 2006 5:46 am
Forum: Beginners Help
Topic: Laser Gun Sight
Replies: 2
Views: 374

Laser Gun Sight

I'm trying to simulate a laser gun sight for my FPS. I tried using the method from the "Collision" example included with Irrlicht, but it sometimes sticks and it shakes alot. I was wondering if it was possible to do the same thing, just make it stay exactly in the center of the screen. I also need ...
by iam13013
Sat Jan 28, 2006 3:27 am
Forum: Beginners Help
Topic: *SOLVED* See through walls
Replies: 6
Views: 712

Well, I feel like an idiot...

I placed this code in my program
node->setMaterialFlag(EMF_ZBUFFER , false);
trying to find a way to make sure the gun was drawn on top of the walls. I placed it, then forgot about it.

I was looking over everything today and I saw it. I almost slapped myself. I removed it, re-compiled, and ...