Mouse disappeared

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

Mouse disappeared

Postby Cyberdolly » Tue Mar 10, 2009 12:58 pm

Hi all !
I am a beginner from Taiwan.
Sorry for my poor English.
My mouse disappeared in the MH pre-Alpha under XP 32bit.
It still works fine when it is out of the MH window.
Wish someone could give me a help.
Thanks much to MH team for bringing us the amazing new stuff.
:)
Cyberdolly
 
Posts: 3
Joined: Tue Mar 10, 2009 12:31 pm

Re: Mouse disappeared

Postby Manuel » Tue Mar 10, 2009 2:24 pm

The cursor (I mean the usual window white arrow) MUST disappear. Do you see a MH cursor, instead? It's a little black square.

Regards,

Manuel
Manuel
 

Re: Mouse disappeared

Postby Cyberdolly » Tue Mar 10, 2009 5:11 pm

I didn't see a MH cursor.
When I clicked icons in MH (by blind) the cursor showed up in an instant,
but disappeared soon.
:cry:
Cyberdolly
 
Posts: 3
Joined: Tue Mar 10, 2009 12:31 pm

Re: Mouse disappeared

Postby Manuel » Thu Mar 12, 2009 7:56 am

Mmm...we need to investigate.

Graphic card?
Operating system?
and, very IMPORTANT:
tell us what's written in the dos console.

Do you see other images in the GUI?
Thanks,

Manuel
Manuel
 

Re: Mouse disappeared

Postby Cyberdolly » Thu Mar 12, 2009 1:13 pm

XP 32bit SP3
ATI HD3870 mod. V7700 (working fine for MH 0.9)

Other images in the GUI look well.

===
index out of range, 6 is not between 0 and 3
loading data/images/button_exit.png
index out of range, 7 is not between 0 and 3
loading data/images/button_home.png
index out of range, 8 is not between 0 and 3
loading data/images/button_loadsave.png
index out of range, 9 is not between 0 and 3
loading data/images/button_expressions.png
index out of range, 10 is not between 0 and 3
loading data/images/button_poses.png
index out of range, 11 is not between 0 and 3
loading data/images/button_render.png
index out of range, 12 is not between 0 and 3
loading data/images/button_measure.png
index out of range, 13 is not between 0 and 3
loading data/images/button_about.png
index out of range, 14 is not between 0 and 3
GUI modeling initialized
loading wavefront data/3dobjs/background.obj in 0.000000 sec
time to build mesh: 0.0
Time to apply colors 0.0
loading wavefront data/3dobjs/transformer.obj in 0.047000 sec
time to build mesh: 0.0620000362396
Warning: Color data does not match number of vertices ( 3391 vs 3392)
loading wavefront data/3dobjs/button_asia.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_asia.obj.colors
loading wavefront data/3dobjs/button_europe.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_europe.obj.colors
loading wavefront data/3dobjs/button_africa.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_africa.obj.colors
loading wavefront data/3dobjs/button_america.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_america.obj.colors
loading wavefront data/3dobjs/button_ethnincr.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_ethnincr.obj.colors
loading wavefront data/3dobjs/button_ethndecr.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_ethndecr.obj.colors
loading wavefront data/3dobjs/button_ethnreset.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_ethnreset.obj.colors
loading wavefront data/3dobjs/button_gender.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_gender.obj.colors
loading wavefront data/3dobjs/button_age.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_age.obj.colors
loading wavefront data/3dobjs/button_muscle.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_muscle.obj.colors
loading wavefront data/3dobjs/button_weight.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_weight.obj.colors
loading wavefront data/3dobjs/button_macrodetails.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_macrodetails.obj.colors
loading wavefront data/3dobjs/button_details.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_details.obj.colors
loading wavefront data/3dobjs/button_microdetails.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_microdetails.obj.colors
loading wavefront data/3dobjs/prompt.obj in 0.000000 sec
time to build mesh: 0.0149998664856
WARNING: Unable to open color file data/3dobjs/prompt.obj.colors
loading data/images/button_gender.png
index out of range, 24 is not between 0 and 3
loading data/images/button_age.png
index out of range, 25 is not between 0 and 3
loading data/images/button_weight.png
index out of range, 27 is not between 0 and 3
loading data/images/button_muscle.png
index out of range, 26 is not between 0 and 3
loading data/images/button_africa.png
index out of range, 19 is not between 0 and 3
loading data/images/button_europe.png
index out of range, 18 is not between 0 and 3
loading data/images/button_asia.png
index out of range, 17 is not between 0 and 3
loading data/images/button_america.png
index out of range, 20 is not between 0 and 3
loading data/images/button_ethnincr.png
index out of range, 21 is not between 0 and 3
loading data/images/button_ethndecr.png
index out of range, 22 is not between 0 and 3
loading data/images/button_ethnreset.png
index out of range, 23 is not between 0 and 3
loading data/images/button_microdetails.png
index out of range, 30 is not between 0 and 3
loading data/images/button_details.png
index out of range, 29 is not between 0 and 3
loading data/images/button_macrodetails.png
index out of range, 28 is not between 0 and 3
loading wavefront data/3dobjs/progressbar_background.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/progressbar_background.obj.colors

