howto point – vector in 3d

Feb 10, 2009 at 5:38pm

howto point – vector in 3d

Hello i’m a max user but a newbie in jitter, i can see many interesting things, but i cannot find an easy way of drawing a point in a specific position in a 3d space, same for a vector..
Have the feeling open GL would be good but cannot find a specific object for a point or line…
I know it has to be super easy..
Waiting for your suggestions guys
Alberto

#42226
Feb 10, 2009 at 6:33pm

try jit.gl.sketch. See the help for details about drawing specific shapes.
wes

On Tue, Feb 10, 2009 at 9:38 AM, alberto novello wrote:
>
> Hello i’m a max user but a newbie in jitter, i can see many interesting things, but i cannot find an easy way of drawing a point in a specific position in a 3d space, same for a vector..
> Have the feeling open GL would be good but cannot find a specific object for a point or line…
> I know it has to be super easy..
> Waiting for your suggestions guys
> Alberto
>

#151090
Feb 10, 2009 at 6:46pm

to draw a point in 3d space you can use the jit.gl.mesh object. see its help
file for usage. have fun

On Tue, Feb 10, 2009 at 9:38 AM, alberto novello wrote:

>
> Hello i’m a max user but a newbie in jitter, i can see many interesting
> things, but i cannot find an easy way of drawing a point in a specific
> position in a 3d space, same for a vector..
> Have the feeling open GL would be good but cannot find a specific object
> for a point or line…
> I know it has to be super easy..
> Waiting for your suggestions guys
> Alberto
>

#151091
Feb 10, 2009 at 7:11pm

seconded, gl.sketch range from crayon doodeling to oil painting

On Tue, Feb 10, 2009 at 10:33 AM, Wesley Smith wrote:

> try jit.gl.sketch. See the help for details about drawing specific shapes.
> wes
>
> On Tue, Feb 10, 2009 at 9:38 AM, alberto novello
> wrote:
> >
> > Hello i’m a max user but a newbie in jitter, i can see many interesting
> things, but i cannot find an easy way of drawing a point in a specific
> position in a 3d space, same for a vector..
> > Have the feeling open GL would be good but cannot find a specific object
> for a point or line…
> > I know it has to be super easy..
> > Waiting for your suggestions guys
> > Alberto
> >
>

#151092
Feb 10, 2009 at 7:38pm

ok nice, i checked and it is very simple. Maybe i can ask another detail… ;) I try moving my point to follow some music signal, e.g., a sinusoid. How can i move it? Should i erase and redraw it every frame or there is a better way in open GL?
Cheers
A

#151093
Feb 10, 2009 at 7:44pm

with sketch yes, you have to erase and rebuild the drawing commands.
If you’re drawing tons of lines, you’ll probably want tofigure out the
matrix math for generating lines that can then be drawn en mass with
jit.gl.mesh.

wes

On Tue, Feb 10, 2009 at 11:38 AM, alberto novello wrote:
>
> ok nice, i checked and it is very simple. Maybe i can ask another detail… ;) I try moving my point to follow some music signal, e.g., a sinusoid. How can i move it? Should i erase and redraw it every frame or there is a better way in open GL?
> Cheers
> A
>

#151094

You must be logged in to reply to this topic.