Page MenuHomeFeedback Tracker

drawLine3D not visible through mh-9 and ah-9 glass
Assigned, WishlistPublic

Description

drawLine3D does not render when looking through cockpit glass of MH-9, and AH-9, but will when looking out side door openings, only when complete line of sight between object and player is made. drawline3d _WILL_ render properly through glass in Ka-60 and Hunter.

Details

Legacy ID
3852680025
Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Visual-Vehicles
Steps To Reproduce

Create XH-9 Vehicle, execVM a sqf, or spawn this code:

while{true} do {
drawLine3D [getPos player,getPos someobject,[1,0,0,1]];
};

Fly, rotate copter to look out side, observe 3dline, observe through cockpit glass, no line. test with Ka-60, observe 3dline through cockpit glass.

Event Timeline

cancerouspete edited Additional Information. (Show Details)
cancerouspete set Category to Visual-Vehicles.
cancerouspete set Reproducibility to Always.
cancerouspete set Severity to None.
cancerouspete set Resolution to Open.
cancerouspete set Legacy ID to 3852680025.May 7 2016, 1:54 PM
cancerouspete added a subscriber: cancerouspete.

still relevant as of the latest dev build. no change in details

As of beta this only applies to the AH-9 and MH-9. All other helicopters render drawline3d through glass

MadDogX added a subscriber: MadDogX.May 7 2016, 1:54 PM

Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.

If this issue is still relevant in current dev build, please re-post.

issue persists. quick repro:

  • open editor with Virtual Reality terrain
  • place a (player) unit
  • start scenario
  • paste code into console:
player moveInDriver ("B_Heli_Light_01_F" createVehicle [0, 0, 0]);
addMissionEventHandler ["Draw3D", {
    private _from = [0, 25, 0];
    for "_j" from 0 to 360 step 10 do {
        private _to = [25 * sin _j, 25 * cos _j, 0];

        for "_i" from 0 to 2 step 0.2 do {
            _from set [2, _i];
            _to set [2, _i];
            drawLine3D [_from, _to, [1, 0, 1, 1]];
        };

        _from = _to;
    };
}];
  • you're in a helicopter now. look sideways, out of the open cockpit side. observe pink lines surrounding you... that vanish straight where the cockpit window begins.
BIS_fnc_KK reopened this task as Assigned.
BIS_fnc_KK edited Steps To Reproduce. (Show Details)
BIS_fnc_KK edited Additional Information. (Show Details)
BIS_fnc_KK set Operating System to Windows 7.