How to make make human mouse controls like blender?

If your topic doesn't fit anywhere else, put it here.

Moderator: joepal

Re: How to make make human mouse controls like blender?

Postby Coffee » Fri Apr 15, 2011 7:25 pm

How to I make a script for this it is 99% python.
Coffee
 
Posts: 17
Joined: Fri Apr 08, 2011 7:57 pm

Re: How to make make human mouse controls like blender?

Postby Manuel » Fri Apr 15, 2011 11:44 pm

it's 100% python, probably :-)
Marc is working on this feature.
Manuel
 

Re: How to make make human mouse controls like blender?

Postby Coffee » Sat Apr 16, 2011 12:18 am

I want to code this feature all i want to do is edit the script that has the mouse controls
Coffee
 
Posts: 17
Joined: Fri Apr 08, 2011 7:57 pm

Re: How to make make human mouse controls like blender?

Postby mflerackers » Sat Apr 16, 2011 12:38 am

Like I said, it is in the file main.py in the makehuman folder, in def onMouseDragged(self, event): around line 376.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: How to make make human mouse controls like blender?

Postby Coffee » Sat Apr 16, 2011 7:55 pm

Where is the nightly build folder in ubuntu. Note I also update it through Synaptic manager if that helps.
Coffee
 
Posts: 17
Joined: Fri Apr 08, 2011 7:57 pm

Re: How to make make human mouse controls like blender?

Postby Coffee » Mon Apr 18, 2011 4:16 pm

Hello Hello
Coffee
 
Posts: 17
Joined: Fri Apr 08, 2011 7:57 pm

Re: How to make make human mouse controls like blender?

Postby brkurt » Mon Apr 18, 2011 7:10 pm

If I may make a suggestion: Blender's use of mouse is rather idiosyncratic (or anti-Maya), so much so that 2.5 now allows one
script the mouse. This is necessary because many of the newer mice have expanded their middle buttons; I've got a Logitech
wireless with four! If you're going to put so much effort into this, perhaps you consider scripting a 3d game controller;
a very early Makehuman alpha was heading in this direction, which I believe can be argued is the future of Makehuman. At leasts my college students think so... :)
brkurt
 
Posts: 1100
Joined: Sun Feb 17, 2008 8:49 pm

Re: How to make make human mouse controls like blender?

Postby Coffee » Tue Apr 19, 2011 3:07 am

HOW
Coffee
 
Posts: 17
Joined: Fri Apr 08, 2011 7:57 pm

Re: How to make make human mouse controls like blender?

Postby brkurt » Tue Apr 19, 2011 3:27 am

Well...let me think all the way back to 2004 and Blender 2.40. I had a Saitek P880 digital/analog game controller running in Windows XP Service Pack 2 that had a programmable interface. I got it to pan, zoom and rotate using the dual joysticks, and it was a blast. Great until Microsoft automatically updated that box and crashed all the joystick code. :shock:

So..I'm thinking you'll need to run with a very generic game controller in Windows 7 at first. Something with lots of programming features. As long as you're in Windows, you should be able to control at least some of the Makehuman features; what the team here is suggesting is that you write Python 3.2 code for a new interface, if you want the features you're interested in. :geek:
brkurt
 
Posts: 1100
Joined: Sun Feb 17, 2008 8:49 pm

Re: How to make make human mouse controls like blender?

Postby mflerackers » Tue Apr 19, 2011 3:33 am

You don't need to write anything new, you only need to change the code in main.py onMouseDragged to do what you want it to do, it's very easy if you know python.We use python 2.6 btw.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

PreviousNext

Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 1 guest