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.

PureGDK / Make Bump Image

Author
Message
Hawkblood
8
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 12th Jul 2012 02:07
Here is the only method I can come up with since dbCreateImageFromMemblock (..) is broken:


There MUST be a faster way. I was looking at dbLockPixels ( ), but I don't see how to take the pointer it gives me and write to the bitmap directly.

The fastest code is the code never written.
Hawkblood
8
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 12th Jul 2012 22:38
Here is the faster way:

The pointer issue was figured out by Rudolpho.

Now, if we can just get dbCreateImageFromMemblock (..) to work.....

The fastest code is the code never written.

Login to post a reply

Server time is: 2018-07-20 09:43:13
Your offset time is: 2018-07-20 09:43:13