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.

Code Snippets / edit object texture using memblocks

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 15th Dec 2003 18:51
It runs about 192fps for me. Use whatever bitmap you want

Left click to draw green pixesl, right click to draw yellow pixels.
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 15th Dec 2003 18:58
i get a "memblock position outside range" error if i click anywhere on screen, even on the object. it says line 48 i think


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 15th Dec 2003 19:19
is your image a square? the bitmap i used was 36x36

I get the error too if i use larger images. i'll try to see what it is.
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 13th Jan 2004 18:12
maybe changing thw width,height,depth position in the memblock would help



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 13th Jan 2004 22:12
Those positions are always the same for bitmaps. Honestly, I haven't been working on this since I posted it. It does what I needed it to do.

"eureka" - Archimedes

Login to post a reply

Server time is: 2024-11-24 00:45:19
Your offset time is: 2024-11-24 00:45:19