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.

2D All the way! / dword to rgb

Author
Message
UnSomething
21
Years of Service
User Offline
Joined: 13th Mar 2003
Location:
Posted: 13th Nov 2003 14:07
i just wanted to ask, how to convert the dword vaöue generated by point(x,y) to rgb value
thanks!
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 13th Nov 2003 15:01
Simple, use the RGBR/RGBG/RGBB functions to extract the colour components you want

UnSomething
21
Years of Service
User Offline
Joined: 13th Mar 2003
Location:
Posted: 14th Nov 2003 14:36
Thanks! got that matrix heightmap thing working now!

Login to post a reply

Server time is: 2024-05-08 06:35:00
Your offset time is: 2024-05-08 06:35:00