Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Decals/Custom Models
Hypercube Offline
Member

Posts: 124
Threads: 20
Joined: Sep 2015
Reputation: 1
#12
RE: Decals/Custom Models

(06-22-2016, 08:30 PM)Abion47 Wrote: When you are drawing an image onto a terminal from a texture (i.e. a DDS file), you need to specify that the image is a texture using eImGuiGfx_Texture when you put it into the ImGui_DoImage function. Otherwise, it will default to thinking the image is an image file, and it won't render properly (if at all).

void terminal_OnGui(const tString&in asEntityName, float afTimeStep)
{
    ImGui_DoImageCorrectAspect(cImGuiGfx("aries_logo", eImGuiGfx_Texture), cVector3f(25, 25, 0), cVector2f(800, 800));
}

I only wanted to try doing it the other way because that's how they would specifically get a small image of it to appear in the bottom right corner of the screen, without having to do all of this. I'll just type that in, though, seems easier. Thanks a lot though for helping.
06-22-2016, 08:37 PM
Find


Messages In This Thread
Decals/Custom Models - by Hypercube - 06-21-2016, 05:57 AM
RE: Decals/Custom Models - by TiManGames - 06-21-2016, 08:38 AM
RE: Decals/Custom Models - by Abion47 - 06-21-2016, 06:47 PM
RE: Decals/Custom Models - by A.M Team - 06-21-2016, 06:56 PM
RE: Decals/Custom Models - by Hypercube - 06-22-2016, 12:27 AM
RE: Decals/Custom Models - by Hypercube - 06-25-2016, 02:20 AM
RE: Decals/Custom Models - by Abion47 - 06-21-2016, 10:05 PM
RE: Decals/Custom Models - by Abion47 - 06-22-2016, 12:50 AM
RE: Decals/Custom Models - by Hypercube - 06-22-2016, 01:23 AM
RE: Decals/Custom Models - by Abion47 - 06-22-2016, 01:47 AM
RE: Decals/Custom Models - by Hypercube - 06-22-2016, 02:09 AM
RE: Decals/Custom Models - by Abion47 - 06-22-2016, 08:30 PM
RE: Decals/Custom Models - by Hypercube - 06-22-2016, 08:37 PM
RE: Decals/Custom Models - by TiManGames - 06-25-2016, 11:07 PM
RE: Decals/Custom Models - by Hypercube - 06-25-2016, 11:35 PM
RE: Decals/Custom Models - by TiManGames - 06-26-2016, 09:46 AM
RE: Decals/Custom Models - by Abion47 - 06-25-2016, 11:50 PM
RE: Decals/Custom Models - by A.M Team - 06-29-2016, 04:08 PM
RE: Decals/Custom Models - by Abion47 - 06-29-2016, 06:19 PM
RE: Decals/Custom Models - by Hypercube - 06-29-2016, 07:21 AM
RE: Decals/Custom Models - by TiManGames - 06-29-2016, 02:33 PM
RE: Decals/Custom Models - by Hypercube - 06-29-2016, 04:49 PM



Users browsing this thread: 1 Guest(s)