Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Usage of clipboard-data as Texture

  1. #11
    Quote Originally Posted by Petr Schreiber View Post
    Nvidia sometimes surprises me badly with NPOT textures incorrectly aligned.
    I think you won't ever have any problems with non-POT texture alignment if you set glTexParameteri(GL_CLAMP_TO_BORDER) for much cleaner poly edges even if the texture has edge alpha-transparences.
    Mike
    (3.6GHz i5 Core Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, x64 Windows 7 Ultimate Sp1)

  2. #12
    Damn, I never thought POT could get this technical.
    Attached Images Attached Images
    ScriptBasic Project Manager
    Project Site
    support@scriptbasic.org

  3. #13
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732
    Hi Mike,

    sadly the issues I have observed have nothing to do with filtering, it is simply data corruption of some kind.
    I was manipulating crops from photos at various sizes, so clamping to edge enabled and still... bad results - sometimes, for some sizes.


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  4. #14
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732
    Hi Rene,

    I created an issue for your suggestion here.

    In the attachement, please find first attempt at implementation of Clipboard_GetBitmap (module + test).


    Petr
    Attached Files Attached Files
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  5. #15
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,530
    Rep Power
    171
    cool. one step beyond
    I think there are missing some Forum-sections as beta-testing and support

  6. #16
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732
    Updated version, with Clipboard_SetBitmap(bgraData, width, height).

    Let me know, if it works as you need!


    Petr
    Attached Files Attached Files
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  7. #17
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,530
    Rep Power
    171
    great, that'll keep me busy for ...some time... thanx Petr
    I think there are missing some Forum-sections as beta-testing and support

  8. #18
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732
    Ciao Rene,

    did you have time to experiment with new functionality, does it work as you expect?


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  9. #19
    While waiting to hear back from Rene, I have a quick question.

    Have you made any progress with making TBGL non-thinBasic specific? With the PB developments or lack of them it might be worth considering.
    ScriptBasic Project Manager
    Project Site
    support@scriptbasic.org

  10. #20
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732
    Hi John,

    good question. I am considering multiple... things at the moment. It is one of the items on the table, but I can't make any promises on that at the moment.
    Regarding PB, I didn't gave up yet. Gary Beene is on the boat with them now, and he is very powerful wizard.


    Petr
    Last edited by Petr Schreiber; 08-07-2014 at 18:58.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. getting info from the clipboard
    By stapper in forum UI (User Interface)
    Replies: 4
    Last Post: 08-08-2011, 20:23
  2. Data trigger and data events
    By ErosOlmi in forum TBEM module - thinBasic Event Manager module
    Replies: 9
    Last Post: 10-10-2008, 22:54
  3. How to put Down Arrow into clipboard
    By jbellies in forum OS
    Replies: 11
    Last Post: 23-10-2007, 19:54
  4. NEW ThinAIR utility (TBCode to Clipboard)
    By RobertoBianchi in forum thinAir General
    Replies: 2
    Last Post: 31-05-2006, 14:19

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •