Mouse control for 3D Cabs
#1
Posted 14 September 2017 - 11:51 AM
Blueprint: https://blueprints.l...rol-for-3d-cabs
Trello box (already present): https://trello.com/c...ntrol-in-3d-cab
#2
Posted 14 September 2017 - 03:15 PM
#3
Posted 15 September 2017 - 05:38 AM
#4
Posted 15 September 2017 - 10:01 AM
The mouse control is made a bit easier by a helping feature that as a bonus I implemented also for 2D cabs. If you press the left mouse button in a place where there are no controls and move the mouse over the cab keeping the button pressed, you will get the name of the actuation controls when the mouse reaches the right points. So you know where to click then to actuate the command. It must be highlighted that commands for levers and analogous things that have multiple positions must be performed moving the mouse horizontally (for rotating controls and for horizontally moving levers) or vertically (for vertically moving levers) in the direction defined within the .cvf file (so no rotating movements with the mouse). I hope these rules apply for all controls (I didn't yet make many tests). Another point is that you must always start movement at the "center" of the control. So if you move a rotating throttle lever from 0% to 100% you will move the mouse from center e.g. to the left. If after having released the mouse you want to return to zero you must again start from center and go to the right. This is the same as with the 2D cabs, but it could be a bit strange if someone never used the mouse to control cabs.
17/9/17: new release with higher threshold
19/9/17: new patch release here http://www.elvastowe...post__p__225610
#5
Posted 17 September 2017 - 07:16 AM
Only the throttle lever I've tested has a somewhat too small active area, too much related to the axis of the lever, but one can get used to it easely.
The active area of the same lever is a bit too low, which is certainly on my 3D-Cab-model. So it is now a disadvantage that I have modelled the axis-cylinder of the lever that large, that it stucks that deep in the console.

The Cab-View is part of this download: 3DCabView
#6
Posted 17 September 2017 - 07:41 AM
thank you for the test. I too recognized that the active area is a bit small, and have already decided to increase it. The algorithm anyhow selects the control which is nearer to the click point.
#7
Posted 17 September 2017 - 11:41 AM
#8
Posted 17 September 2017 - 01:28 PM
It's been a few days ago when I was working on 3D programming project, with "macromedia director" IIRC. There was a 3D-command to monitor if the mouse is hovering over a single 3D object. Can you use this in OR as an additional possibility to catch the cab-control?
#9
Posted 17 September 2017 - 11:25 PM
#10
Posted 18 September 2017 - 08:13 AM
#11
Posted 18 September 2017 - 07:49 PM
#12
Posted 18 September 2017 - 08:09 PM
#13
Posted 19 September 2017 - 08:53 AM

Number of downloads: 539
Referring ErickC post, I don't know. Maybe your controls have their root outside of the cab camera viewing area? If you are able to provide me a complete kit I can have a check.
20/9/17: New release solving ErickC problem
22/9/17: New release solving the Dynamic Shadows problem
#14
Posted 19 September 2017 - 11:52 AM
Csantucci, on 19 September 2017 - 08:53 AM, said:
Certainly, the file is attached. This must be installed over the cab in the demo GP10 WIP in my "3D cab/OR sound demo" post in the modelling forum.
Attached File(s)
-
RLCX_1703_VCrev1.zip (12.08MB)
Number of downloads: 549
#15
Posted 19 September 2017 - 12:24 PM