Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to change sphere to image?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ricardo Brazileiro  
View profile  
 More options Jul 22 2012, 11:38 am
From: Ricardo Brazileiro <rbrazile...@gmail.com>
Date: Sun, 22 Jul 2012 08:38:01 -0700 (PDT)
Local: Sun, Jul 22 2012 11:38 am
Subject: [MotionCapture3D] How to change sphere to image?

Hi All,

How to change the sphere in:
void draw() {
for (Skeleton s: skels.values()) {
    fill(s.colors[0], s.colors[1], s.colors[2]);
    for (float[] j: s.allCoords) {
       pushMatrix();
        translate(j[0]*width, j[1]*height, -j[2]*300);
        *sphere(2 * ballSize/j[2]);*
        popMatrix();
       }
    }

}

to associated image in Skeleton parts?

the *handCoords* in class Skeleton has a x, y, z floats. How to integrate
an image item to show in draw().

any suggestions?

best from brazil

rbrz


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.