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"

Fill image fill background image, but wrong

alt text Hello, I think, that is bug. When my red heart fill black heart (background), it is done in 64% instead of 100%, why? And how fix that? PS: I am using progress bar.

Product Version: UE 4.15
Tags:
more ▼

asked Mar 14 '17 at 05:57 PM in Bug Reports

avatar image

Renzotom
24 3 7 10

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

1 answer: sort voted first

Hello Renzotom,

Your issue could be caused by your tiling setting that you have for your image, the settings associated with them can cause a progress bar to look complete when in fact it's starting the tile for the next bar.

more ▼

answered Mar 14 '17 at 07:08 PM

avatar image

Thomas G ♦♦ STAFF
7.1k 64 4 54

avatar image Renzotom Mar 14 '17 at 07:45 PM

alt text I set in my background and fill image NO TILLING, but there is still problem, but now there is 66% instead of 64%.

avatar image Renzotom Mar 14 '17 at 08:00 PM

I am tried add new progress bar and only change background and fill image to the heart. It looks like that: alt text But... here is also problem, it is complete when reach 60%.

avatar image Thomas G ♦♦ STAFF Mar 14 '17 at 08:36 PM

Your issue may be in how you are laying the image & size. I was unable to reproduce your issue. However, I did get a heart to successfully change fully from one color to another.

Firstly I made 2 images based on the same Heart to ensure they were the same size (Screenshot_01 & Screenshot_02) alt text alt text

Next, I Created a new Widget Blueprint and added a progress bar as a child of the canvas Panel (Screenshot_03) alt text

Next, I imported both heart images into my project and opened the details for my Progress bar

After that, I set the Background Image as the Empty Heart. I set its image size to 128 for both X and Y, set Draw as to Image, and set tiling to No Tile

Next, I set the Fill Image as the Pink Heart. I set its image size to 128 for both X and Y set Draw as to Image, and set tiling to No Tile.

Next, I set the Percentage to 0 and set the Bar fill type to Bottom to Top (Screenshot_04) alt text

Next, I changed the Percentage around to make sure the images lined up. And with the following set of the Heart should transition fully from One color to the other without issue.

avatar image Renzotom Mar 14 '17 at 08:56 PM

Maybe it is beacuse my Heart made in Blender isn´t too big (or isn´t too good on camera)? You can see there I have too many space around (but I am tried make it via camera better, but it is too hard :( . alt text

See, I tried it how you do it and still nothing. alt text

I think, that Heart is bad, but I don´t know, how do it in Blender :/

avatar image Renzotom Mar 15 '17 at 01:25 PM

I am found method, how import correct Heart, thank you for good answer. And can you look to my other questions please?

avatar image Thomas G ♦♦ STAFF Mar 15 '17 at 03:27 PM

Blender is generally used as a 3D asset creation program, and may not be the best choice for creating 2D elements. There are many free 2D drawing programs out there that may be better for creating the asset you need!

avatar image Renzotom Mar 15 '17 at 04:07 PM

I know, but when I create 3D object (ex. pickable heart), I want same heart for HUD, so I simple render 2D image from that 3D object, when I must make new in another 2D drawing program, it will be more time-consuming.

(comments are locked)
10|2000 characters needed characters left
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