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"

HUD texture rendering artifact

I've been trying to draw a scaled texture on my HUD, but am encountering some graphical artifacts along the way. I'm using AHUD->DrawTexture() to draw a 512x512 texture into a 64x64 space on the screen.

Here is a screenshot illustrating the issue:

alt text

I couldn't find any other people with this problem, any help would be appreciated!

Product Version: Not Selected
Tags:
glitch.png (11.1 kB)
more ▼

asked Oct 02 '14 at 11:37 PM in Rendering

avatar image

buhhy
1 1 1

avatar image TimGS Oct 02 '14 at 11:49 PM

Did you try to use 64x64 texture to see if it works fine?

avatar image buhhy Oct 03 '14 at 05:19 PM

I haven't tried a 64x64 image, but rendering at 512x512 native seems to be free of artifacts. Scaling textures shouldn't cause glitches though, doesn't that defeat the point of scaling?

avatar image TimGS Oct 03 '14 at 05:24 PM

Have you tried to scale another texture? Also, can you provide screenshot of your texture settings?

avatar image buhhy Oct 03 '14 at 06:07 PM

Is this what you are asking for? I've tried to scale other .png textures, but no luck.

alt text

properties.png (64.4 kB)
avatar image TimGS Oct 04 '14 at 09:37 PM

Everything seems to be fine. Maybe it's really a scaling bug.

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

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