Questions tagged [image]
Questions related to images, including creation and modification
258
questions
1
vote
0
answers
23
views
Texture wrapping mode for KHA
I'm working on a game engine which is written in Haxe with the Kha API.
I need to set a texture to wrap mode but I can't find any function or variable to use/set.
The image is created with these ...
0
votes
0
answers
17
views
How to set up Unreal camera dimensions to export a book cover?
In the following image, you can see the camera settings of Unreal Engine.
Suppose you have a scene. How can I setup the camera dimensions to match perfectly, and ready to export, an Amazon ebook ...
0
votes
1
answer
42
views
How to fix Unity UI Panel Image being replaced with an "X"?
In my Unity Game, the Image on my UI Panel got replaced with an "X" instead of the Image it is supposed to be, I tried adding a different image to the panel and making a new panel, but it ...
0
votes
1
answer
29
views
Can I insert sound in the tooltip?
Before this, I try to insert an image in a tooltip and it was already done. But right now, I want to try to insert a sound in the tooltip. What I want to do is when I point my cursor to the object it ...
0
votes
2
answers
51
views
Display image by using tooltip
I want to display the image using a tooltip. So when I point to the 3dobject, it will display the image that I already created. Right now I already set the sprite in the tooltip but I have an error in ...
0
votes
1
answer
51
views
Show an image as Tooltip in a Unity 3D
I got the following question:
How to show an image as Tooltip in a Unity3D?
The image should only be visible if the user hovers over the 3d object.
Thanks in advance,
hidayah
0
votes
1
answer
50
views
Rendering 3D Scene Without PBR heedlessly
I am a beginner in computer graphics so I might have some terminological errors in my question. For an art project, I have a scene of modified planes with textures on them. The textures are taken from ...
1
vote
2
answers
67
views
Faster approach to iterative pixel mapping in Unity
I need to take an initial Texture2D and, depending on four sliders, remap the RGBA channels. What I currently have works, but is not very performant, especially with larger images.
...
-2
votes
1
answer
80
views
Where can I find free images for game development? [closed]
I am developing a game. Writing a program is not too difficult for me. But I have a problem with drawing images. So my question is: where can I find free images for game development? Like characters ...
0
votes
0
answers
26
views
How do I store a collection of database-based images for fast future access?
I am converting a WinForms (VB.NET) application to a Unity "game".
In the game / application the user can create books which are similar to real life books:
These books contain pages, and on ...
1
vote
1
answer
105
views
How do I make square tiles with numbers on them?
I would like to make a game called 15 puzzle. But I'm not a designer. I'm interested more in programming side of the process. So for this project I need some really simple squares with numbers. I've ...
0
votes
1
answer
205
views
How do you determine which 4 pixels to interpolate, using bilinear interpolation?
I read about bilinear interpolation on Wikipedia and many sources, but I still don't understand how do you determine which four pixels to interpolate.
For example, if I have 5 pixels(y=0), do I ...
0
votes
1
answer
298
views
1920x1080 Image don't fit to 1920x1080 screen
I'm making a game with pygame and I wanted to add a background for my game. I'm trying to add a 1920x1080 background to a 1920x1080 screen, but part of the background is not visible.
My code:
...
0
votes
1
answer
63
views
Size of an object based on a variable
The code shown below is meant to change the size of a bullet based on a changing variable. But when I put this code in the create tab, the size of the bullet stays the same, regardless of the variable'...
3
votes
0
answers
242
views
How can I generate random splatter shapes like these?
I am trying to make a tileset. I made some tiles by hand in GIMP using one of the included pencil shapes. I would like to automate the process. They need to fit in the square and have the features you ...
1
vote
0
answers
711
views
Rendering 3D items in a GUI in Unreal Engine
I have various buildable 3D items in my game like so:
These are just a few, but there will eventually be hundreds of them. The models of each of these items are displayed to the user as part of a ...
0
votes
2
answers
104
views
Make materials higher quality as the user gets closer
Scenario
I have a sphere with an low-quality earth texture on it. I also have a much higher quality earth texture (Gigabytes in size) that I can use but it's too performance intensive to use on most ...
2
votes
2
answers
104
views
What do you call an image of images? (And how does it get utilized?)
I wondered if anyone knows the terminology in which a Video Game uses an image with sets of ideas such as icons, graphical texts, and/or background images. Essentially, an 'All-In-One' image.
Likewise,...
2
votes
1
answer
898
views
How to access a ViewportTexture's depth data as an image?
I make use of ViewportTextures, kind of like rendering security cameras on screens. Now, I'd need to access the depth textures to do some comparison of images / pixels. How do I access the depth data ...
-3
votes
2
answers
350
views
Better use background chromas or transparency?
For png 2D sprites, its better use chromas or alpha channel?
What is more performant during run-time processing?
What uses less storage?
Any difference between ...
0
votes
1
answer
33
views
Icons and imagery rights
Can someone tell me if the icons and images of TravianZ in this GitHub project are public domain?
I need to create a similar game and need only the town / buildings images. Seems the project was ...
1
vote
0
answers
160
views
Is there a way where we can verify if certain image is 3D or not [closed]
I wanted to understand - Is there a way where we can verify if certain image is 3D or not
So basically I want to automate the process where we can detect if certain given image is of 3D or not
Problem:...
0
votes
0
answers
120
views
Dynamic UI Canvas on Mesh
I have dynamically generated images in WorldSpace Canvas and I need to put them somehow on shield that crashes. Is it possible tu put that canvas on mesh shader texture or render it on texture?
How ...
1
vote
1
answer
78
views
The gameloop is stucking the window
I tried to display a player image in a 800x600 window using PyGame but when I try it, the window just gets stuck (immovable with mouse drag, minimize,maximize and close button is stuck and not ...
1
vote
1
answer
122
views
How can I let the user choose his own background image?
Dear Stackoferflow Fourm I would like to have a function in my Android Game Programming that allows the user to choose his own background image (I would like to let the user change the plane image) ...
0
votes
0
answers
1k
views
How to load a PNG in pure C
PNG loading:
I've been creating a game engine for almost a year, and since the start of the development, I have been using stb_image for loading images. It ...
0
votes
1
answer
6k
views
Texture with Transparent background has black background in Unity
please see the below image. I made a model in Blender that has eye meshes with UV mapped Pupils. But trying to import all this into Unity is causing tons of weird visual errors...
The pupil png has a ...
0
votes
0
answers
153
views
Display/hide image with zoom in/out
After spending a while looking through the forums, I haven't been able to find a thread that deals with transforms on an image.
Essentially, what I'm trying to do is display and hide an image at the ...
0
votes
0
answers
516
views
Jumping a image in javascript
Which is the most efficient way to animate an HTML <img> element in vanilla javascript so that it jumps and falls back with acceleration.
Edit:
Im adding ...
0
votes
1
answer
541
views
Unity UI Objects edges are not smooth
I have this Unity UI Image placeholder and here is the snapshot
As you can see its edges are not smooth. First I thought this is editor problem but after making the build it remains the same. What i ...
0
votes
1
answer
2k
views
Different resolution for UI?
I'm developing my first game for mobile devices in Unity3D. My game uses a 720p-resolution. Currently the UI uses the same one. So far so good.
I heard that professional game-developers create their ...
1
vote
1
answer
380
views
Huge procedurally generated subway transit map
How could I generate a single transit map image
, which is not based on any real map, on a massive scale? Are there algorithms or tools which could do something like this already?
Unlike ...
0
votes
1
answer
789
views
Health bar without image collapsing to the centre in Unity 2D
I am trying to create a health bar that collapse symmetrically to the centre. The color palette of my game is minimal and the health bar is only one color that does not change with size. I am new to ...
-1
votes
1
answer
361
views
Loading the map from an image file in C++
For my platformer tile-based game I want to be able to load the game map from an image file.
Consider the following 25x15 px .png (enlarged) representing some level:
Assume that each specified ...
0
votes
1
answer
121
views
Actual Sizes of An Image loaded with a Path
I have a method which selects an Image from device. I need to show this image to users.
The codes below works fine, does what I need.
...
0
votes
0
answers
3k
views
Is there a way to assign a texture to a button and resize it in the Unreal Engine?
I'm attempting to create a main menu for my game and have followed an easy tutorial to do so. The tutorial doesn't cover assigning textures or images to buttons, so I set out to do this myself.
...
0
votes
1
answer
174
views
How do I permanently set the interpolation for every image, sprite, and texture in pyglet to GL_NEAREST in pyglet?
There are plenty of examples of posts that describe how to set the default interpolation of specific images to GL_NEAREST, for example here, but they all have to be run after the image texture is ...
1
vote
1
answer
343
views
How to add lighting to a 2D Tile-based game in JavaFX?
I'm making a 2D roguelike tile-based game with Java and JavaFX. I'm currently working on adding lighting and darkness to the dungeon, but whenever I try running it, it takes a very long time to load, ...
0
votes
1
answer
2k
views
How to make a world map from image like in paradox games? (Java, LibGDX)
I'm working on a grand strategy game similar to those made by Paradox Game Studios with their Clausewitz engine. I'm trying to create the world map from an image. On that you can see the areas, and ...
0
votes
1
answer
47
views
How do I make an image appear based on the current state I'm in?
I am following a tutorial called Complete C# Unity Developer 2D: Learn to Code Making Games. In one section we create a text-based game, where we display a canvas with some UI elements to the user. ...
0
votes
1
answer
513
views
Color of Image changes to white between 2 positions using Color.Lerp - Unity
Hi I have an empty object barHolder that I move between 10 and 98 on x-axis. It has 2 child ...
0
votes
0
answers
20
views
How can I generate high feature point images for recognition within an Augmented Reality app?
I need to automatically generate 300-400 images (for a print medium) which will be used by an AR app (using ARCore).
The printed physical image ideally would be 5" x 8" but can be 5" x 5" as well.
...
0
votes
1
answer
296
views
Libgdx - Screen tearing (or artifacts) while in fullscreen
I have a problem with libgdx, fullscreen and what I believe is screen tearing or any other sort of artifact.
In windowed mode, everything works fine, but when i switch to fullscreen, moving sprites ...
0
votes
1
answer
116
views
LIBGDX - Artifacts when scaling background image
I've got a problem with libgdx.
First off, im working with libgdx and box2d on a little physics game.
Im using the aproach mentioned in this answer and thereby setting my camera to some smallish ...
1
vote
1
answer
1k
views
Why are my screenshots created through a RenderTexture too small?
Current render result:
When I am rendering image in Unity and saving as file(.png), quality of those files are reduced. They become tiny and very poor.
How can I enhance that?
Dimension of the ...
0
votes
2
answers
247
views
How do I use images with copyright in my game? [duplicate]
Our game requires to show images from movies, cartoon characters, etc. but we don't know how we can include them.
We have seen that games like QuizUp and other guess the pic like games have images ...
0
votes
3
answers
5k
views
Stopping the texture2D from stretching in RawImage
I am working with a RawImage texture which is fully stretched, filling up the entire scene. I am using some code to download images from website and then show them on the RawImage, the code is simple, ...
0
votes
1
answer
2k
views
How to get rid of the white border/background on my png image?
I am making a game using pyGame; it is basically a space invader game, with a tank.
As we can see, this tank image I have has white borders / a white background, which I really want to get rid of.
I ...
3
votes
3
answers
3k
views
My SVG graphics don't look as good in Unity as they do in my web brower
I thought had an easy solution to getting nice smooth edges on all of my images: export them to .svg and then use Unity's new SVG importer package. However, my svg images don't really look better once ...
0
votes
0
answers
107
views
How can I send a Base64 Image?
I'm looking to make a post request with a base64 image. When I make the request, I get an error called "ERROR_IMAGE_SIZE_0"
...