Search found 38 matches

by }{ermanssoN
Tue Sep 15, 2009 7:43 pm
Forum: Advanced Help
Topic: RendererServices, send an array [GLSL]
Replies: 1
Views: 367

RendererServices, send an array [GLSL]

Hello. I just started to play around with with glsl. I would like to know if it's possible to send an array to my vertex shader, eg: //.h c++ struct MyLight { SColorf color; vector3df pos; }; let's say I have an array with 2 MyLight's, can I send them to the shader. I know how to do it with Direct X...
by }{ermanssoN
Tue Aug 05, 2008 6:27 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Massive framework article
Replies: 2
Views: 2622

Yes, I'm going to to that some day.
by }{ermanssoN
Sat Aug 02, 2008 12:12 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Massive framework article
Replies: 2
Views: 2622

Massive framework article

Hello. I made a article abot how to make a irrlicht framwork, how to preform rtotation, handle buffered input and other usefull stuff for beginners. Pleas ceck iot out and give some feed back. Hope it will help some one. http://hermansson.sajt.org/ the page is uner construction...so everything won't...
by }{ermanssoN
Fri Aug 01, 2008 5:45 am
Forum: Bug reports
Topic: [no bug] drawLine3D bug
Replies: 3
Views: 1183

ahhh, itäs d3d style
by }{ermanssoN
Sun Jul 20, 2008 11:58 am
Forum: Beginners Help
Topic: Instancing
Replies: 27
Views: 2399

ok foregting to switch the u8 to u32 is kind of embaressing :S

But no I did not know that a u32 is faster than u8.

Why is it?? 32 is bigger than 8??
by }{ermanssoN
Sat Jul 19, 2008 6:09 pm
Forum: Beginners Help
Topic: Instancing
Replies: 27
Views: 2399

there is no error message, windows just complains that the application don't respond and i end it with the taskmanager. MAX_NUM_BOXPROJECTILES is set to 25, it starts and exits with out problem. if BOXPROJECTILES is sett to high, around 300 it's forces a crash. but i'l post the whole class: #ifndef ...
by }{ermanssoN
Sat Jul 19, 2008 6:03 pm
Forum: Open Discussion and Dev Announcements
Topic: Sugestion for the scenemanager
Replies: 5
Views: 958

The point is that it would be usefull...and you would get full controll... now the scenemanager controls in wich order and when stuff should be rendered, nothing you could do about it. what if you need to render something to a texture. If you have a dwarf in the scenmanager and only want the dwarf r...
by }{ermanssoN
Sat Jul 19, 2008 2:47 pm
Forum: Open Discussion and Dev Announcements
Topic: Sugestion for the scenemanager
Replies: 5
Views: 958

Sugestion for the scenemanager

Im quiet new ti the engine, I've learned gameprogramming on another engine create by my school. One thing that I can do with my engine in school that I can't do in irrlicht is to choose if the model i added to, in this case, the scenemanager should be rendered by the scenemanager or if it should be ...
by }{ermanssoN
Sat Jul 19, 2008 1:49 pm
Forum: Beginners Help
Topic: Instancing
Replies: 27
Views: 2399

Well, having a lot of nodes seems to be heavy. I used boxnodes as bullets. I started to make an array of 25 boxesfor just one player. for( u8 i = 0; i< MAX_NUM_BOXPROJECTILES; i++ ) { m_ppBoxProjectiles[ i ] = new SProjectile(); m_ppBoxProjectiles[ i ]->Direction = vector3df( 0.0f, 0.0f, 0.0f ); m_p...
by }{ermanssoN
Mon Jul 14, 2008 3:39 pm
Forum: Bug reports
Topic: [no bug] drawLine3D bug
Replies: 3
Views: 1183

[no bug] drawLine3D bug

void Application::Render( void ) { m_pVideoDriver->beginScene(true,true, SColor(127,127,127,255) ); RenderWindowCaption(); m_pSceneManager->drawAll(); m_pGUIEnviroment->drawAll(); m_pChatManager->Render(); m_pVideoDriver->draw3DLine( vector3df(0,-30,-500), vector3df(0,-30,500) ); m_pVideoDriver->en...
by }{ermanssoN
Sun Jul 13, 2008 3:20 pm
Forum: Beginners Help
Topic: load .bsp difference from irrlicht v.1.4 to v.1.41
Replies: 5
Views: 391

hhehe, just remembered that I didn't replace the old dll files, now it works.

Thanks anyway!
by }{ermanssoN
Sun Jul 13, 2008 2:38 pm
Forum: Beginners Help
Topic: load .bsp difference from irrlicht v.1.4 to v.1.41
Replies: 5
Views: 391

I wnt from version 1.4 to 1.41 addZipFileArchive() returns true m_pSceneManager is reference counted 1 and is valid. the error message Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling ...
by }{ermanssoN
Sun Jul 13, 2008 11:51 am
Forum: Beginners Help
Topic: load .bsp difference from irrlicht v.1.4 to v.1.41
Replies: 5
Views: 391

load .bsp difference from irrlicht v.1.4 to v.1.41

Hello. I jus updated to the newest version of irrlicht. Suddenly I couldn't load my Q3 map anymore. I use the map loaded in tutorial 2. tgis is my code m_pWorldManager = new WorldManager(); SWorld* pWorld = new SWorld(); m_pIrrDevice->getFileSystem()->addZipFileArchive("data/worlds/map-20kdm2.p...
by }{ermanssoN
Tue Jul 08, 2008 9:02 pm
Forum: Beginners Help
Topic: Instancing
Replies: 27
Views: 2399

Well went with haveing an arry of players. each player has a scene node wich i added thesame mesh to, did samething with projectiles. and it worked fine.

Very nice examples and answers, thats the best thing with opensource, there are lots of users that share knowledge, It's nice :)
by }{ermanssoN
Thu Jul 03, 2008 3:27 pm
Forum: Beginners Help
Topic: Instancing
Replies: 27
Views: 2399

I mean, what if you have an multiplayer game. 5 v s players and each player has a rocket launcher. First of all, if you can't instance a model you would have loaded 10 highpoly charcters wich has their own nodes. having 10 highpoly models in the same frame would draw much fps. and if those players h...