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.

DarkBASIC Discussion / need help with animated textures

Author
Message
dance dreemer
22
Years of Service
User Offline
Joined: 24th Jan 2003
Location: cyber space
Posted: 29th Jul 2004 01:59
hi i was just wondering if any one could help me with my texture code

what i want to do is make an animated texture on an object and move/rotate the object aswell i have writen some code witch dose this but my problem is it dosent move/rotate smoothly i know the reason why it dose this but cant figure out a way round it ..

plz take a look..c at my code and please post if you have any helpfull comments to point me in the right direction.. meny thanx in advance

dancedreemer..

if tired()=1 then goto bed
dance dreemer
22
Years of Service
User Offline
Joined: 24th Jan 2003
Location: cyber space
Posted: 29th Jul 2004 02:08
btw.. im useing dbc v 1.13 enhanced..

sorry for the double post..


dancedreemer..

if tired()=1 then goto bed
scout
20
Years of Service
User Offline
Joined: 27th Jul 2004
Location:
Posted: 29th Jul 2004 16:11
try something like that:


but maybe ur images are the problem... how big are they?

hope i helped
scout
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 29th Jul 2004 16:41
Depending on how complex your objects are you may be able to just make a big texture strip and scroll it.

Crazy Donut Productions, Current Project: Project Starbuks
Sony stole our name!
AsriCE
22
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Brunei
Posted: 30th Jul 2004 01:36
Yea, scrolling is better(I think?). Because from my sense of logic, scrolling UV data is just changing the UV coordinates of the object, whilst "Texture Object" is actually "switching" textures of the object which involves releasing and assigning resources. So it tends to consume more memory. But this is just my understanding though, please do correct me if my statement here is false

AsriCE Crew,
- Adi

There's only one hope.
dance dreemer
22
Years of Service
User Offline
Joined: 24th Jan 2003
Location: cyber space
Posted: 2nd Aug 2004 00:26
wow!! thanx peeps never thourgt of doing any of that ...

scout thanx m8 that was exeactley what i was after

you,ve all been a great help thanx v mutch ...

now.. off to code my into sequence ..

thanx again ppl ..

dancedreemer..

if tired()=1 then goto bed

Login to post a reply

Server time is: 2025-05-25 16:24:22
Your offset time is: 2025-05-25 16:24:22