Search found 28 matches

by porkie
Wed Nov 23, 2005 9:06 am
Forum: Interactive 3d
Topic: Glove3d - Lame title, cool project
Replies: 13
Views: 8674

great thanks!
The project is now done, and we will present it for the customer tomorrow, so ill probably send it friday
by porkie
Thu Nov 17, 2005 10:29 am
Forum: Python
Topic: Cheking if keys are pressed
Replies: 1
Views: 1681

Cheking if keys are pressed

How can I check, in a sciptlinked script, if the shift/ctrl button is pressed??
by porkie
Thu Nov 17, 2005 10:04 am
Forum: Interactive 3d
Topic: Glove3d - Lame title, cool project
Replies: 13
Views: 8674

I'll post the whole project report (200-300 page pdf) if you want. The glove is quite easy to make if you have the Flock of Birds Sensor (http://www.ascension-tech.com/products/flockofbirds.php). Just a few wires connected to the parallell port :)
by porkie
Wed Nov 16, 2005 10:52 am
Forum: Interactive 3d
Topic: Glove3d - Lame title, cool project
Replies: 13
Views: 8674

Havent seen the P5 glove, is it related to the 5DT Dataglove? As our glove is custom made, the "hardware" side of the code might not be usefull to you, but the python scripts can probably be used quite directly. All you need is to output the position and rotation of the glove as a 4x4 matrix. I'll p...
by porkie
Tue Nov 15, 2005 5:41 pm
Forum: Python
Topic: Selected vertex
Replies: 9
Views: 4617

thanks man.
Yea, my e-mail is correct, i get teh same error too, must be something with the forum.
by porkie
Tue Nov 15, 2005 5:37 pm
Forum: Interactive 3d
Topic: Glove3d - Lame title, cool project
Replies: 13
Views: 8674

Glove3d - Lame title, cool project

I'm part of a team making an interface for a VR-glove with Blender, using python script. We are nearing completion of the project (School project). What you will be able to do is grab and move/rotate objects in 3D and also move/rotate the view both using the VR-glove. We wanted to implement manipula...
by porkie
Fri Nov 11, 2005 8:32 pm
Forum: Python
Topic: Selected vertex
Replies: 9
Views: 4617

yes, but this doesn make blender show that the vertex i selected!
by porkie
Wed Nov 09, 2005 7:09 pm
Forum: Python
Topic: Checking if a point is inside a bounding box
Replies: 2
Views: 1882

i actually already found a way, but thanks!
by porkie
Wed Nov 09, 2005 2:33 pm
Forum: Python
Topic: Checking if a point is inside a bounding box
Replies: 2
Views: 1882

Checking if a point is inside a bounding box

anyone know a fast (ie not calculation-heavy) way of doing this using the 8 vertices returned by Object's getBoundBox() method?
by porkie
Tue Nov 08, 2005 8:11 pm
Forum: Coding Blender
Topic: Setting redraw-timer
Replies: 5
Views: 3279

I'm sure someone will find that very useful, but as my project (school project) needs to be finished next wednesday, i doubt you'd make it ;) besides, this method works fine for my use.

Thanks for the info tho.
by porkie
Tue Nov 08, 2005 5:15 pm
Forum: Coding Blender
Topic: Setting redraw-timer
Replies: 5
Views: 3279

sure, but it works :)

I'm making an interface with a VR-glove, to enable modeling in Blender using the glove. Needed to run a script regularily to poll the glove for it's status.
by porkie
Tue Nov 08, 2005 2:12 pm
Forum: Coding Blender
Topic: Setting redraw-timer
Replies: 5
Views: 3279

actually, i just wanted to run the redraw faster so putting a redraw in the event-queue solved my problem:

Code: Select all

winid = Window.GetScreenInfo(Window.Types.VIEW3D)[0]['id']
Window.QAdd(winid,Draw.REDRAW,1,1)
(in case anyone were wondering how)
by porkie
Sun Nov 06, 2005 6:27 pm
Forum: Python
Topic: Selecting vertices
Replies: 5
Views: 3020

ah, hehe, of course, but how do i get Blender to update the view? Now the script is outputting 1, like i want it to, but the view in Blender makes it look like nothing is selected!
by porkie
Sun Nov 06, 2005 6:03 pm
Forum: Python
Topic: Selecting vertices
Replies: 5
Views: 3020

here is my code:

Code: Select all

Window.EditMode(1)
o.getData().verts[1].sel = 1
o.getData().update()
Window.EditMode(0)
print o.getData().verts[1].sel
o is my object here.

It prints '0' instead of the '1' i woud have expected.
by porkie
Sun Nov 06, 2005 5:53 pm
Forum: Python
Topic: Selected vertex
Replies: 9
Views: 4617

now, could i ask how you SET the selection of a vertex using a script?