ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator Relative Paths
person icon
Nova
Guest
Quote
2007-05-19 17:29:33

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

person icon
niko
Moderator
Quote
2007-05-21 16:45:50

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.

person icon
JPulham
Guest
Quote
2007-05-23 18:20:59

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.

person icon
JPulham
Guest
Quote
2007-05-23 18:22:43

[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

person icon
Nova
Guest
Quote
2007-05-26 22:55:24

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

person icon
Nova
Guest
Quote
2007-05-27 11:34:01

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

embedded external image
🔎︎


embedded external image
🔎︎


this is wicked...

person icon
Nova755
Registered User
Quote
2007-05-27 11:38:37

(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"

embedded external image
🔎︎


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?

person icon
niko
Moderator
Quote
2007-05-28 11:29:07

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.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |