Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Just in case anyone's still looking, I restarted...

    Just in case anyone's still looking, I restarted the engine part from scratch, created a project called dragonbuilder (because I plan to re-implement the Dragon Quest Builders 2 engine on linux) and...
  2. Despite managing to somehow get past the NULL...

    Despite managing to somehow get past the NULL pointer issue I've now encountered an issue with runtime that leads to the system killing the app without leaving any clues as to what caused the...
  3. Object getting wiped before it's supposed to

    Lee Shallis / glEngine * GitLab

    I managed to construct the randomised GFX_IMAGE for my 3rd "model" (just a triangle, will apply collisions later which is why all my test triangles are given their...
  4. Replies
    8
    Views
    542

    Finally figured out the root of my problem, it...

    Finally figured out the root of my problem, it was never the filters, it was the way I was reading the expanded zlib data (after zlib or my version had been through it), still haven't managed to fix...
  5. Replies
    8
    Views
    542

    Well integer math was definitely the way to go,...

    Well integer math was definitely the way to go, the filters do appear to work for 8 bit values and I can remove the forced underflow/overflow code by just shifting the values to the end in the...
  6. Replies
    8
    Views
    542

    Well for starters I'm actually working with 2...

    Well for starters I'm actually working with 2 buffers, both contain the final result but the 1st buffer contains an extra column and row to remove the conditionals from the process, the extra column...
  7. Replies
    8
    Views
    542

    Having found a way to compare the values of the...

    Having found a way to compare the values of the original vs the result I found there appears to be a problem with my 'nearest' filter

    (Bottom function, rest are provided for context)


    long...
  8. Replies
    8
    Views
    542

    Oh that's just the unsupported CRC part that I'll...

    Oh that's just the unsupported CRC part that I'll get to later, for now it's just a place holder
  9. Replies
    8
    Views
    542

    In addition to the failing bit depth handling...

    In addition to the failing bit depth handling during the de-filtering process I've noticed an (unrelated) issue with my zlib code (results are the same regardless of whether I use my code or official...
  10. Replies
    0
    Views
    171

    CBoard Dark Style

    If anyone was looking for a decent dark style for the board I wrote this in my xstyle addon for firefox (note I have trimmed out other domains that were in it):



    @-moz-document regexp(".*")
    {...
  11. Replies
    8
    Views
    542

    de-filtering a 4 bit depth png image

    Been doing a work trial (which fell through because it was too much for my body to take) and left the code alone due to exhaustion, when I came back to it I had some bugs to fix (among which a memory...
  12. Thread: macros???

    by awsdert
    Replies
    4
    Views
    374

    For what aghast means in the 3rd approach I...

    For what aghast means in the 3rd approach I believe the below extract from my own code is a relatively good example:



    typedef enum _IMAGE_CHANNELS
    {
    IMAGE_CHANNEL_R = 0,
    IMAGE_CHANNEL_G,...
  13. Thread: adler32

    by awsdert
    Replies
    2
    Views
    306

    By that I assume I'm supposed to keep hold of...

    By that I assume I'm supposed to keep hold of each IDAT chunks result then?
  14. Replies
    3
    Views
    317

    Thx :)

    Thx :)
  15. Replies
    4
    Views
    285

    That only works one way though, I was looking for...

    That only works one way though, I was looking for both up and down 1, 2, 4 to 8 or 16 to 8, the gist of it is that I need to be able to convert to byte values when passing to the gpu
  16. Thread: adler32

    by awsdert
    Replies
    2
    Views
    306

    adler32

    I did a copy paste then modified the code to be more efficient for this function, anyone have any idea where this prior_key value comes from?

    Linkified source url:
    assorted/Deflate (zlib)...
  17. Replies
    3
    Views
    317

    Since hamster_nz is able to produce the lists for...

    Since hamster_nz is able to produce the lists for zlib format I'll ask this, for the image noted in my previous post could you generate a list of the huffman codes it's supposed to have, I wanna...
  18. Replies
    3
    Views
    317

    Final filter test failing

    Got round to trying my filters on the last 2 images of the filter test set in the png suite, the colour worked fine but the greyscale dot didn't work out, from what I've seen so far it seems my...
  19. Replies
    4
    Views
    285

    Simplified the math to a single function for ease...

    Simplified the math to a single function for ease of use:



    uintmax_t ScaleDepthWithoutFPN( uint dstDepth, uint srcDepth, uintmax_t value )
    {
    uintmax_t limit = 0, scale;
    limit = ~(~limit <<...
  20. Replies
    4
    Views
    285

    Never mind I figured it out: int...

    Never mind I figured it out:



    int SaveImagePPM( IMAGE *Image, FILE *file )
    {
    ulong Rows = Image->Rows, row;
    ulong Cols = Image->Cols, col, i;
    ulong keep = ~(~0UL << (Image->Depth + 8));
  21. Replies
    4
    Views
    285

    Scaling integer values without FPNs

    I'll start with the function so you can see what I'm trying to do:


    int SaveImagePPM( IMAGE *Image, FILE *file )
    {
    ulong Rows = Image->Rows, row;
    ulong Cols = Image->Cols, col, i;
    ulong...
  22. Replies
    125
    Views
    6,606

    Took me long enough to notice it but I figured...

    Took me long enough to notice it but I figured out where I was going wrong for filter type 4, I was loading the wrong value as pixel c, fixing that resulted in the expected greyscale image, didn't...
  23. Replies
    125
    Views
    6,606

    Never mind about the pixel grabbing, chose to go...

    Never mind about the pixel grabbing, chose to go with a solution that required multiplying rows against columns

    Filter types 0 - 3 all work properly now, 4 resembles the expected (8b9c389d) *...
  24. Replies
    125
    Views
    6,606

    With the zlib decompression fixed I'm moving onto...

    With the zlib decompression fixed I'm moving onto fixing my filters as apparantly only filter type 0 was working correctly, before I proceed though I'd like to know if anyone has any ideas on how to...
  25. Replies
    125
    Views
    6,606

    Finally got it right! Don't remember where I read...

    Finally got it right! Don't remember where I read it but something made me think the loop codes were supposed to have the same length as the type code + 1, strange thing is that despite having tried...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4