loading wavefront data/3dobjs/progressbar.obj in 0.016000 sec
time to build mesh: 0.0
index out of range, 32 is not between 0 and 3
index out of range, 32 is not between 0 and 3
index out of range, 33 is not between 0 and 3
index out of range, 33 is not between 0 and 3
index out of range, 32 is not between 0 and 3
index out of range, 33 is not between 0 and 3
loading data/images/progressbar_background.png
index out of range, 32 is not between 0 and 3
index out of range, 32 is not between 0 and 3
loading data/images/progressbar.png
index out of range, 33 is not between 0 and 3
index out of range, 33 is not between 0 and 3
index out of range, 32 is not between 0 and 3
index out of range, 33 is not between 0 and 3
index out of range, 31 is not between 0 and 3
GUI files initialized
GUI selector initialized
loading wavefront data/3dobjs/fileselectorbar.obj in 0.000000 sec
time to build mesh: 0.0
Time to apply colors 0.0
loading wavefront data/3dobjs/backgroundtext.obj in 0.000000 sec
time to build mesh: 0.0
Time to apply colors 0.0
loading wavefront data/3dobjs/empty.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/empty.obj.colors
loading wavefront data/3dobjs/button_confirm.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_confirm.obj.colors
loading data/images/button_confirm.png
index out of range, 37 is not between 0 and 3
loading wavefront data/3dobjs/button_load_file.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_load_file.obj.colors
loading wavefront data/3dobjs/button_save_file.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_save_file.obj.colors
loading wavefront data/3dobjs/button_export_file.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_export_file.obj.colors
loading data/images/button_load_file.png
index out of range, 38 is not between 0 and 3
loading data/images/button_save_file.png
index out of range, 39 is not between 0 and 3
loading data/images/button_export_file.png
index out of range, 40 is not between 0 and 3
GUI render initialized
loading wavefront data/3dobjs/button_aqsis.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_aqsis.obj.colors
loading wavefront data/3dobjs/button_pixie.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_pixie.obj.colors
loading wavefront data/3dobjs/button_povray.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/button_povray.obj.colors
loading data/images/button_aqsis.png
index out of range, 41 is not between 0 and 3
loading data/images/button_pixie.png
index out of range, 42 is not between 0 and 3
loading data/images/button_povray.png
index out of range, 43 is not between 0 and 3
GUI common initialized
loading wavefront data/3dobjs/cursor.obj in 0.000000 sec
time to build mesh: 0.0
WARNING: Unable to open color file data/3dobjs/cursor.obj.colors
loading data/images/cursor.png
index out of range, 44 is not between 0 and 3
loading data/images/splash.png
loading data/images/progressbar_background.png
loading data/images/progressbar.png
loading data/images/upperbar.png
loading data/images/lowerbar.png
loading data/images/button_exit.png
loading data/images/button_home.png
loading data/images/button_loadsave.png
loading data/images/button_expressions.png
loading data/images/button_poses.png
loading data/images/button_render.png
loading data/images/button_measure.png
loading data/images/button_about.png
loading data/images/button_asia.png
loading data/images/button_europe.png
loading data/images/button_africa.png
loading data/images/button_america.png
loading data/images/button_ethnincr.png
loading data/images/button_ethndecr.png
loading data/images/button_ethnreset.png
loading data/images/button_gender.png
loading data/images/button_age.png
loading data/images/button_muscle.png
loading data/images/button_weight.png
loading data/images/button_macrodetails.png
loading data/images/button_details.png
loading data/images/button_microdetails.png
loading data/images/progressbar_background.png
loading data/images/progressbar.png
loading data/images/button_confirm.png
loading data/images/button_load_file.png
loading data/images/button_save_file.png
loading data/images/button_export_file.png
loading data/images/button_aqsis.png
loading data/images/button_pixie.png
loading data/images/button_povray.png
loading data/images/cursor.png
Regeneration done in0.139999866486
loading data/textures/texture.tif
loading data/images/button_microdetails.png
loading data/images/button_details.png
loading data/images/button_macrodetails_over.png
loading data/images/button_ethnincr_on.png
loading data/images/button_ethndecr.png
loading data/images/button_ethnreset.png
Buffer time 0.0309998989105
Applied data/targets/macrodetails/neutral-female-young.target with value of 0.50
0000 in 0.110000 sec
Buffer time 0.0929999351501
Applied data/targets/macrodetails/neutral-male-young.target with value of 0.5000
00 in 0.296000 sec
Traceback (most recent call last):
File "./mh_core\module3d.py", line 1475, in mouseButtonDown
ob.lMousePressedCallBack()
File "main.py", line 139, in renderMode
gModelling.isNotActive()
File "./mh_plugins\guimodelling.py", line 908, in isNotActive
self.scene.disconnect(self.scene.KP8)
File "./mh_core\module3d.py", line 1343, in disconnect
elif len(eventName) == 1:
TypeError: object of type 'int' has no len()
Traceback (most recent call last):
File "./mh_core\module3d.py", line 1475, in mouseButtonDown
ob.lMousePressedCallBack()
File "main.py", line 125, in fileMode
gModelling.isNotActive()
File "./mh_plugins\guimodelling.py", line 908, in isNotActive
self.scene.disconnect(self.scene.KP8)
File "./mh_core\module3d.py", line 1343, in disconnect
elif len(eventName) == 1:
TypeError: object of type 'int' has no len()
Warning, object button_ethnincr.obj has already LMOUSEP event
function <bound method Guimodelling.ethnicIncreaseModeOn of <guimodelling.Guimod
elling instance at 0x069DED00>> not assigned to button_ethnincr.obj
Warning, object button_ethnreset.obj has already LMOUSEP event
function <bound method Guimodelling.ethnicResetModeOn of <guimodelling.Guimodell
ing instance at 0x069DED00>> not assigned to button_ethnreset.obj
Warning, object button_ethndecr.obj has already LMOUSEP event
function <bound method Guimodelling.ethnicDecreaseModeOn of <guimodelling.Guimod
elling instance at 0x069DED00>> not assigned to button_ethndecr.obj
Warning, object base.obj has already LMOUSEP event
function <bound method Guimodelling.leftClickOnBaseMesh of <guimodelling.Guimode
lling instance at 0x069DED00>> not assigned to base.obj
Warning, object button_macrodetails.obj has already LMOUSEP event
function <bound method Guimodelling.macroDetailsOn of <guimodelling.Guimodelling
instance at 0x069DED00>> not assigned to button_macrodetails.obj
Warning, object button_details.obj has already LMOUSEP event
function <bound method Guimodelling.detailsOn of <guimodelling.Guimodelling inst
ance at 0x069DED00>> not assigned to button_details.obj
Warning, object button_microdetails.obj has already LMOUSEP event
function <bound method Guimodelling.microDetailsOn of <guimodelling.Guimodelling
instance at 0x069DED00>> not assigned to button_microdetails.obj
Warning, object button_africa.obj has already LMOUSEP event
function <bound method Guimodelling.modifyEthnicFeature of <guimodelling.Guimode
lling instance at 0x069DED00>> not assigned to button_africa.obj
Warning, object button_age.obj has already LMOUSEP event
function <bound method Guimodelling.ageModeOn of <guimodelling.Guimodelling inst
ance at 0x069DED00>> not assigned to button_age.obj
Warning, object button_weight.obj has already LMOUSEP event
function <bound method Guimodelling.weightModeOn of <guimodelling.Guimodelling i
nstance at 0x069DED00>> not assigned to button_weight.obj
Warning, object button_muscle.obj has already LMOUSEP event
function <bound method Guimodelling.muscleModeOn of <guimodelling.Guimodelling i
nstance at 0x069DED00>> not assigned to button_muscle.obj
Warning, object button_gender.obj has already LMOUSEP event
function <bound method Guimodelling.genderModeOn of <guimodelling.Guimodelling i
nstance at 0x069DED00>> not assigned to button_gender.obj
Warning, object transformer.obj has already LMOUSEP event
function <bound method Guimodelling.currentTransformerActive of <guimodelling.Gu
imodelling instance at 0x069DED00>> not assigned to transformer.obj
Warning, scene has already event MOUSEWHEELDOWN
function <bound method Guimodelling.zoomIn of <guimodelling.Guimodelling instanc
e at 0x069DED00>> not assigned to event
Warning, scene has already event MOUSEWHEELUP
function <bound method Guimodelling.zoomOut of <guimodelling.Guimodelling instan
ce at 0x069DED00>> not assigned to event
Warning, scene has already event UP_ARROW
function <bound method Guimodelling.panUp of <guimodelling.Guimodelling instance
at 0x069DED00>> not assigned to event
Warning, scene has already event DOWN_ARROW
function <bound method Guimodelling.panDown of <guimodelling.Guimodelling instan
ce at 0x069DED00>> not assigned to event
Warning, scene has already event LEFT_ARROW
function <bound method Guimodelling.panLeft of <guimodelling.Guimodelling instan
ce at 0x069DED00>> not assigned to event
Warning, scene has already event RIGHT_ARROW
function <bound method Guimodelling.panRight of <guimodelling.Guimodelling insta
nce at 0x069DED00>> not assigned to event
===

