position object from bitmap data

View: New views
5 Messages — Rating Filter:   Alert me  

position object from bitmap data

by elkraneo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

its posibble to position a group of objects obtaining the information from a texture material ? im trying to make a planet, with dots positioned like a map...

something like
http://www.creativesunlimited.com/
...any advice ?

thx in advance

Re: position object from bitmap data

by zOrder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

just a quick idea:

first you could use the pixel values as coordinates

R value = x position
G value = y position
B value = z position

or you could loop through the pixels of you bitmap and add particles to your scene when your pixel has a special color value.

hope that helps

Christoph

elkraneo wrote:
its posibble to position a group of objects obtaining the information from a texture material ? im trying to make a planet, with dots positioned like a map...

something like
http://www.creativesunlimited.com/
...any advice ?

thx in advance

Re: position object from bitmap data

by elkraneo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yep im studing the
http://agit8.turbulent.ca/bwp/2007/12/29/pv3d-effects-branch-fun-with-video-and-3d-pixels/

that have a similar solution, but didnt catch it well yet, thx...
more advices ?



On Thu, Jul 17, 2008 at 6:32 PM, zOrder <christoph.henzelmann@...> wrote:

Hi,

just a quick idea:

first you could use the pixel values as coordinates

R value = x position
G value = y position
B value = z position

or you could loop through the pixels of you bitmap and add particles to your
scene when your pixel has a special color value.

hope that helps

Christoph


elkraneo wrote:
>
> its posibble to position a group of objects obtaining the information from
> a texture material ? im trying to make a planet, with dots positioned like
> a map...
>
> something like
> http://www.creativesunlimited.com/
> ...any advice ?
>
> thx in advance
>

--
View this message in context: http://www.nabble.com/position-object-from-bitmap-data-tp18508298p18512624.html
Sent from the Papervision3D mailing list archive at Nabble.com.


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



--
http://www.elkraneo.com
http://bannersdemierda.blogspot.com/

_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: position object from bitmap data

by elkraneo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

any help positoning objects trough getpixel ? any examples ?

Re: position object from bitmap data

by elkraneo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

well this is my code so far, the objective its to create a sphere of points where some points represent sea (or not visible at all) other land, and other interactive points where the camera has to lookAt when clicked (not implemented yet)...

at this moment the points of the sphere, and the kind of point its determined by an array,... any advices about implementing getpixel from bitmap data to populate this array ? or any solution that let me arrange the points following a draw (in this case a world map) ?

thx in advance....

PD about performance, experiences whit particles instead spheres ?

source:
elkraneo+mograph+v01.zip

edit: requires GreatWhite