Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (degenerate_762), 1,098 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Jump from A7 to A8 Animated Wad Textures #471300
02/27/18 11:33
02/27/18 11:33
Joined: Feb 2011
Posts: 124
Germany Nrw Herford
HenWoll Offline OP
Member
HenWoll  Offline OP
Member

Joined: Feb 2011
Posts: 124
Germany Nrw Herford
I am only now noticed that this feature is no longer available in the a8.in the texture manager this is still visible but not in the project.

is there an alternative for that?

Re: Jump from A7 to A8 Animated Wad Textures [Re: HenWoll] #471303
02/27/18 16:24
02/27/18 16:24
Joined: Aug 2003
Posts: 118
Deutschland
E
Ezzett Offline
Member
Ezzett  Offline
Member
E

Joined: Aug 2003
Posts: 118
Deutschland
Doing it with the help of a shader is possible.

You can use the turbulence.fx effect, which is included in the code folder.

On Shadertoy you can find a fully implemented shader which does this liquid effect:
https://www.shadertoy.com/view/MsKXzD

You only need to translate the parts of the code you need from GLSL to HLSL.

Re: Jump from A7 to A8 Animated Wad Textures [Re: Ezzett] #471307
02/27/18 16:52
02/27/18 16:52
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
For animated textures that consist of multiple frames you could either of course use sprites/ models instead, or manipulate the bitmap yourself:
Grab a pointer to the level texture with
bmap_for_texture(STRING* name),
then write into the texture using bmap_blit, bmap_process, panel.target_map or bmap_rendertarget and draw_quad or something like that. Whatever is more performant.

EDIT: Or just with a regular shader and pass your texture using the _bmap feature or entSkin1, if that works.

Last edited by Superku; 02/27/18 16:53.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Jump from A7 to A8 Animated Wad Textures [Re: Superku] #471309
02/27/18 17:54
02/27/18 17:54
Joined: Oct 2008
Posts: 679
Germany
Ayumi Offline
User
Ayumi  Offline
User

Joined: Oct 2008
Posts: 679
Germany


- no "Create Meshes" flag
- no texture flags

and it works

EDIT:
+0Name
+1Name
..animated textures are the same but just with no "Create Meshes" flag

Last edited by Ayumi; 02/27/18 18:06.

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