2 registered members (AndrewAMD, TipmyPip),
12,420
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: DOOM3 STYLE INTERFACE
[Re: Uhrwerk]
#139851
07/17/07 17:43
07/17/07 17:43
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
That technique requires the Pro version though (render to texture). My idea for that was, to create an additional view with a layer of -1 (visible, but hidden under the default view), using view_create(). Then you could create a panel or a scren entity, or whatever on that view. Then set the view.bmap = bmap_for_entity(my, 2);. where the is, will be the skin of the entity to render to...
xXxGuitar511 - Programmer
|
|
|
Re: DOOM3 STYLE INTERFACE
[Re: Slin]
#139853
07/17/07 18:10
07/17/07 18:10
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
Ah, hmm....
I thought about that, 'tis why I mentioned view entities. Well, maybe it'll be better to wait for it in A7...
xXxGuitar511 - Programmer
|
|
|
Re: DOOM3 STYLE INTERFACE
[Re: Scorpion]
#139857
09/08/07 16:28
09/08/07 16:28
|
Joined: Jan 2007
Posts: 1,619 Germany
Scorpion
Serious User
|
Serious User
Joined: Jan 2007
Posts: 1,619
Germany
|
ok, it's ready... The shader shows a number of a special position and scale on the skin. I made a little example where you can see how it works (press space) and i guess it will be easy for you to add it to a weapon. Download-RSPS: there are 2 small things that can be done better, but i donno how: 1. execute the function splitNbr() in the vs and not in the ps 2.(i donno if that slows down) in the function splitNbr() cut off all digits, before the one taht is needed example: 1234 -> 4 452 -> 2 would be nice if someone could help me how to solve this problems( the shader work, but slower then it have to)
Last edited by 5c0rp10n; 09/08/07 16:33.
|
|
|
Re: DOOM3 STYLE INTERFACE
[Re: Scorpion]
#139858
09/11/07 12:08
09/11/07 12:08
|
Joined: Jan 2007
Posts: 1,619 Germany
Scorpion
Serious User
|
Serious User
Joined: Jan 2007
Posts: 1,619
Germany
|
*bump* is every thread closed i write in? I wrote that shader and now no one needs it  ...
|
|
|
Re: DOOM3 STYLE INTERFACE
[Re: lostclimate]
#139860
10/10/07 00:18
10/10/07 00:18
|
Joined: Dec 2003
Posts: 1,220 Just down the road from Raven
BlueBeast
Serious User
|
Serious User
Joined: Dec 2003
Posts: 1,220
Just down the road from Raven
|
I didnt have time to read the whole thread, but i know Dennis (Helghast) had already done this on a gun, it was for my game, though we didnt use it. Sorry if this has been covered 
Gamestudio Pro 6.4 Pentium 4 3.0 GHz 800MHz BUS AtiRadeon 9800 pro 256Mb 21" Monitor 1 Gig DDR RAM 36 Gig RAPTOR SATA+ 120 Gig SATA SB Audigy 2 w/ 450 watt Logitech Z680 5.1 www.nordicepitaph.com
|
|
|
|