BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

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 - jlewis

Pages: [1]
1
Discussion - EVE / Re: Rotating images, and CMD_TEXT not showing
« on: February 22, 2024, 10:16:44 PM »
Another ping.  Would love some help on why after CMD_ROTATEAROUND and CMD_SETMATRIX I can't see any new text I add to the Coprocessor command list.

2
Discussion - EVE / Re: Rotating images, and CMD_TEXT not showing
« on: January 12, 2024, 05:20:16 PM »
Does anybody have guidance on any of the questions above?

3
Discussion - EVE / Re: Rotated bitmaps are clipped
« on: December 21, 2023, 11:32:11 PM »
I am seeing similar things with rotating images, and then text not appearing.  Did you ever figure this out?

4
Discussion - EVE / Rotating images, and CMD_TEXT not showing
« on: December 21, 2023, 11:21:12 PM »
Hello,

I've loaded some images from flash and one in particular I am loading and then rotating several times.  I don't understand the transform/translate stuff so I couldn't get CMD_ROTATE to work.  I am using CMD_ROTATEAROUND which is fine, but even then I have to make my image square or else some part will be clipped off after rotation.

Is there a good explanation anywhere on what the CMD_TRANSLATE does, and how it interacts with CMD_LOADIDENTIY, CMD_SETMATRIX, and CMD_ROTATE?

I'm basically making the 4 quadrants of a circle by loading one quadrant image and then rotating it 3 times to complete the circle.  Is it better to do that, or to have 4 quadrant images already rotated in the correct way and avoid the rotation?

So I've loaded and rotated like so:
CMD_FLASHREAD(0, 8512, 18496)
CMD_SETBITMAP(0, COMPRESSED_RGBA_ASTC_8x8_KHR, 272, 272)
BEGIN(BITMAPS)
CMD_LOADIDENTITY()
VERTEX2F(4233, 3225)
CMD_ROTATEAROUND(136, 136, 16384, 65536)
CMD_SETMATRIX();
VERTEX2F(1744, 5472)
END()

If after that I try to add:
COLOR_RGB(241, 28, 0)
CMD_TEXT(296, 152, 30, 0, "VH6C-101")

The text does not show up.  I can move it above the FLASHREAD and it works.  If I take out either the CMD_ROTATEAROUND or CMD_SETMATRIX it works.  If I go in to the Inspector window of EVE Screen Editor I can see in the RAM_DL that there are several commands, then a DISPLAY(), then a couple more VERTEX2II commands, then the rest of RAM_DL is filled with DISPLAY().  So it doesn't seem like that first DISPLAY() should be there, right?

Also, is there any way to modify a small part of what is already drawn on screen, like changing some text or changing the color of something, without having to redo the whole display list?

Thank you for any help.

5
Discussion - EVE / Re: Images not loading correctly in EVE Screen Editor
« on: December 21, 2023, 07:42:04 PM »
I moved to adding the raw file from the image converter instead of the astc file, and that looks like it works.  If that's clear in any of the manuals I didn't see it.

Should I always be using raw?  Is there any case where I should use the astc file?  Why does the tool output these other formats if we don't use them? 

If I'm going to use one of the other output formats (which I think are either JPGs or PNGs, right?), then I would be using CMD_INFLATE with those right?  And would I use the raw file output or the PNG?  And if I'm using CMD_INFLATE then does that mean I should select the "Compressed" option in the converter?

All the different options and how they interact is confusing for me.  Thanks.

6
Discussion - EVE / Re: Display ASTC images directly from BT817 flash
« on: December 21, 2023, 07:31:58 PM »
Just wanted to add my experience for the record.  I too am getting glitches and "streaks" when I try to load images directly from flash.  Just one image does ok, but it gets worse the more I add.  I haven't tried any of the tweaks mentioned above, except for loading to RAM_G first, which does work. 

Does this mean that loading images directly from flash doesn't really work?  I don't know if I'll need that functionality yet, but I had been thinking about it.

7
Discussion - EVE / Re: Images not loading correctly in EVE Screen Editor
« on: December 19, 2023, 06:39:59 PM »
This is the screen shot for the situation described above.

8
Discussion - EVE / Images not loading correctly in EVE Screen Editor
« on: December 19, 2023, 06:17:15 PM »
Hello, I'm new to working with displays so bear with me.  I can't find any good full set of instructions for how to take a PNG, run it through the Asset Builder, create a flash file, and get it to load properly in the EVE Screen Editor.  The best I've found is section "H. Project Settings" in the EVE manual. 

To make it simple I started with a bitmap instead of my PNG, and ran it through the Converter tab of the Image Utilities in the Asset Builder.  I started with the default output format of ARGB1555, but that didn't work and I had read elsewhere that some files only load from flash if they're in ASTC format so I chose COMPRESSED_RGBA_ASTC_4X4_KHR.  Everything looked good there, so then I went to the Flash Utilities section.  I wasn't sure which file to add to the flash image but I've gotten farthest with the astc file.  Created flash file bin and map files and all good so far.

Then in ESE I load the map file as described in the manual and I get 4 items in the content window:
Status.  | Name
--------------------------------------------------------------
Flash.    | EDF Block
Overlap | bmp_24_200x200xCOMPRESSED...astc
Overlap | bmp_24_200x200xCOMPRESSED...astc.pad
Builtin   | bt817.blob

I assume the .pad file is to get the alignment that EVE wants.  Is it ok that it overlaps?  Does something need to be adjusted?  What is the blob for?  Why is it builtin?

Then I try to drag the astc file to the editor window and it crashes ESE.  I'm asked if I want to save the changes, and when I say yes, it then closes the app. 

Then trying to work around whatever is wrong with the drag and drop (it's worked before when just add images directly to the content manager), I type this into the Coprocessor window (having pieced together the various commands and parameters from other experiments):
CLEAR(1,1,1)
CMD_SETBITMAP(0x800000 | 134, COMPRESSED_RGBA_ASTC_4x4_KHR, 200, 200)
BEGIN(BITMAPS)
VERTEX2II(10,10,0,0)
END()

And I get a 200x200 image, but it's crammed 2 instances of my image side by side into the space of 200x200, and it's all distorted.  I'll attempt to attach a screen shot.  And here is where I'm stuck.  Could anybody help me with this please?  Thanks!

Pages: [1]