x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to measure frustum at a given distance from camera?

Is there a way to get the bounds / frustum coordinates of a scenecap2d at a given focal distance?

I'm not seeing a way of getting either 6 vectors for the frustum volume coordinates or 4 vectors for a plane at a given distance from camera. There's "Draw Debug Frustum" BP node, but when I plug the transform of a camera into it just draws a square at the camera position, not a frustum / truncated pyramid.

Also, in the "show" menu I'm able to turn on "camera frustums", but I only see this in-editor, not during play. I have both scenecap2d's and cameras in the level and "ShowFlag.CameraFrustums 1" has no effect on either of them.

Would greatly appreciate any help you can provide. Hopefully there's something that can be done in BP, I'm hoping to hold off on cpp until I finish my prototype.

Product Version: UE 4.21
Tags:
more ▼

asked Feb 02 '19 at 04:10 AM in VR

avatar image

soylent_me
6 2 6

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question