|
|
|
|
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
Senior Expert
|
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: jcl]
#124506
04/17/07 12:57
04/17/07 12:57
|
Joined: May 2002
Posts: 7,441
ventilator
Senior Expert
|
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?
|
|
|
|
|
|
|