Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Animated texture on 3d plane

Author
Message
hoyoyo80
8
Years of Service
User Offline
Joined: 11th May 2016
Location:
Posted: 14th Jul 2016 02:36
Hi all,

I would to request for guide for 3d plane with animating texture with the purpose of applying characters tile set texture as in 2d sprite animation

Thanks.
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 14th Jul 2016 21:25 Edited at: 14th Jul 2016 21:31
Visit the last page of the community shader thread in the AppGameKit discussion board, there are snippets
https://forum.thegamecreators.com/thread/214598?page=2
with my board settings, its on the 2nd page

[/url]
hoyoyo80
8
Years of Service
User Offline
Joined: 11th May 2016
Location:
Posted: 16th Jul 2016 01:56
thanks..but i have no experience with shaders...where do i get and put the .ps and .vs file?
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 16th Jul 2016 18:58
Into your media folder, like any other assets you use. And you also load them like a picture, model or sound. There are more finished snippets in this thread, just download a bunch with included assets and look how the code behaves

[/url]
hoyoyo80
8
Years of Service
User Offline
Joined: 11th May 2016
Location:
Posted: 17th Jul 2016 02:35
Im too slow^^ just realized that the code it yours..hahha..dont work with my laptop with old nvidia but work on my desktop any restriction on texture usage?like resolution and size? anyway i can control the speed Thanks
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 17th Jul 2016 08:22
Quote: "any restriction on texture usage?like resolution and size?"

For billboard (animated texture on a plane), you should use :
- squared texture, power of two, like : 128*128,256*256,512*512...
It's needed for mobile and some Graphic card (PC) like my pc
AGK2 tier1 - http://www.dracaena-studio.com
hoyoyo80
8
Years of Service
User Offline
Joined: 11th May 2016
Location:
Posted: 19th Jul 2016 04:33 Edited at: 19th Jul 2016 04:43
Ok thanks..ill tried that and its work but again...can i control the speed of texture animation?

Edited:I got it
hoyoyo80
8
Years of Service
User Offline
Joined: 11th May 2016
Location:
Posted: 25th Jul 2016 05:38
Hi..is there any way to control the animation frame?Since im planning to use it like 2d charater animation...if possible thanks

Login to post a reply

Server time is: 2024-11-22 03:12:56
Your offset time is: 2024-11-22 03:12:56