Thanks for help.
Cyberdolly
 
Posts: 3
Joined: Tue Mar 10, 2009 12:31 pm

Re: Mouse disappeared

Postby Manuel » Thu Mar 12, 2009 9:54 pm

It's really weird.
The cursor is just a square polygon with a texture applied, exactly as others button that you see. The difference is only that this square follow the mouse. Even in case the texture is not loaded (but I don't see this in debug you sent us) you should see at least a white square....

When I clicked icons in MH (by blind) the cursor showed up in an instant,
but disappeared soon.


what happen if you continue to press the button without release it?
Manuel
 

Re: Mouse disappeared

Postby enonCGdrmz » Fri Apr 10, 2009 8:34 am

Hello all,

I have the same problem of "mouse pointer disappearing" also on my PC both on prealpha and alpha1 version.
The square cursor apperars only when I click the mouse, then when I move it, the cursor disappears again.

I run it on under window XP pro.
As Hardware I have a Lenovo Laptop Z61P with ATI MOBILITY FIREGL 5200V.

When I saw this behaviour I remenbered about reveral problems of my graphics card related to opengl drivers.
I fact I had different strange bugs on blender, on previous makehuman version and some opengl games.
Just for test I tried to disable hardware acceleration and magically the square mouse pointer appeared!
Unfortunatly using makehuman wihtout hardware acceleration it's almost impossible...

I found on different forums that some ATI open GL drivers are not working very well.
Someone has found a soulution for his system, but till now I was not able to solve on my PC.

Try to have a look at blender artist forum:
http://blenderartists.org/cms/

May be you are lucky and find the good fix for your machine.

Bye
Enon
enonCGdrmz
 
Posts: 6
Joined: Fri Apr 10, 2009 7:58 am

Re: Mouse disappeared

Postby Manuel » Fri Apr 10, 2009 10:00 am

enonCGdrmz wrote:Hello all,

I have the same problem of "mouse pointer disappearing" also on my PC both on prealpha and alpha1 version.
The square cursor apperars only when I click the mouse, then when I move it, the cursor disappears again.

Bye
Enon


Please, try this quick test:

in your prefered text editor, open guicommon.py (it's in makehuman/mh_plugins).
Then, go around line 78. You should see this:

Code: Select all
self.cursor = files3d.loadMesh(self.scene,"data/3dobjs/cursor.obj",\
                        self.commonGuiObjs,0.0,0.0,9.5)


try change the 9.5 to 9, then save and run MH.
The mouse will be much smaller, but maybe visible.

If this work, it's a clipping problem, and we will fix it in alpha2.
Please, keep me informed.

Regards,

Manuel
Manuel
 

Re: Mouse disappeared

Postby enonCGdrmz » Tue Apr 14, 2009 7:55 am

Thanks for help,

Unfortunately it didn’t work as expected.
The square mouse pointer is smaller, but I have the same problem of cursor disappearing when I move the mouse.

I am not a python programmer, but after your hint I explored a little bit the python modules, trying to find to tweak some parameters to help you on understanding the problem.

…and I think to have been lucky:

on module3d.py I found this method:

def redraw(self, async = 1):

I tried to change to:

def redraw(self, async = 0):

and magically the mouse pointer remain visible also when moving the mouse.

It’s not everything perfect, because sometimes I can see something like a “ghost cursor” image that appears for a fraction of second, just after releasing mouse button while I am moving the mouse.

Regards
Enon
enonCGdrmz
 
Posts: 6
Joined: Fri Apr 10, 2009 7:58 am

Re: Mouse disappeared

Postby Manuel » Tue Apr 14, 2009 6:29 pm

Well...The only difference between sync and async is that there is more time between asking to draw and drawing. So if one works and the other not, probably it means that your card drawing only sometimes works, and since sync draws much more (but redundant) frames/sec, you have more chance to see something. But more likely there's something wrong with ATI driver.

A new test to do is to comment the line in glmodule.c

Code: Select all
SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1); // This fixes flickering in compiz


I'll post here a test exectable for windows here, as soon I can.

Regards,

Manuel

(Thanks to Marc for suggestions)
Manuel
 

Next

Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest