Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 984 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 12 of 14 1 2 10 11 12 13 14
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 Offline
Senior Expert
ventilator  Offline
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: ventilator] #119636
05/08/07 19:56
05/08/07 19:56
Joined: Nov 2003
Posts: 1,659
San Francisco
JetpackMonkey Offline
Serious User
JetpackMonkey  Offline
Serious User

Joined: Nov 2003
Posts: 1,659
San Francisco
Me, I'm using the second version with Vista and have no problems, and no crash on closing acknex afterwards. The 2222 face model prevents me from re-building your demo mesh, though, but my own ones are under the limit and work well.

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
F
fogman Offline
Expert
fogman  Offline
Expert
F

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: fogman] #119638
05/08/07 20:17
05/08/07 20:17
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
buh... i am glad it works. it could have been really nasty if this had been some strange vista problem.

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 Offline
Expert
William  Offline
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.


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/
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 Offline
Senior Expert
ventilator  Offline
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 Offline
Senior Expert
Pappenheimer  Offline
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: Pappenheimer] #119642
05/09/07 21:19
05/09/07 21:19
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
the frame rates are good. light mapping is cheap.

the example level is one model with about 20000 faces and it runs with about 400fps on my gf6600.

i think for performance it would be better to split the level into chunks with less than 5000 faces. it's no problem to use different models with different light maps.

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 Offline
Senior Expert
Pappenheimer  Offline
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!

Re: [Plugin] Import von 2. UVMap / Import of 2nd U [Re: Pappenheimer] #119644
05/10/07 10:13
05/10/07 10:13
Joined: Nov 2003
Posts: 1,659
San Francisco
JetpackMonkey Offline
Serious User
JetpackMonkey  Offline
Serious User

Joined: Nov 2003
Posts: 1,659
San Francisco
Isn't it awesome? Behold!! We must build a shrine to it!

Those frame rates are fantastic, and the automatic lm loading code is definitely a step towards making level creation without hardcoding it (!!!)

Page 12 of 14 1 2 10 11 12 13 14

Moderated by  checkbutton, Inestical, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1