tri_strip drawing

Oct 7, 2007 at 11:28am

tri_strip drawing

Hello all.

I’ve made a little try-out patch for filling a matrix with coordinates using mouse input. (attached)

I was wondering how I can get rid of the first coordinate, 0. 0. 0., within this strategy…

I’m also curious on how other people would do this, filling a matrix vertex by vertex.

#34014
Oct 7, 2007 at 12:12pm

2 things:

1) change the name of the jit.gl.render in the javascript to ‘trifan’
instead of ‘collision’ or this patch doesn’t work.

2) if you don’t want to connect all of the vertices to 0 0 0 , where
should they start?

On Oct 7, 2007, at 7:28 AM, Brecht wrote:

> Hello all.
>
> I’ve made a little try-out patch for filling a matrix with
> coordinates using mouse input. (attached)
>
> I was wondering how I can get rid of the first coordinate, 0. 0.
> 0., within this strategy…
>
> I’m also curious on how other people would do this, filling a
> matrix vertex by vertex.
>
>

#114285
Oct 7, 2007 at 12:38pm

oops, remnant of the patch from vade where i took the screen_to_world
thing from.

Basically, the first vertex should be where you click for the first
time.
So, if the initial matrix could be 0 dimensional, it would work like
this I guess.

On 07 Oct 2007, at 14:12, joshua goldberg wrote:

> 2 things:
>
> 1) change the name of the jit.gl.render in the javascript to
> ‘trifan’ instead of ‘collision’ or this patch doesn’t work.
>
> 2) if you don’t want to connect all of the vertices to 0 0 0 ,
> where should they start?
>
>
> On Oct 7, 2007, at 7:28 AM, Brecht wrote:
>
>> Hello all.
>>
>> I’ve made a little try-out patch for filling a matrix with
>> coordinates using mouse input. (attached)
>>
>> I was wondering how I can get rid of the first coordinate, 0. 0.
>> 0., within this strategy…
>>
>> I’m also curious on how other people would do this, filling a
>> matrix vertex by vertex.
>>
>>
>>

______________________________________________
>> _
>

Brecht Debackere

http://www.autofasurer.net
M+32(0)498319302
F+32(0)70429559
Skype : Bdebackere
brecht@visualantics.net

#114286

You must be logged in to reply to this topic.