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 ...
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 ...
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.
...
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 ...
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 ...
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).
...
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 ...
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:
...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
image-processing × 34unity × 9
c# × 6
c++ × 4
opengl × 4
textures × 4
java × 3
rendering × 3
algorithm × 3
image × 3
sprites × 2
graphics × 2
procedural-generation × 2
directx11 × 2
hlsl × 2
terrain × 2
uv-mapping × 2
pixel × 2
compute-shader × 2
2d × 1
shaders × 1
mathematics × 1
directx × 1
glsl × 1
monogame × 1