Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DJO_Maverick

Pages: [1]
1
General / Re: Windows .bat files wont load in Attract Mode
« on: May 20, 2023, 08:13:54 AM »
Not to unduely necro a thread, but: I've never seen retrogam3's issue mentioned anywhere else, and I have the exact same issue he does, on current Attract Plus 3.01. 

I spent two days trying to figure out why .bat and .lnk files would not launch, and scrupulously following the directions out there...  but it always went to a black screen and froze Attract.  Log wasn't helpful in diagnosing it.  Then I stumbled across this thread. 

Adding a space anywhere to the file title (like changing from "th06" to "th 06") immediately cleared up the problem; all launch exactly as intended with no further changes.

I'm guessing it's some weird, specific interaction to fly under the radar and not affect more people, but, he's not alone.

2
Themes / Config 'Display'?
« on: May 13, 2023, 07:51:40 PM »
Have been looking for evidence of a way to do this, and haven't found it yet:

Is there any way currently to make a Config (tab) menu 'display,' which is selectable by logo from a Display View layout?

Primary goal is to un-map it from any keypresses, make it only accessible from the Display View, and potentially hidable...  to prevent mischievous menu access.

3
Themes / Re: Dissolve/Gradient Effect
« on: April 16, 2023, 06:16:57 PM »
Found a solid example option in Shadertoys, but struggling to convert it to work in AM.  https://www.shadertoy.com/view/DscSW7

Original
Code: [Select]
void mainImage(out vec4 fragColor, in vec2 fragCoord)
{
    vec2 uv = fragCoord.xy / iResolution.y;
   
    float margin = 0.125;
    float radius = 0.15;
   
    vec2 halfDimensions = iResolution.xy / iResolution.y * 0.5;
   
    vec2 point = abs(uv - halfDimensions);
    vec2 corner = halfDimensions - margin - radius;
    vec2 anchor = min(point, corner);
   
    float distance = length(point - anchor);
   
    fragColor = vec4(smoothstep(radius, radius + margin, distance));
}

Modified
Code: [Select]
uniform vec2 rez;

void main()
{
float margin = 0.125;
float radius = 0.25;

    vec2 uv = gl_FragCoord.xy / rez.y;
   
    vec2 halfDimensions = rez.xy / rez.y * 0.5;
   
    vec2 point = abs(uv - halfDimensions);
    vec2 corner = halfDimensions - margin - radius;
    vec2 anchor = min(point, corner);
   
    float distance = length(point - anchor);
   
    gl_FragColor = vec4(smoothstep(radius, radius + margin, distance));
}

I know pretty much nothing about coding these myself, so I'm sure I'm missing something stupid.  At the moment, it's just changing the snap to a solid white rectangle.

4
Themes / Dissolve/Gradient Effect
« on: April 14, 2023, 09:23:18 PM »
Trying to throw together a custom layout at the moment (sort of porting something I did for ES a while back for personal use), and can't quite find how to achieve a certain effect.

I'd like my video snap to be in a bit of a spotlight effect, where it is rounded off (circular or ovoid...  or trapezoidal, long story) but the image dissolves at those edges.  I gather something like that would have to be done with a shader, wondering if anyone has one in use for similar purpose, or could give me some guidance on how to implement it?

Thanks,

Pages: [1]