Search found 14 matches

by jeromegz
Wed May 08, 2013 3:37 pm
Forum: Beginners Help
Topic: Creating editor which uses Irrlicht render
Replies: 7
Views: 989

Re: Creating editor which uses Irrlicht render

Hi ; i have a little problem on compiling irrlicht + wxdevcpp editor ( a good editor for GUI ) . I have done all the code to work with wxdevcpp and irrlicht but it remain this error . Can someone fix it ? 67 C:\wDev-Cpp\monprojetFrm.cpp:104 invalid conversion from 'irr::s32 {aka int}' to 'void*' [-f...
by jeromegz
Wed Sep 08, 2010 9:11 am
Forum: Code Snippets
Topic: Anaglyph rendering.
Replies: 28
Views: 31876

the link dosn'nt work the mac code is scene::ICameraSceneNode* pAnaglyphCamera, video::IVideoDriver* driver, scene::ISceneManager* smgr , video::SColor backgroundColor, float eyeDist = 0.01, bool endScene= true so you need bacjgroung color, eyedist and endscene (i try this on pc : os::Timer::getTime...
by jeromegz
Thu Sep 02, 2010 12:43 pm
Forum: Code Snippets
Topic: calculate angles between two vectors
Replies: 9
Views: 6459

sqrt (vec2.X * vec2.X + vec2.Y * vec2.Y + vec2.Z * vec2.Z); use fsqrt instead : double fSqrt (double y) {//no q3 or lemont code, read double x, z, tempf; unsigned long *tfptr = ((unsigned long *)&tempf) + 1; tempf = y; *tfptr = (0xbfcdd90a - *tfptr)>>1; /* estimate of 1/sqrt(y) */ x = tempf; z =...
by jeromegz
Thu Sep 02, 2010 10:20 am
Forum: Off-topic
Topic: 3D audio class.
Replies: 22
Views: 10276

float distance = sqrt(pow(abs(px-sx),2)+pow(abs(pz-sz),2)); put this before double fSqrt (double y) {//copyright :see below (this is not lemont //or q3) double x, z, tempf; unsigned long *tfptr = ((unsigned long *)&tempf) + 1; tempf = y; *tfptr = (0xbfcdd90a - *tfptr)>>1; /* estimate of 1/sqrt(y...
by jeromegz
Tue Aug 31, 2010 12:30 pm
Forum: Code Snippets
Topic: Per Face Culling
Replies: 42
Views: 19057

yes , very good :)
by jeromegz
Mon Aug 30, 2010 8:45 pm
Forum: Code Snippets
Topic: Per Face Culling
Replies: 42
Views: 19057

SUPER !!! you can use my lod for make low poly distant planets , and do a fast complete solar system , like celestia : you can make a complete solar system with multiple lod . http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=231595#231595 http://www.alsathor.web44.net/a/r.png result by nvidia ...
by jeromegz
Mon Aug 30, 2010 4:14 pm
Forum: Code Snippets
Topic: ultra fast lod
Replies: 0
Views: 2350

ultra fast lod

hi everybody , i try to make a lod scenenode : here is the orgininal paper for implement fast sqrt http://www.azillionmonkeys.com/qed/sqroot.html (Paul Hsieh's release as free licence code ) For calculate LOd, you need adapt formula distance = sqrt(pow (x2-x1)+pow(y2-y2)) // you can add z2-z1 ok , n...
by jeromegz
Sat Jun 05, 2010 11:03 am
Forum: Everything 2d/3d Graphics
Topic: Occlusion culling
Replies: 25
Views: 12145

i have also work for an lod in irrlicht the main idea is int lenght_ = 500; while() if (camera->getpos() > objet->getpos()+ lenght)// dont work likle this , you may have getpos().X so multiply condition by 2 or 3 like: camera->getpos().X > objet->getpos().X+ lenght || camera->getpos().Z > objet->get...
by jeromegz
Mon Nov 23, 2009 11:38 am
Forum: Code Snippets
Topic: Play avi's on BillBoardNode w/ help of opencv lib
Replies: 13
Views: 11890

no

hi all i am french, sorry for bad english: i have tried with : devcpp _latest version (4.9...) irrlicht 1.3.1 opencv 1.0 work with it and i think that the code support an newer version of irrlicht but i have no try , but now we are at the version 6 of irrlicht , but irrlichr have a lot of change sin...
by jeromegz
Wed Feb 04, 2009 2:46 pm
Forum: Beginners Help
Topic: HOW TO PLAY A VIDEO ????
Replies: 2
Views: 793

HOW TO PLAY A VIDEO ????

imagine a game without cinematique ?.But avi is not open and it is "propriétaire".How to display a movie ? you have 3 choice 1) pay royalties 2) construct your own movie library (with a little help of libtheora or ogm format , ogg) -> very good choice , i plan a library but not today 3) pl...
by jeromegz
Mon Aug 04, 2008 8:09 pm
Forum: Beginners Help
Topic: Embedding .EXE file onto .HTML page
Replies: 12
Views: 896

incredible :D !!! (and sorry :oops: for the all)
by jeromegz
Sun Aug 03, 2008 12:45 pm
Forum: Beginners Help
Topic: Embedding .EXE file onto .HTML page
Replies: 12
Views: 896

i am not sure but if you insert in a HTML balise this < src = "ftp/monapplication.exe" > you can load the application directly , but if you want to play in the navigator, you must code the application in FLASH ,or javascript or other languages support by firefox or iexplorer exemple fps in...
by jeromegz
Sun Aug 03, 2008 12:29 pm
Forum: Beginners Help
Topic: ENVIRRONEMENT,LEVEL EDITOR,DEVELOPPEMENT PROCESS
Replies: 2
Views: 274

thanks a lot for your reply ; i plan to use XML for

IA
Camera motion (quick scene )
location of the objets
sound location

the executable must be < 1MO and the ressources are crypted with moderns crypt application
by jeromegz
Sat Aug 02, 2008 11:00 am
Forum: Beginners Help
Topic: ENVIRRONEMENT,LEVEL EDITOR,DEVELOPPEMENT PROCESS
Replies: 2
Views: 274

ENVIRRONEMENT,LEVEL EDITOR,DEVELOPPEMENT PROCESS

hello (bonjour) all, i have a big question : 1)when you add a carater or a door to a level; how to know exactly where you must put the caracter/ objet / item (coord_x, coord_y, coord_z)? 2)did the irlicht level editor work with irrlicht coordinates ? 3)how to positionnate the camera in the 3d world ...