Search found 8 matches

by wiznoe
Wed Sep 10, 2008 3:30 am
Forum: Beginners Help
Topic: Converting ITexture to IImage
Replies: 1
Views: 161

Converting ITexture to IImage

Hi all, I have troble for this code: ITexture* renderTarget = driver->createRenderTargetTexture(dimension2d<s32>(100,100),0); driver->setRenderTarget(renderTarget); smgr->drawAll(); stringc imageFile; imageFile = "rumah_user/"; imageFile+=namaFileX; imageFile+=".jpg"; IImage* im ...
by wiznoe
Thu Aug 28, 2008 12:21 pm
Forum: Beginners Help
Topic: embeding data in .irr files
Replies: 3
Views: 173

embeding data in .irr files

hi all,
how to embed data such as level name, score, etc in .irr file?
Can I do that in irredit?
via smgr->saveScene()?
if there is away to do that, how to read them after file is saved?
by wiznoe
Wed Aug 13, 2008 11:46 am
Forum: Beginners Help
Topic: problem with working directory [solved]
Replies: 11
Views: 1304

Hi JP & Pera, sorry, maybe i'm stupid, but i can't change the working directory in my irrlicht app. This is my code : case EGET_FILE_SELECTED: { IFileSystem * m_FS = device->getFileSystem(); printf("\n#dir1:: %s",stringc(m_FS->getWorkingDirectory()).c_str()); IGUIFileOpenDialog* dialog...
by wiznoe
Wed Aug 13, 2008 8:07 am
Forum: Beginners Help
Topic: problem with working directory [solved]
Replies: 11
Views: 1304

Thanks a lot, i will try it.
:)
by wiznoe
Tue Aug 12, 2008 12:58 pm
Forum: Beginners Help
Topic: problem with working directory [solved]
Replies: 11
Views: 1304

Yeah, i ever do that, i know to set working direktory in irredit,
but when i open scene pass openfile dialog box, all the mesh in that scene (irr file) cannot load, any idea?
by wiznoe
Tue Aug 12, 2008 12:33 pm
Forum: Beginners Help
Topic: problem with working directory [solved]
Replies: 11
Views: 1304

problem with working directory [solved]

Hi all, i want to load a scene from directory, but cannot, in the console written like this : could not load mesh, because file could cot be opened: meshes/tipe21/house21.irr could not open file of texture: material/wood.bmp ... etc i think my problem on the working directory, like in the irredit, t...
by wiznoe
Tue Jun 24, 2008 10:21 am
Forum: Beginners Help
Topic: problem in loading scene with smgr->loadScene
Replies: 4
Views: 243

problem in loading scene

I’ve tried not adding any scene nodes and there were no error occurred. I don’t get your idea about “incorrectly initialised scene node”. How to fix it? So how can I load the scene, if I should not adding any scene? What if I say that mistake(s) on this line “smgr->loadScene("scenes/tipe45.irr&...
by wiznoe
Wed Jun 18, 2008 5:45 am
Forum: Beginners Help
Topic: problem in loading scene with smgr->loadScene
Replies: 4
Views: 243

problem in loading scene with smgr->loadScene

I have an error when i'm debug my program, this is my code: #include "preamble.h" using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; #pragma comment(lib, "Irrlicht.lib") int main() { //MyEventReceiver ...