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 DBPro Corner / colourmaps.......

Author
Message
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 27th Dec 2004 23:33
how do u get the colour values from every pixel on an image and then somehow use these values to texture a matrix e.g. if the colour is yellow at pixel 10x18, so it textures that tile with sand

"Well, if he dies, it'll teach him not to do it again." - Me
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 28th Dec 2004 05:29
it sounds like you need to detect each pixels' color(using point is slow but simple) and then convert them into matrix textures. here is an example, if there is anything you dont understand just post here again.



hope this helps

p.s. you will need the attatchments to run it properly

Part of solving the problem is actually noticing that the problem is there in the first place

Attachments

Login to view attachments
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 30th Dec 2004 01:02
nup, wont work, but i dont use DBPro so thats probably why

"Well, if he dies, it'll teach him not to do it again." - Me

Login to post a reply

Server time is: 2024-09-23 08:24:59
Your offset time is: 2024-09-23 08:24:59