Skip to main content
7 votes

Applying a face image to a mesh head

I am one of the developers of the itSeez3D application you linked in your post. Accidentally stumbled upon your question. @Kevin van der Velden provided an entirely relevant reference here, I would ...
Aleksei Petrenko's user avatar
3 votes
Accepted

How do I detect a given sprite's bounds automatically using Java?

You first need to scan the image for the edges. You need to loop through each pixel in the image and store the position of the pixel closest to the left, the pixel closest to the right, etc. Pixels ...
Bálint's user avatar
  • 15.1k
3 votes
Accepted

Unity: White outline around seams in my character, make it stop!

Lines around texture seems aren't usually caused by anti aliasing, since that's only doing multiple passes per fragment. If it isn't visible without anti aliasing, it won't be visible after either. ...
Bálint's user avatar
  • 15.1k
2 votes
Accepted

Downscaling texture via mipmap

Your problem is that you initialize your sampler description by setting all of it's members to 0, via ZeroMemory. See this related question and answer: How to fill/initialize D3D11_SAMPLER_DESC ...
Maximus Minimus's user avatar
1 vote

Processing an image of land and water into a stylized map

One way you could do it is, make background color black for ease of recognition identify every single non-black border pixel of the blob in your image create a list of these pixel coordinates in ...
Engineer's user avatar
  • 30.4k
1 vote
Accepted

How to apply brightness/contrast adjustment to a texture's pixels?

This is not a good use of a matrix. Just write it as a plain old float multiplication / addition (or power, if you're using gamma, which cannot be represented as a matrix operation). ...
DMGregory's user avatar
  • 140k
1 vote
Accepted

How to generate a correct RGB + Luminance histogram?

The solution to the problem I was having was firstly ensuring that the input image was not compressed in any way, so having it as none. Moreover, the maxSize in the import settings of the texture had ...
GameDevNerd's user avatar
1 vote
Accepted

Rendering tiles at a larger size for a detailed look

The solution in my case was simple, check if the tile is 'None'. If yes, then pass it, but if not, transform it to a larger size. This is the full code that should be used: ...
hanmic-6's user avatar
1 vote

Function to draw an image inside a rectangle

You do it backwards. You need a transformation that maps from the original image to the cuadrilateral. Well, actually, you need the inverse. In particular, you want a transformation matrix such that ...
Theraot's user avatar
  • 28.2k

Only top scored, non community-wiki answers of a minimum length are eligible