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"

Unreal measurement unit for PC vs Mobile

Hello world,

I had configured "max draw distance" for the assets in my map to take advantage of the various optimization features. While i was on the pc, a max distance of 5k worked well as the assets would be culled soon after their presence is no longer of any significance. On the other hand, i needed the max draw distance @ 15k to achieve the same render on my android device.

Does the unreal unit for the PC vary to the Mobile platform (Android - Default ATC profile) ? ^(0.o)^

Product Version: UE 4.14
Tags:
more ▼

asked Feb 10 '17 at 07:28 PM in Rendering

avatar image

hellwitu
85 8 10 14

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

3 answers: sort voted first

Hey guys,

This is actually related to your scalability settings. Specifically the view distance scale:

r.ViewDistanceScale=0.4

If you set the above to 1, the distance should match with the results you get in PC.

more ▼

answered Mar 10 '17 at 03:27 AM

avatar image

FS Creations
26 2 3 5

avatar image hellwitu Mar 14 '17 at 06:28 PM

Currently got my hands in AI. Will return to this asap and update.

Thanks FS..

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

from what I know 1 unreal unit is always 1 centimeter.

more ▼

answered Feb 10 '17 at 08:24 PM

avatar image

Luos
9.2k 283 63 330

avatar image hellwitu Feb 11 '17 at 03:06 PM

I believe it is. The distance anomaly might have something else to do with it.

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

It could be because of the resolution, I thought lodding was based on screen percentage not distance.

more ▼

answered Feb 11 '17 at 09:22 AM

avatar image

MonsOlympus
973 37 11 37

avatar image hellwitu Feb 11 '17 at 03:02 PM

Same resolution. Although, i am able to view a much wider portion of the level on the phone.

Edit: Had observed the camera visibility while i was in the editor. Standalone for both PC and Mobile are alike.

Max draw distance on primitives uses unreal units (1 cm = 1unit). When your camera moves beyond this point it stops rendering it.

avatar image MonsOlympus Feb 12 '17 at 05:26 AM

Well I dont understand that at all, its not like the distance changes unless it has to do with precision and thats why there is a unit conversion taking place. Have you tried measuring the distance with a trace to see if the trace is indeed the same length on both? If its the same then the issue is with the culling code itself not a unit conversion.

avatar image hellwitu Feb 12 '17 at 07:17 AM

Worth a shot. brb.

avatar image hellwitu Feb 12 '17 at 08:36 AM

Verified that the distance units are the same between the camera and any random primitive, both for the pc and mobile. But the distance anomaly persists for the max draw cull distance. Beats me why.

avatar image MonsOlympus Feb 12 '17 at 04:24 PM

Yeah that seems odd, Im not sure what function takes care of this but it could be worth looking into the source to see how it works. Its entirely possible youve found a bug :)

avatar image hellwitu Feb 14 '17 at 04:32 PM

Hmmmmmm.... (-_-)

(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