2 registered members (AndrewAMD, dpn),
1,328
guests, and 10
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: [Plugin] Import von 2. UVMap / Import of 2nd U
[Re: fogman]
#119635
05/08/07 19:06
05/08/07 19:06
|
Joined: May 2002
Posts: 7,441
ventilator
Senior Expert
|
Senior Expert
Joined: May 2002
Posts: 7,441
|
Quote:
Oh!! Sorry vent, I thought I got back to you via e-mail -- yeah! I can fly around with it now, works great
i got your mail but i thought it looks stupid if i ignore your post here.
Quote:
$$$ btw everyone who said they'd pitch in should pony up now that vent has delivered the goods $$$
i think it still would make sense to stay in beta for a while. there isn't even a final 3dgs version that can run it.
after some more beta testing the sponsors of this thread could do their payment and then i will release the unlimited plugin for everyone. i hope this works out. otherwise i will have to think of something else...
every sponsor could get mentioned in the readme (with link and banner if wanted) and the ones whose payment was above average maybe could also get the source. what do you think?
Quote:
It crashes on my machine (on shutdown). Maybe it´s a WinVista problem.
are you sure you used the version of the second download? hm... anyone else with that problem on vista? does it still happen for anyone on xp?
|
|
|
Re: [Plugin] Import von 2. UVMap / Import of 2nd U
[Re: JetpackMonkey]
#119637
05/08/07 20:07
05/08/07 20:07
|
Joined: Apr 2005
Posts: 4,506 Germany
fogman
Expert
|
Expert
Joined: Apr 2005
Posts: 4,506
Germany
|
I apologize, I´ve used the old version. It works without crash.
no science involved
|
|
|
Re: [Plugin] Import von 2. UVMap / Import of 2nd U
[Re: ventilator]
#119639
05/09/07 07:16
05/09/07 07:16
|
Joined: Aug 2001
Posts: 2,320 Alberta, Canada
William
Expert
|
Expert
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
|
Quote:
after some more beta testing the sponsors of this thread could do their payment and then i will release the unlimited plugin. i hope this works out. otherwise i will have to think of something else...
This should be fine. Just send me an PM with your Paypal. I'd be willing to pay right now, as currently, I'm limited by the poly limit and the error messages are quite annoying.
|
|
|
Re: [Plugin] Import von 2. UVMap / Import of 2nd U
[Re: William]
#119640
05/09/07 18:58
05/09/07 18:58
|
Joined: May 2002
Posts: 7,441
ventilator
Senior Expert
|
Senior Expert
Joined: May 2002
Posts: 7,441
|
here is a code snippet which cycles through all entities of a level and applies a light map if the "_lm" files exist for the entity. i haven't tested it yet. it's just an idea... Code:
// example 3 function file_exists(filename) { var filehandle; filehandle = file_open_read(filename); if(filehandle) { file_close(filehandle); return(1); } else { return(0); } }
string tempstring1; string tempstring2; material* tempmaterial; entity* tempentity;
function applylightmaps() { you = ent_next(0); while(you != 0) { str_for_entfile(tempstring1, you); str_trunc(tempstring1, 4); str_cpy(tempstring2, tempstring1); str_cat(tempstring1, "_lm.mdl"); str_cat(tempstring2, "_lm.dds"); if(file_exists(tempstring1) && file_exists(tempstring2)) { you.skill100 = mtl_create(); // i guess they should be deleted again when changing the level tempmaterial = you.skill100; tempmaterial.effect = mtl_lightmap.effect; tempmaterial.skin1 = bmap_create(tempstring2); // i guess they should be deleted again when changing the level you.material = tempmaterial; tempentity = ent_create(tempstring1, nullvector, 0); ent_loadseconduvset(you, tempentity); ent_remove(tempentity); } you = ent_next(you); } }
i thought some more about payment. it's kind of unfair if not everyone pays the same amount. i will just sell the plugin individually for 20€. ... i also found out that vec_for_mesh()/vec_to_mesh() won't work anymore with a replaced mesh (but ent_vertices(), vec_for_vertex(),... still work). there is nothing i can do about it but i think it's no big issue since for a light mapped mesh modifications wouldn't make much sense anyway since the lighting got done for the unmodified mesh and wouldn't be correct anymore. if you absolutely need to modify the mesh you could do the modifications to both models before you use ent_loadseconduvset().
|
|
|
Re: [Plugin] Import von 2. UVMap / Import of 2nd U
[Re: ventilator]
#119641
05/09/07 21:14
05/09/07 21:14
|
Joined: Sep 2003
Posts: 5,900 Bielefeld, Germany
Pappenheimer
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
|
I enjoy every picture of the results of this tool! I still don't wanna use the last beta, but I am amazed by your tool! Great job! A question came to my mind: what about the framerates? Did anyone compare it to similar maps (although it is anyhow not comparable), maybe to a multitextured terrain? Are the shown levels made of a single model? What about different models with different lightmaps in the same level?
|
|
|
Re: [Plugin] Import von 2. UVMap / Import of 2nd U
[Re: ventilator]
#119643
05/09/07 21:27
05/09/07 21:27
|
Joined: Sep 2003
Posts: 5,900 Bielefeld, Germany
Pappenheimer
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
|
Wonderful! Does anybody have other landscapes or different moods and lighting of the same landscape to show? Just for fun! It looks so nice!
|
|
|
|