Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 60

Thread: TBGL-3d-Editor [Announcement]

  1. #21
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,527
    Rep Power
    170
    Hi Petr,

    currently I have more ambitions to create the GUI as independent one.
    And wait until Eros has done some magic about the loading codelines from file - so the loading of data to TBGL-apps is really fast.
    Maybe someone else has some functions ideas to integrate into the editor.
    In the meantime I'll try to create the TBGL-GUI - but as you see in code - there's a problem with localization of keyboard (the program has a very german keyboard-layout. You can change that in the beginning of Unit INPUT to localize your keyboard. Maybe can be done by some ini-file later.

    Also the GUI has to take care of reading in Mouse and Keyboard and a whole frame has to be done with same values... there are a few things to think about, but we can create something better than Windows 3.11 in any case
    Last edited by ReneMiner; 15-04-2013 at 20:45.
    I think there are missing some Forum-sections as beta-testing and support

  2. #22
    Member
    Join Date
    Nov 2012
    Location
    Missouri, USA
    Posts
    113
    Rep Power
    29

    TBGL3dEd

    Rene,

    I just downloaded and installed your latest update. It now runs fine.
    The zoom and panning are so smooth. Awesome. Oh, it ran both
    ways for me; double-click MAIN, or execute via thinAir.

    Bill
    Last edited by Billbo; 15-04-2013 at 21:15.

  3. #23
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,527
    Rep Power
    170
    I hope you like the automatic texturing feature - and my cute little textboxes (as coordinate-boxes) - they have a lot of features - just point a number with the mouse and turn the wheel...don't forget to try right-click them...
    (but you've already read the help i guess)
    Last edited by ReneMiner; 15-04-2013 at 21:16.
    I think there are missing some Forum-sections as beta-testing and support

  4. #24
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732
    The program is really nice, and what I appreciate most - with documentation


    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

  5. #25
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    I just counted the number of lines you wrote:

    MAIN 511
    SpecificColour.tBasicU 355
    Specific3d.tBasicU 2031
    SpecificTools.tBasicU 1768
    SpecificTBGL.tBasicU 1554
    SpecificFILE.tBasicU 1714
    SpecificInput.tBasicU 689
    Gadgets.tBasicU 7033
    15655

    What a f...k

    Gadgets merit to become a library.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  6. #26
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,527
    Rep Power
    170
    Yes, I thought about something like making the Gadget-Stuff a TBGL-AddOn - since it runs in TBGL-Window only - but not in Canvas-bound TBGL because OS interferes. So the colour-thing and input are Gadget-Stuff also a little bit. And of course it's a lot of Call_IfExists used so I have my own "events" - just not to call them "callbacks". But I think, Callbacks could, as I mentioned in some other thread, work the same easy way - all it needs is a constant-string-"array" built-into UI and some Tag-String to the Controls, so Callback works that way:

    '...
    Control Add Button ...
    Control Set Tag hWnd, hCtrl, "mySpecialButton"
    '...
    
    Callback Function xxcb()
    
    'static lX, lY as Long
    'Control Get Loc CBHNDL, CBCTL to lX, lY
    
    CallIf_Exists "Event_" + $sCBMSG(CBMSG) + "_" + $sCBCTLMSG(CBCTLMSG) + "_" + CONTROL(CBCTL).Tag _
                                             (CBCTL[,mouseposX - lX, mouseposY - lY])
    'and nothing else is needed in callback
    
    End Function 
    ' other Subs read than as this for example (Userdefined)
    
    Sub Event_Command_ButtonClick_MySpecialButton(Byval CTRL_ID as Dword _
    '[, maybe pass mousepos inside control also - saves lot of calculations later] _
    )
    
    'So can have 1 or 1000000 MySpecialButton-Controls 
    ' we have CTRL_ID as an Index - so similar controls can have same .Tag  and can be proceeded in same sub if desired
    
    End Sub
    
    Edit: maybe "Event_" could be replaced by Dialogs Tag... I forgot that UI has more than one window...
    Last edited by ReneMiner; 17-04-2013 at 12:53.
    I think there are missing some Forum-sections as beta-testing and support

  7. #27
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,527
    Rep Power
    170
    @Billbo,

    I had tonight (late evening) don't laugh - a hilarious problem- I still had Avira on my pc.

    The windows 8-built-in pdf reader was not working any more from one day to another, so I contacted Microsoft-Support because I suspected one of their updates...Result was, Avira has messed some remote-procedure-dll or stuff and I had to reset/recover my system to shipping state... oh what a nightmare... all installations screwed! I have to download all the driver stuff, browser, jre, vlc and install again... Also thinBasic. So I installed this - about two hours ago...

    Now guess what: the default-preinstalled Antivirus-Software shipped with this computer (Norton) instantly deleted thinBasic and a messagebox that informed me about:
    "Norton has successful defeated an attempted attack and eliminated the virus"
    ...and my fresh installed thinBasic 1.9.5.0 was gone. And in a way that an uninstall was not possible while the re-install asked to uninstall first - and it still was in the installations list.

    Next thing that was gone from my system was Norton and I have to live with "Windows Defender" now.

    I got really nice night-fight nightmare tonight and still doing a re-installing marathon of all the software, re-arrange all my desktop-settings and also browser, explorer, graphics driver settings - just because some stupid anti-virus-software that screwed my system!

    ---

    and for the new readers: download attached to first post of this thread
    Last edited by ReneMiner; 16-04-2013 at 02:29.
    I think there are missing some Forum-sections as beta-testing and support

  8. #28
    Rene
    Try use KinsoftAnttivirus and you will neve not such a stupid and very annoying problems.

  9. #29
    Member
    Join Date
    Nov 2012
    Location
    Missouri, USA
    Posts
    113
    Rep Power
    29
    Rene,

    No, I didn't laugh, and it's hardly "a hilarious problem."

    I started out in '77 with a National Semiconductor Scamp 4-bit processor,
    256 bytes memory, assembly ROM (I had to program in hex code), a
    diode-matrix keyboard, TV typewriter, and a modified 5" portable BW TV.
    Out of the countless computers I've had since then, I haven't had to
    restore one until last year. The laptop was 2 years old, so you can imagine
    what I lost. My problem had been a virus. The only advantage was getting
    all that disk space back.

    I'm sorry you have to go through all this trouble. Before you get to far,
    have you made sure the "windows 8-built-in pdf reader" is working right?

    Good luck.

    Bill

  10. #30
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,527
    Rep Power
    170
    Now it's working again, displays pdf as supposed to. But looking back I'd just download Adobe pdf-Reader the next time before following any MS-support-instructions again...

    Back to topic:
    Anyone ideas of functions to integrate? Does anyone like to create ini-file-stuff? That's so boring, I don't like to...
    Last edited by ReneMiner; 16-04-2013 at 17:32.
    I think there are missing some Forum-sections as beta-testing and support

Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. something that could become a 3d-editor
    By ReneMiner in forum TBGL Scripts and Projects
    Replies: 10
    Last Post: 02-03-2013, 18:25
  2. ThinAIR editor
    By RobertoBianchi in forum Announcements
    Replies: 2
    Last Post: 09-10-2008, 18:27
  3. What editor?
    By Michael Clease in forum Fixed or cleared errors in help material
    Replies: 7
    Last Post: 31-10-2007, 04:19
  4. Announcement: new slogan for thinBasic
    By ErosOlmi in forum Announcements
    Replies: 0
    Last Post: 19-09-2007, 07:04
  5. [IDE] SED Editor
    By José Roca in forum Power Basic
    Replies: 5
    Last Post: 23-07-2007, 20:07

Members who have read this thread: 3

Tags for this Thread

Posting Permissions

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