Seth Alves
74287c3cf5
Merge pull request #5482 from ericrius1/polyLineInProgress
...
Added PolyLine Entity and painting scripts to demonstrate its functionality (WARNING: protocol change) Test this please
2015-08-10 14:57:52 -07:00
Lars Næsbye Christensen
8aa7002ab8
Simple whitespace correction
...
Added a space to make the reduced complexity notification look better.
2015-08-10 21:07:08 +02:00
ericrius1
0f7c21ddd7
rearranged entity props and added check in setNormals to avoid uninitialized binormal values
2015-08-10 11:55:47 -07:00
Andrew Meadows
5acd1e7d58
Merge pull request #5467 from sethalves/polyvox
...
Polyvox improvements (Warning: protocol change)
2015-08-10 11:12:10 -07:00
Zander Otavka
987fb56124
Simplify applied transformations in scripts.
2015-08-07 11:51:22 -07:00
Zander Otavka
743e73874f
Add back the anchor to panel transform names.
...
position -> anchorPosition
rotation -> anchorRotation
scale -> anchorScale
2015-08-07 11:38:33 -07:00
ericrius1
3910cb0d69
Merge branch 'master' into polyLineInProgress
2015-08-07 10:12:02 -07:00
Zander Otavka
f9630942aa
Small tweaks to improve code readability.
2015-08-07 09:31:21 -07:00
Seth Alves
c07119c30b
Merge branch 'master' of github.com:highfidelity/hifi into polyvox
2015-08-07 07:37:25 -07:00
Zander Otavka
3356bf31ac
Refactor billboarding into Billboardable class.
2015-08-07 02:34:56 -07:00
Zander Otavka
3dcfa84a87
Fix billboarding behavior.
...
Billboards now always face the camera position. Also, OverlayPanels can
be set to face the avatar.
2015-08-07 01:38:33 -07:00
Zander Otavka
0b4be8fca2
Improve transforms for panels and attachables.
...
Add offsetScale to PanelAttachable for scaling all the contents of a
panel properly. Also reduce the number of transform operations per
second while rendering a PanelAttachable Overlay.
2015-08-06 21:46:55 -07:00
Zander Otavka
be4e827281
Merge: master -> panel-attachable-improvements.
2015-08-06 16:29:38 -07:00
Zander Otavka
13a63a5a3d
Improve mouse click logic in scripts.
...
Also restore behavior of controlPanel.js being hidden on startup.
2015-08-06 16:04:11 -07:00
Zander Otavka
497713b020
Rename a few more confusing names.
...
setTransforms -> applyTransformTo
attachedPanel -> parentPanel
2015-08-06 15:45:07 -07:00
Zander Otavka
b94be926f8
Mass renaming to be more logical/concise.
...
FloatingUIPanel -> OverlayPanel
anchorPosition -> position
offsetRotation -> rotation
facingRotation -> offsetRotation
floatingUIExample.js -> overlayPanelExample.js
2015-08-06 14:23:04 -07:00
Zander Otavka
6165e7e6ca
Improve cross-thread support for panel children.
2015-08-06 11:40:49 -07:00
Zander Otavka
021dff63b4
Visibility now cascades down panel children.
...
For an overlay to render, it, and all of its ancestor panels, must be
set visible.
2015-08-05 16:57:03 -07:00
Zander Otavka
481624b48c
Re-work panel position and rotation binding.
2015-08-05 14:21:23 -07:00
Zander Otavka
5778502c54
Improve child removal logic for FloatingUIPanels.
2015-08-05 10:25:33 -07:00
Zander Otavka
eab35d03d4
Improve vector operations in floatingUIExample.js.
2015-08-05 10:24:03 -07:00
Howard Stearns
5f895e8aff
Merge pull request #5448 from PhilipRosedale/master
...
test script to load test with lots of entities
2015-08-05 10:08:03 -07:00
Philip Rosedale
f1a4e185cd
Added lifetime and better notes, per PR
2015-08-05 10:04:59 -07:00
Zander Otavka
90bfce25e5
Add anchorPosition as a field for FloatingUIPanel.
2015-08-04 17:10:56 -07:00
Zander Otavka
cb5b5fcfc4
Increase right click move threshold.
2015-08-04 17:10:36 -07:00
Seth Alves
b318c1122c
Merge branch 'master' of github.com:highfidelity/hifi into polyvox
2015-08-04 16:00:27 -07:00
Zander Otavka
a21fa94f14
Fix error in floatingUIExample.js.
...
Script would crash if the user left clicked somewhere not on an overlay.
2015-08-04 15:06:12 -07:00
Zander Otavka
22453aa3ce
Improve inner workings of overlay API.
...
More stuff is known to the C++, and a panel object in JavaScript can be
gotten by ID from another thread.
2015-08-04 14:22:21 -07:00
Zander Otavka
055133b82e
Refactor inheritance for billboard overlays.
...
BillboardOverlays is now Image3DOverlay. Billboard3DOverlay is the base
class for both Image3DOverlay and Text3DOverlay, and it is
PanelAttachable.
2015-08-04 14:22:21 -07:00
Zander Otavka
e5a429e8a6
Add a Text3DOverlay in floatingUIExample.js.
2015-08-04 14:22:21 -07:00
Zander Otavka
28050a2ac9
Fix PanelAttachable transformations.
...
Apply the offsetPosition of the PanelAttachable after the facingRotation
of the FloatingUIPanel, not before.
2015-08-04 14:22:21 -07:00
ericrius1
12770edbe1
Merge branch 'master' into polyLineInProgress
2015-08-03 15:52:26 -07:00
Eric Levin
3f5f75d6d2
Merge pull request #5430 from AlexanderOtavka/floating-ui
...
Improvements to overlays.
2015-08-03 14:35:52 -07:00
David Rowe
5e7cb72843
Reduce the speed of movement when in HMD view
...
When using hmdControls.js.
2015-08-03 13:02:12 -07:00
Zander Otavka
1b4ba75b5a
Fix click and drag logic for floatingUIExample.js.
2015-08-03 12:01:15 -07:00
ericrius1
dc8fa0beb4
added painting scripts to demonstrate one way to use the PolyLineEntity
2015-08-03 11:15:14 -07:00
Zander Otavka
d24006e715
Improve logic around handling click and drag.
2015-08-03 11:14:55 -07:00
Zander Otavka
055c9dc59b
Fix image URLs in controlPanel.js.
2015-08-03 10:41:35 -07:00
ericrius1
f50c482451
Merge branch 'master' into polyLineInProgress
2015-08-03 08:46:01 -07:00
ericrius1
47bc8f50ab
cleaning
2015-08-03 08:45:14 -07:00
David Rowe
c88e0360b3
Change the inspect.js pan direction and rate
...
This makes camera zoom, orbit, and panning more similar to Second Life.
2015-07-31 14:46:43 -07:00
Zander Otavka
c37c3ec2d2
Use images off the amazon bucket, not file://.
2015-07-31 11:26:04 -07:00
Zander Otavka
3983c31219
Add controlPanel.js script.
...
Right click to open a control panel. Control panel allows toggling of
face mute, mic mute, and address bar.
2015-07-31 11:26:04 -07:00
Zander Otavka
37a1ad7626
Improve floatingUIExample.js.
...
Demonstrates overlayManager.js functionality.
2015-07-31 11:26:04 -07:00
Zander Otavka
ba190b4b34
Improve JavaScript abstraction layer for overlays.
...
Also move it to it's own file.
2015-07-31 11:26:04 -07:00
Zander Otavka
377a1a54ae
Add abstraction layer for Overlays.h.
...
`examples/libraries/overlayUtils.js` allows you to manage overlays in an
object oriented manner. Instead of:
var billboard = Overlays.addOverlay("billboard", { visible: false });
...
Overlays.editOverlay(billboard, { visible: true });
...
Overlays.deleteOverlay(billboard);
You can now do:
var billboard = new BillboardOverlay({ visible: false });
...
billboard.visible = true;
...
billboard.destroy();
2015-07-31 11:26:03 -07:00
Zander Otavka
173a79867c
Extend Overlays API to allow for 3D UI panels.
...
Currently, only BillboardOverlays can be added to a panel, but more
types of overlays will be supported in the future.
2015-07-31 11:26:03 -07:00
Seth Alves
3b88500735
Merge branch 'polyvox' of github.com:sethalves/hifi into polyvox
2015-07-30 21:22:52 -07:00
Seth Alves
f2fb156d66
merge from upstream
2015-07-30 21:21:13 -07:00
Seth Alves
8d2aacb46d
send X texture to renderer
2015-07-30 15:36:07 -07:00