Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,040 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
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 Offline
Expert
xXxGuitar511  Offline
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: xXxGuitar511] #139852
07/17/07 17:51
07/17/07 17:51
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Render to texture is available with A7 Comm, so if you have A7 you can use it.
But I don´t think that a panel would be visible. They aren´t set to specific views.

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 Offline
Expert
xXxGuitar511  Offline
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: xXxGuitar511] #139854
09/07/07 06:41
09/07/07 06:41
Joined: Oct 2002
Posts: 361
Germany Cologne
hack-panther Offline
Senior Member
hack-panther  Offline
Senior Member

Joined: Oct 2002
Posts: 361
Germany Cologne

http://www.coniserver.net/ubbthreads/showflat.php/Cat/0/Number/783678/an/0/page/0/
JCL:
Quote:


Panels are 2D. Materials and effects can be used for 3D objects only. However, a render target for panels and texts is planned - see forecast. Then you can render it on a sprite and apply a material to that sprite.





Sounds usefull for a 3D Interface with panels...

Re: DOOM3 STYLE INTERFACE [Re: hack-panther] #139855
09/07/07 23:44
09/07/07 23:44
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
you'd just need to have several bmaps, and replace the bmaps in the entity to the oned you need, for the doom thing, that'd be quite hard to do though, I know what your talking about tho.

Re: DOOM3 STYLE INTERFACE [Re: lostclimate] #139856
09/08/07 09:25
09/08/07 09:25
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
hmmm, i would do it with a little shader...for a little model-seperated from the gun, it shouldn'T be too hard, this way:
you give 2 bmaps to the shader, one times a texture and one time a pic with numbers from 0-9.
in the pixelshader you have to chaeck the x position ad compare it wiht agiven one, to see which "part" is rendered and put the numbers there...
Hmm, i should give it a try

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 Offline
Serious User
Scorpion  Offline
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-RS

PS: 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 Offline
Serious User
Scorpion  Offline
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: Scorpion] #139859
09/15/07 16:18
09/15/07 16:18
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
apparently he doesnt anymore, but i could see this being helpful to someone sometime, I'd upload it to the wiki if I were you. Good help tho.

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 Offline
Serious User
BlueBeast  Offline
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
Page 2 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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