Search found 71 matches

by Xharock
Thu May 25, 2006 2:54 pm
Forum: Beginners Help
Topic: ITexture is giving Access Violation Error
Replies: 23
Views: 642

Ahhh this is so annoying! I have created the device fine but it's still saying theres somethnig wrong with the line ITexture *BGTex = Blah;
by Xharock
Thu May 25, 2006 8:29 am
Forum: Beginners Help
Topic: ITexture is giving Access Violation Error
Replies: 23
Views: 642

OK basically I want to decalre the IrrlichtDevice *MainDevice in a header file using the extern keyword and then to define it inside a function in a .CPP file. I then want the device to be accessible to all other files that need it. However at the moment I'm having to re-define the MainDevice pointe...
by Xharock
Thu May 25, 2006 6:25 am
Forum: Beginners Help
Topic: ITexture is giving Access Violation Error
Replies: 23
Views: 642

I initialise the Devices and Drivers in a function called initSystems(). It's called before initMenu() but if I don't re-initialise them in the same source as the initMenu() function I get the Error Unresolved External blah error. If I have to initialise it in each source code that kid of defeats th...
by Xharock
Wed May 24, 2006 7:53 pm
Forum: Beginners Help
Topic: ITexture is giving Access Violation Error
Replies: 23
Views: 642

ITexture is giving Access Violation Error

OK so I want to load a texture and display it on the screen. In a header file I have the following line: //Background extern ITexture *BGTex; extern IGUIImage *BG; This throws up no errors and is OK. It is the following line in a .CPP file that gives me the error. ITexture *BGTex = Driver->getTextur...
by Xharock
Mon May 22, 2006 6:53 am
Forum: Beginners Help
Topic: Really basic Irrlicht help
Replies: 5
Views: 656

node->setVisible(false)

That will hide your node.
by Xharock
Mon May 22, 2006 6:36 am
Forum: Beginners Help
Topic: Wide Character String conversion strangeness
Replies: 4
Views: 272

Didn't work. Still gives me a load of gobbledeegook. I am having to put two strings together in order to get the full path and file name. The user inputs them separatly and my program i suposed to put them together and use the file to create a heightmap. I changed the character arrays to stringc's b...
by Xharock
Sun May 21, 2006 7:16 pm
Forum: Beginners Help
Topic: Wide Character String conversion strangeness
Replies: 4
Views: 272

Yeah this is really annoying I can't load anything from input from an editbox... which is kinda crucial to my project.
by Xharock
Sun May 21, 2006 3:38 pm
Forum: Beginners Help
Topic: load animations?
Replies: 2
Views: 190

MD2 works nicely especially if you're using Milkshape. If you're using 3DS Max you can use the Pandasoft .X exporter.
by Xharock
Sun May 21, 2006 2:26 pm
Forum: Beginners Help
Topic: Wide Character String conversion strangeness
Replies: 4
Views: 272

Wide Character String conversion strangeness

I have made a dialog box in which the user can enter the path and name of the heightmap file they wish to open which will then be used to generate a terrain. Of course the text from the editbox is a wide character string whereas the parameter for addTerrainSceneNode needs a const char *. I thought I...
by Xharock
Sat May 20, 2006 6:38 pm
Forum: Beginners Help
Topic: Help with writing files!
Replies: 5
Views: 230

It all works now. I have finished my Saving/Loading routines. Thanks for helping.
by Xharock
Sat May 20, 2006 9:28 am
Forum: Beginners Help
Topic: Help with writing files!
Replies: 5
Views: 230

You are indeed mistaken. But you learn something new everyday :D

But thanks anyway.
by Xharock
Fri May 19, 2006 8:25 pm
Forum: Beginners Help
Topic: Help with writing files!
Replies: 5
Views: 230

Help with writing files!

OK I simply want to write (Create if it doesn't exist) to a file. I have tried using both IWriteFile *File; File->write(WriteBuffer, Size); and IFileSystem *File; File->createAndWriteFile(Filename, false); However neither of these methods seem to work and I don't want to have to resort to using C++ ...
by Xharock
Fri May 19, 2006 6:16 pm
Forum: Beginners Help
Topic: Creating a Terrain in 3D-Max
Replies: 4
Views: 244

You wouldn't happen to have the reflection material type setup would you?
by Xharock
Fri May 19, 2006 6:15 pm
Forum: Beginners Help
Topic: Scene Selection
Replies: 2
Views: 139

Why not just have s SceneNode for Violet Teapot and one for Green Teapot.
by Xharock
Fri May 19, 2006 2:40 pm
Forum: Beginners Help
Topic: I'm not a beginner but... where the frik is the setting...?
Replies: 8
Views: 724

bool irr::video::SMaterial::AnisotropicFilter Is anisotropic filtering enabled? Default: false. In Irrlicht you can use anisotropic texture filtering in conjunction with bilinear or trilinear texture filtering to improve rendering results. Primitives will look less blurry with this flag switched on...