Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document VR manipulators #349

Closed
tngreene opened this issue May 8, 2018 · 17 comments
Closed

Document VR manipulators #349

tngreene opened this issue May 8, 2018 · 17 comments
Assignees

Comments

@tngreene
Copy link
Contributor

tngreene commented May 8, 2018

VR manipulators need good documentation on how to construct them! See #314 for more details

@tngreene tngreene self-assigned this May 8, 2018
@arb65912
Copy link

arb65912 commented May 8, 2018

As well as regular manipulators in my opinion. (documentation)

@tngreene
Copy link
Contributor Author

tngreene commented May 8, 2018

Indeed! I have not forgotten about it! Related bugs: #286

@lehthanis
Copy link

@tngreene I emailed you but it may have gotten lost...I attempted a drag rotate and got a pretty weird error...maybe I'm just confused: Rotation dataref values for the Drag Rotate manipulator attached to GearHandle_A_Front are not in ascending or descending order.

I'm not sure what order is not ascending or descending? So yeah, there's some docs in the gitbook, but it's missing the example blend file and doesn't really explain the requirements for each manip very well.

@tngreene
Copy link
Contributor Author

Hi @lehthanis ,
Thank you for trying again, yes, I think your e-mail did get burried. Is the link not working for you?

Its under the section "Further Reading>Example Blend Files".

@tngreene
Copy link
Contributor Author

If it doesn't work for you, here it is again.
example_vr_manipulator_types.zip

@tngreene
Copy link
Contributor Author

To describe more about "not in ascending or descending order", this is an example keyframe table that should trigger this:

Rotation Degrees Dataref Value
0 0
30 5
90 1

As you can see, the sequence of Dataref values (0, 5, 1) is not ordered properly. Does that make sense? How are you trying to animate manipulator? And, what parts of the guide do you think are lacking or hard to understand?

@lehthanis
Copy link

I'll try the download again. I think there may be a problem then because My gear handle has two rotation keyframes, on frame zero the X axis rotation is 10 degrees, and on frame 100 the X rotation is -20 degrees...that's a 30 degree rotation range from handle down in frame zero and up in frame 100.
There's a transform dataref assigned with two keyframes...frame 0 the dataref keyframe value is 1, and frame 100 the dataref keyframe value is 0.
That sounds like it should be ok.

@lehthanis
Copy link

@tngreene still struggling with this one error...
ERROR: Rotation dataref values for the Drag Rotate manipulator attached to GearHandle_A_Front are not in ascending or descending order.

you can see in the image there's only two keyframes...any thoughts?
https://imgur.com/kivWr9U

@tngreene
Copy link
Contributor Author

tngreene commented Aug 6, 2018

That's a very good picture. Could you post another picture of the second frame?

@lehthanis
Copy link

@tngreene yup, will do, should I open a new issue first?

@lehthanis
Copy link

@tngreene just in case: here's the other frame: https://imgur.com/7M5lSXh

@tngreene
Copy link
Contributor Author

tngreene commented Aug 6, 2018

@lehthanis You've found an actual bug! Thank you! Fortunately it is an easy bug. Moving this conversation #367

@lehthanis
Copy link

@tngreene YAY! I'm actually useful!

@lehthanis
Copy link

@tngreene going through the examples, I didn't see anything that covered manipulations like yokes or flight sticks in Vr. Also how are those green boxes supposed to be done? A good example would be the throttle manipulator for the cirrus jet. Or the center throttle grabber for dual throttles ?How do we make that non rendering but draggable geometry?

@tngreene
Copy link
Contributor Author

Here's an issue with gitbooks! The current link to the example gets mangled by some browsers. For instance, (./content/example_vr_manipulator_types.zip) gets turned into (./content/content/content/example_vr_manipulator_types.zip)

Basically no one can use that link. Hence I'm uploading the latest version in this issue, because github's links DO work for people and stick around! This hopefully isn't a permanent solution. Maybe they'll fix their stuff.

example_vr_manipulator_types.zip

@tngreene
Copy link
Contributor Author

Who wants a good tutorial on Axis Detent Ranges? Everybody! What a .blend file we've got. (Now referenced in the manual!) axis_detent_range_tutorial.zip

@tngreene
Copy link
Contributor Author

  • Creating VR manipulators
  • Validation rules for VR manipulators
  • Using ATTR_manip_keyframe for Drag Rotate Regions
  • Covered Axis Detent Ranges and the validation table
  • Made some basic examples (more like very basic)
  • Put more example use cases online
  • Talked about what Autodetect Datarefs does

Good enough for now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants