Search found 44 matches

by L o
Tue Jan 05, 2010 8:52 pm
Forum: Beginners Help
Topic: Simple problem with key pressed event
Replies: 5
Views: 518

Simple problem with key pressed event

Hi, I have a problem catching the key pressed event. My code: class GameplayReceiver : public IEventReceiver { //... bool OnEvent(const SEvent& event) { if(event.EventType == irr::EET_KEY_INPUT_EVENT) { if(event.KeyInput.PressedDown && event.KeyInput.Key == KEY_KEY_A) puts("A PRESSE...
by L o
Tue Oct 27, 2009 5:44 pm
Forum: Beginners Help
Topic: Sharing Irrlich vectors with Bullet
Replies: 3
Views: 638

Sharing Irrlich vectors with Bullet

Hi, I have 2 questions to people who might have experience with Irrlicht and the Bullet Physics Engine (http://www.bulletphysics.com/). I am writing a game with some friends, where the user is driving a spaceship, which is displayed with irrlicht. Now, we decided to let the Bullet physics engine do ...
by L o
Fri Jul 31, 2009 2:45 pm
Forum: Beginners Help
Topic: Extra Meshbuffers for different lighting?
Replies: 3
Views: 212

Thanks for your quick response. Yeah, I think you got me wrong. Let's say we have three faces, all same texture: face1 face2 face3 tex1 tex1 tex1 default brightness def. brightness special brightness value (!) Now do I need one meshbuffer for face1 and face2 and another meshbuffer for face 3? Or is ...
by L o
Thu Jul 30, 2009 8:31 pm
Forum: Beginners Help
Topic: Extra Meshbuffers for different lighting?
Replies: 3
Views: 212

Extra Meshbuffers for different lighting?

Hi, I am writing a level format loader. The same texture can have *different* lighting values on the two different faces. Now does it mean that, for two such faces I will need two different MeshBuffers two? Or is there a possibility to put them into the same meshbuffer? I am asking because my level ...
by L o
Wed May 20, 2009 9:19 pm
Forum: Beginners Help
Topic: SMeshBufferLightMap - How to use?
Replies: 3
Views: 345

So the only type of MeshBuffer I need is SMeshBufferLightMap, and the first vertex is for the texture and the second one for the lightmap?
by L o
Wed May 20, 2009 8:23 pm
Forum: Beginners Help
Topic: SMeshBufferLightMap - How to use?
Replies: 3
Views: 345

SMeshBufferLightMap - How to use?

Hi, Irrlicht says, SMeshBufferLightMap is a "Simple implementation of the IMeshBuffer interface with S3DVertex2TCoords vertices.". Now my file reader shall load lightmaps additional to my textures. Until Now, I used SMeshBuffer. Shall I store the textures in SMeshBufferLightMap, too, now? ...
by L o
Tue Apr 21, 2009 5:10 pm
Forum: Open Discussion and Dev Announcements
Topic: Portal Rendering - How far is Irrlicht?
Replies: 17
Views: 3302

Yep, the portal information is totally stored in the file. Now which classes do I have to inherit/edit to do portal rendering? Or do you think you can put it into irrlicht in... say max. 1 year?
by L o
Sat Apr 18, 2009 6:06 pm
Forum: Beginners Help
Topic: [solved] Minimum needs to display Mesh (Writing FileLoader)
Replies: 33
Views: 1461

Ah thank you, I had some wrong indices, now it works!
by L o
Sat Apr 18, 2009 6:04 pm
Forum: Open Discussion and Dev Announcements
Topic: Portal Rendering - How far is Irrlicht?
Replies: 17
Views: 3302

Yep, I asked for the second thing.

Thank you for the links, but most of the projects where dead or windows-only-binaries.

The portals are specified in the format I loaded. Could you please tell me just where to start with the rendering algorithm?
by L o
Fri Apr 17, 2009 6:00 pm
Forum: Open Discussion and Dev Announcements
Topic: Portal Rendering - How far is Irrlicht?
Replies: 17
Views: 3302

Portal Rendering - How far is Irrlicht?

Hey, I have heard of a project which lets Irrlicht use portal rendering: http://irrlicht.sourceforge.net/newsarchive.html The project was said to be unfinished in Nov 2003. How far is it now? Anyway, if I would like to do my own portal rendering, would two rooms need two meshbuffers in every case? D...
by L o
Sun Apr 12, 2009 5:00 pm
Forum: Beginners Help
Topic: [solved] Minimum needs to display Mesh (Writing FileLoader)
Replies: 33
Views: 1461

Would it help if I would read the verts into one seperate meshbuffer and then make meshbuffers for each texture?
by L o
Sun Apr 12, 2009 2:39 pm
Forum: Beginners Help
Topic: [solved] Minimum needs to display Mesh (Writing FileLoader)
Replies: 33
Views: 1461

If I put a variable into the C...MeshFileLoader class, is that variable still existing after the mesh is loaded? I.e. is the whole MeshFileLoader class deleted after loading?
by L o
Sat Apr 11, 2009 9:38 pm
Forum: Beginners Help
Topic: [solved] Minimum needs to display Mesh (Writing FileLoader)
Replies: 33
Views: 1461

No, definetely not. It would have throw()n an exception in this case.
by L o
Sat Apr 11, 2009 4:49 pm
Forum: Beginners Help
Topic: [solved] Minimum needs to display Mesh (Writing FileLoader)
Replies: 33
Views: 1461

Please Help Me :(
by L o
Thu Apr 09, 2009 10:09 pm
Forum: Beginners Help
Topic: [solved] Minimum needs to display Mesh (Writing FileLoader)
Replies: 33
Views: 1461

for(unsigned int count2=0; count2 < face_count; ++count2) { SMeshBuffer* face_buffer = new SMeshBuffer; ODFLFile->read(&connects, 2); short start_point, second_point, third_point; ODFLFile->read(&start_point, 2); ODFLFile->read(&second_point, 2); face_buffer->Vertices.push_back(odfl_ver...