using jit.gl.model instead of paintoval

Feb 1, 2010 at 12:08am

using jit.gl.model instead of paintoval

Hi, I am new at this, and I have a basic question that I am hoping someone can help me with. We are doing a project in which there is a paintoval object floating on the screen, and using colortracking, the user is able to bat the paintoval object around, creating sound and background color changing to show feedback. So my question is this:

Is there a way to replace the paintoval object with a simple 3d .obj of a ball using jit.gl.model? I have exhausted all of my knowledge on the subject to no avail. Any help would be much appreciated.

#48148
Feb 1, 2010 at 1:06pm

Yes, but since you mention paintoval it might mean that you’re using jit.lcd to do the drawing.
If you don’t need anything fancy, perhaps you can stick with jit.lcd and use a prerendered image of a sphere(check p images in jit.lcd help patch), but I would highly recommend investing some time in OpenGL if you plan to continue doing stuff like this.

To use any of the jit.gl.* objects, you need to properly setup a patch first, and then figure out a nice way to map tracked coordinates to opengl coordinates.

Please have a look at jit.gl.gridshape help patch for basic opengl scene example, read the relevant Jitter tutorials and a cook few Andrew Bensons delicious recipes.

#173155

You must be logged in to reply to this topic.