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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

when will VR painting become available in UE?

Product Version: UE 4.14
Tags:
more ▼

asked Jan 31 '17 at 04:35 AM in VR

avatar image

richardbaxter
16 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Peter Stefcek has provided an implementation method for the Unreal Engine VR painter (https://www.youtube.com/watch?v=6BE2c5TBvV4).

To implement the painter I performed the following;

  1. Followed the instructions on https://www.youtube.com/watch?v=6BE2c5TBvV4

  2. Where appropriate, copied and pasted the code from the official RenderTargets documentation (https://docs.unrealengine.com/latest/INT/Engine/Rendering/RenderTargets/BlueprintRenderTargets/HowTo/HeightFieldPainter/1/index.html)

  3. Applied the following additional modifications (not explicated in the audio)

  • Paint_BP brush - moveable

  • Paint_BP blueprint - static mesh component - moveable

  • Paint_BP blueprint - static mesh component - can character step up on - No

  • Paint_BP blueprint - static mesh component - overridden lightmap resolution 1024

  • Paint_BP blueprint - brush size - 0.1

  • Paint_BP blueprint - brush strength - 1.0

  • Paint_M: Blend mode - Additive

  • Paint_M: Shading model - Unlit

  • Paint_M: Allow negative emissive colour

  • PaintCharacter_BP/MotionController_BP: Trace from Actor - set interaction distance param to 1000.0

  • Project Settings - Support UV From Hit Results - restart editor

  1. For VR motional controller integration, I adapted the code from PaintCharacter_BP (First Person Character) for MotionalController_BP. See attached blueprint code UnrealEnginePainter-VRmotionControllerBlueprintCode.png:

  • MotionController_BP: Create the following boolean variables: triggerDownL/triggerDownR

  • MotionController_BP: wire events MotionController (L/R) Trigger to triggerDownL/triggerDownR

  • MotionController_BP: wire Event Tick to Trace from Actor depending on (Branch) status of Hand (left/Right) and triggerDownL/triggerDownR

  • MotionController_BP: set Trace from Actor input variables to Motion Controller - getWorldPosition/getWorldRotation

alt text

more ▼

answered Feb 06 '17 at 02:36 AM

avatar image

richardbaxter
16 1 2 4

avatar image jetese Nov 08 '18 at 08:53 AM

is this working in 4.20 v? I tryed the tutorial with yours annotation but i dont get to paint the Paint_M. When i press click on the surface, its paint automatically just the corner. Thanks richard!

avatar image jetese Nov 12 '18 at 11:43 AM

i fixed it. I had to set Project Settings > Engine > Physics > Optimization > Support UV From Hit Result to true

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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