Questions tagged [trackball]

Trackball may refer to either the hardware used to move a mouse (specifically a ball embedded in the mouse which rolls as the mouse is moved) or to the three.js extension TrackballControls, used in web browsers to manipulate 3D objects. It should be used for questions about software specific to a trackball mouse, or questions about the TrackballControls extension.

In terms of computer hardware, a trackball is a physical ball used to capture input for a mouse. It is fairly rare to see a trackball on the bottom of a mouse anymore, but large and well-made ones are commonly used for high precision work or areas where durable hardware is required.

Questions with the tag, in the hardware sense, are usually related to writing software for a trackball, handling its inputs, and other technical questions. Note that actually asking about the trackball itself is probably off topic, since it's related to computer hardware.


In terms of computer software, TrackballControls is an extension to , which is itself used to control 3D objects in a web browser. It allows the camera to move ("track") around the object. It is fairly similar to OrbitControls.

Questions with the tag, in the software sense, are usually related to the use of the extension, including troubleshooting and proper use.

75 questions
0
votes
1 answer

Trackball mouse Rotation in OpenGL

I'm trying to implement a basic solution for trackball with openGL. There are 2 rotations : - around x axis (right direction) , linked with up/down mouse movement. - around y axis (up direction) , linked with right/left mouse movement. The cube…
henri d
  • 71
  • 7
0
votes
0 answers

how to update the mouseposition on screen event on window resize?

What i need is to update the trackball controls to detect the mouse position event to a different screen size. I have an on click event which shows the position clicked point on screen with a yellow mark. If i refresh and try this event everything…
prieston
  • 1,426
  • 2
  • 18
  • 39
0
votes
1 answer

How to update Trackball controls at three js

I have a project at three.js where i need to update the trackball controls on window resize.. I need to do that updating the whole controls calling the function with new input variables. Recreating the controls causes crash and i dont want to delete…
prieston
  • 1,426
  • 2
  • 18
  • 39
0
votes
0 answers

How to turn trackball LED on in Android from code?

Is there any way to do this? I've found something here, but it does not work for me:/ This is the code I,ve tried: NotificationManager notifMgr = ( NotificationManager ) getSystemService( NOTIFICATION_SERVICE ); Notification notif = new…
user3521479
  • 565
  • 1
  • 5
  • 12
0
votes
1 answer

Select TextView with trackball

I have different elements in my layout: Buttons, RadioButtons, EditText, a ListView and I have made a RelativeLayout that is clickable and starts a new intent. Everything works ok except that I can't select that element with the trackball. Is there…
Jan S.
  • 10,328
  • 3
  • 31
  • 36
0
votes
0 answers

How to control the data.gui.js that do not affect the object(Three.js r66)

I write a trackball to control the object rotation, everything goes fine. However, when I add the gui component to the program, and when I put the mouse to change the gui, the object is moving. Because my trackball project the screen coordinate to…
yongnan
  • 405
  • 7
  • 20
0
votes
2 answers

implementing trackball rotation in opengl with FLTK: how to 'remember' successive rotations

I'm working on a FLTK project (my first attempt at GUIs and opengl: please bear with me!) and have an Fl_Gl_Window which displays various things depending on some other widgets. One of the options is to display the contents of the screen in 3D and…
user3353819
  • 911
  • 2
  • 8
  • 21
0
votes
1 answer

what does "pan" in trackball control mean exactly

What does of the term "Pan" in trackball control in three.js exactly mean? controls.rotateSpeed = 1; controls.zoomSpeed = .5; controls.panSpeed = 1; What is "panspeed" here?
0
votes
1 answer

Is there a plugin to add rotation to three.js self-learning project?

I'm starting to play with three.js and was wondering if there's a simple plugin to add the trackball functionality so I can see how the changes I'm making in code is affecting the "underside" of the simple object. I tried to…
Zhao Li
  • 4,936
  • 8
  • 33
  • 51
0
votes
1 answer

Trackball controls doesn't work in new build of three.js

I'm trying to make a simulation consisting of many lines. Up until now I had Three.js v45 and Trackball Controls and it worked fine. I then tried to implement my lines in a buffer geometry (as in this example:…
Kasia Celler
  • 1
  • 1
  • 1
0
votes
0 answers

Disable trackball programmatically

Possible Duplicate: Disable trackball click in Android Is there any way to completely disable trackball interaction programmatically? I don't need my app to respond trackball events. At the moment I put public boolean…
Orest
  • 1,857
  • 5
  • 19
  • 27
0
votes
1 answer

How to make a custom trackball / eyeball control with Cocoa?

I'm writing my first Cocoa app and I would like to make a "trackball / eyeball / arcball / whatever it's called" button to rotate a 3D OpenGL scene. There's a perfect example of this custom Cocoa control in Pages (Apple iWork suite) when you select…
Tom A.
  • 3
  • 2
-1
votes
1 answer

How to move, rotate & zoom trackball control in three js using keyboard or button click

Is it possible to use keyboard to control the trackball actions such as zoom , rotate. There are various SO question & answers are there by most are based on orbital control, but not for track ball. example provided here having some keyboard events…
Vickey
  • 365
  • 1
  • 3
  • 17
-1
votes
1 answer

Trackball issue with Raypicking

I'm trying to develop a 3D raypicking in my OpenGL scene. I have a working OBJ loader with a trackball. char* model_file = NULL; /* name of the obect file */ GLuint model_list = 0; /* display list for object */ GLMmodel* model;…
Gorgo
  • 456
  • 1
  • 7
  • 19
-1
votes
1 answer

Binding a trackball to NPAPI

I want to use a second pointing device (the trackball) as a control for a specific function on a program. This means I would NOT want any mouse functionality from the trackball, I just want to get the movement data and somehow use the NPAPI to get…
lswim
  • 3,064
  • 2
  • 15
  • 13
1 2 3 4
5