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

Thread: Usage of clipboard-data as Texture

Share/Bookmark
  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.2GHz i5 Core Quad w/ 8GB RAM, 2 x GTX 550Ti SLI-bridged w/ 2GB VRAM, x64 Windows 7 Ultimate Sp1)

  2. #12
    Damn, I never thought POT could get this technical.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	POT.jpg 
Views:	66 
Size:	87.8 KB 
ID:	9047  
    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
    6,759
    Blog Entries
    3
    Rep Power
    688
    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  4. #14
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,759
    Blog Entries
    3
    Rep Power
    688
    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  5. #15
    thinBasic MVPs ReneMiner's Avatar
    Join Date
    Oct 2012
    Location
    Germany
    Age
    47
    Posts
    1,213
    Blog Entries
    1
    Rep Power
    132
    cool. one step beyond
    Windows 10 on
    Desktop: Intel Core i5-3330 @3.0 GHz, 8 GB Ram, nVidia GeForce GT630 2 GB
    Laptop: Intel Core i3-4005U @1.7GHz, 8 GB Ram, nVidia GeForce 940M 2 GB


    The limit is Imagination

  6. #16
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,759
    Blog Entries
    3
    Rep Power
    688
    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  7. #17
    thinBasic MVPs ReneMiner's Avatar
    Join Date
    Oct 2012
    Location
    Germany
    Age
    47
    Posts
    1,213
    Blog Entries
    1
    Rep Power
    132
    great, that'll keep me busy for ...some time... thanx Petr
    Windows 10 on
    Desktop: Intel Core i5-3330 @3.0 GHz, 8 GB Ram, nVidia GeForce GT630 2 GB
    Laptop: Intel Core i3-4005U @1.7GHz, 8 GB Ram, nVidia GeForce 940M 2 GB


    The limit is Imagination

  8. #18
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,759
    Blog Entries
    3
    Rep Power
    688
    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  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
    6,759
    Blog Entries
    3
    Rep Power
    688
    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

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

Posting Permissions

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