Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
nochmal 2.UV-Map #124502
04/16/07 18:11
04/16/07 18:11
Joined: Sep 2005
Posts: 980
Aue, Sachsen, Germany
W
Wicht Offline OP
User
Wicht  Offline OP
User
W

Joined: Sep 2005
Posts: 980
Aue, Sachsen, Germany
Tagchen Herr Lotter ...

Darf man denn mit der 2.UV-Map für MDL's noch für A6 rechnen, oder wird dieses nur der A7 vorbehalten sein?

Re: nochmal 2.UV-Map [Re: Wicht] #124503
04/16/07 18:15
04/16/07 18:15
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Look at the beta page

ent_setmesh can be used to change the mesh of an entity, f.i. for adding lightmapping data.

- its A7 only

Re: nochmal 2.UV-Map [Re: HeelX] #124504
04/16/07 18:19
04/16/07 18:19
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
i think this just means that accessing level geometry (using NULL instead of an entity pointer) will be for a7 only.

i also hope ent_setmesh() will be in the last a6 version. my plugin for loading light map uvs is almost done. i am just waiting for ent_setmesh().

...and this would be nice.

Re: nochmal 2.UV-Map [Re: ventilator] #124505
04/17/07 12:49
04/17/07 12:49
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
ent_setmesh is an A6 function.

Calculating the UV position of a hit point makes a lot of sense, and needs to be anyway to be available for the decal system. It's nontrivial, though (although there are DX functions for this), and I'm not sure in this case if this will make it still in A6.

Re: nochmal 2.UV-Map [Re: jcl] #124506
04/17/07 12:57
04/17/07 12:57
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
Quote:

ent_setmesh is an A6 function.


great!

Quote:

Calculating the UV position of a hit point makes a lot of sense, and needs to be anyway to be available for the decal system. It's nontrivial, though (although there are DX functions for this), and I'm not sure in this case if this will make it still in A6.


i thought this just is a matter of barycentric coordinates and you already do this calculation somewhere? or how do you get tex_light?

Re: nochmal 2.UV-Map [Re: ventilator] #124507
04/17/07 13:04
04/17/07 13:04
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Exactly, it's a matter of barycentric coordinates; unfortunately some required data for this - like the hit triangle - is not available within the trace scope. So we need to modify the internal data structure first, that's why it's non-trivial and must wait until the decal system implementation. But it's doable, of course.


Moderated by  old_bill, Tobias 

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