Page 1 of 1

Texture Color Picker and Load Dropframe

Posted: 16 Apr 2015, 22:37
by arthamas
Hi guys,

Here's my situation.
I have an unknown number of logos with the .tga type with alpha in them.
The alpha is hiding the part of the texture where I need to pick the color from so instead of picking the color I'm moving the image in clamp mode in 1000 in x and -1000 in y so I get a full color at the end which works.
There's two issues.

-I would like to use the picking of color but it does not work since the color I need is full transparent.(Currently changing the mapping of two images(Current and Previous Image to get a crossfade of color))
-Both solutions drop frames when loading the image in ventuz. I tried Async mode but you see gray for a while before the texture actually gets loaded. I don't wanna convert those images into .dds since I won't be the one making the rest of the images later on and I don't know how many images are there.

Any solution?

Re: Texture Color Picker and Load Dropframe

Posted: 17 Apr 2015, 09:22
by Karol
Hi Daniel!

Do you have a small demo scene/archive for us so we can reproduce your issues easily?

Best Regards
Karol

Re: Texture Color Picker and Load Dropframe

Posted: 17 Apr 2015, 20:30
by arthamas
Hi Karol,

Here's the logo I'm trying to pick the color from. I need to pick the top left color but can't get to it since this part of the image is transparent.
Loading this logo 512x512 with .tga format is jittering my renderer in my scene.

Daniel

Re: Texture Color Picker and Load Dropframe

Posted: 19 Apr 2015, 11:36
by Christian Krix Schmidt
Hi there.

Funny enough I am working with exactly the same kind of TGA logos. :) I also have to grab the color from the outer image edges and (luckily) did not encounter any problems. Switching images did not cause frame drops when Async mode was activated. I loaded the images from a network drive and it was still fine.

I am pretty sure it must be something else. What Ventuz version are you using? I'm on V4.06.01.35. I uploaded a simple Ventuz scene that uses your image, reads out the color from the top left corner and uses the color on a background rectangle. It matches the color when picked in Photoshop and also outputs 0 as the Alpha value as it should.

Chris

Re: Texture Color Picker and Load Dropframe

Posted: 21 Apr 2015, 16:06
by arthamas
Hi Christian,

Thanks for the feedback. I actually found out just after posting on the forum how to properly use the Color Picker feature. It works.
My issue was mostly the loading time when on Async mode that was too long. I fixed it by waiting until the image was loaded before triggering the animation.

Thanks again and have a good day.

Daniel