Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi everyone, i am currently giving irrEdit a try and find it a little bit unnatural to work with. Why are the paths to the textures stored relative to the exe and not to the .irr file, doesn't make sense to me... Setting the work directory is a bit odd, too... because suddenly the lights have no texture anymore and i have to copy IrrEdits textures/editor_defaults into my Project's directory... Additionally, everytime I reload my map... some of the objects don't have their lightmap applied. Infact, even though the lightmaps are correctly shown in IrrEdits Viewpoint, after I save the map and reload the .irr file, some of the lightmaps (3 of 5) are gone. They are not even shown in the materials panel after calculating them... (still even though correctly shown in the viewpoint). Finally I wasn't successfull to load my .irr file into an irrlicht application: "Unable to open scene file" It's a bit tough to figure out what I did wrong from such an error msg. Especially because I just started using IrrEdit. well, I hope this does not leaves the impression of being to much of a rant, it's just that I don't understand the Editor :) Thank you anyways for any replies |
||||
|
Hi, I explained a bit of the reason for path relative to the .exe in this FAQ entry: http://www.ambiera.com/irredit/faq.html#irr The lights only have textures in irrEdit, irrlicht doesn't have those lights. It's just for making it easier to place them in the editor. The problem with the lightmaps is strange, does it print any error messages? The 'unable to open scene file' might be because you are using an older irrlicht version (1.3 is to old as well), that's why there is a newer on included in irredit (in the source directory). I should have written this somewhere more clearly. |
||||
|
I agree with some of this... it would be a lot more useful to have the textures relative to the .irr file, thatway you can ship the file straight of to you game folder. |
||||
|
[quote=JPulham (Guest)]I agree with some of this... it would be a lot more useful to have the textures relative to the .irr file, thatway you can ship the file straight of to you game folder.[/quote] oops... didn't see the reply |
||||
|
Sorry for missing that FAQ entry, I mean... thats what FAQ's are for :P my bad Yeah I understood the light textures thingy, but what I meant was... When I set the working directory, IrrEdit looks for the default textures in the new working directory, too... that means you have an ugly yellow block for a light when the working directory is set to a different path than IrrEdit's... It's not that disturbing, just a little prestige thing |
||||
|
Hello again :) So I recompiled the engine with the new source code but the error remains the same. "Unable to open scene file: maps/testmap.irr" Furtheremore I played around with that lightmap thing, without success. I have 4 meshes: A ground texture (no terrain but self generated mesh) -> The material type is changed to lightmap_m4 and the lightmap is applied corretly 2 houses and a fireplace -> The material type remains solid even though the lightmap is applied in the viewpoint. When I reload the scene in IrrEdit though, the lightmap is gone this is wicked... |
||||
|
(Sorry for another reply, I created an account now) Also pls note in the first shot the #unsaved_lightmap1 texture which happens all the time... the ground mesh has a new folder ground1.dae.lightmaps created, but the other meshes are missing such things Edit: OOoohhhkay, the "Unable to load scene" Error was a dumb mistake of mine. I somehow changed the directory Visual C++ should run the debug file in... so the path to the files was wrong. shame on me :o Edit2: It seems that I am using this thread as a personal blog. I am awfully sorry for that... I don't want to give the impression that I am running away from every problem and post it in here,... Anyways, It appears the models in the above screenshots were to small (just a guess) I resaved all of them 10 times bigger and now IrrEdit produces some decent results. But there still is a "After Reload Scene Lightning Difference" Just after I calculate the lightmaps everything looks fine. But when I reload the file (or load it into my Irrlicht game) some of the faces - I believe the ones that are completely dark, but thats just a guess, too - are completely bright. Did anyone had similar problems? |
||||
|
Not a problem using this as your 'blog' :) thanks for the pictures. I didn't notice these problems yet, but I'll have a look into it. |
||||
|
|