Menu

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.

Show posts Menu

Messages - Neo-Bagamut

#1
Quote from: Schranz0r on 2010-May-24
You can extand my little example on how to wrapp the Irrlicht engine...

http://www.glbasic.com/forum/index.php?topic=3778.msg27490#msg27490

Thanks, but which version of the Irrlicht is based this wrapper?
#2
Quote from: Kuron on 2010-May-24
If you do not like GLBasic's 3D engine, why would you use another 3D engine with GLBasic.  You would be better off using C/C++ and the engine of your choice than trying to use another engine with GLB.  If anything, you are making it more complex this was as you still have to use inline C++ to interface GLB with the DLL.

This is a matter of principle, I only use Basic like syntax compilers. I do not know C/C++. I, like many other users of BASIC, I prefer programming in Basic than other more complex languages.

Quote from: Kuron on 2010-May-24Is GLBasic's 3D capability really that bad?

Definitely yes. I think GLBasic must have more functionality in 3D: Entity system, Particle system, More advanced Audio library (like OpenAL, 2D & 3D sound). And finaly the glbasic's DDD format is very-very large size (i convert my animated mesh with 100 frames from 3ds to ddd, the size of the file mymesh.ddd exceeds 12 megabytes).

Quote from: Kuron on 2010-May-24Or is this like the nonsense in the Blitz forums where everybody throws fits asking for the latest 3D features even though they have no intentions of ever using them.  The only community that seems to have this right from the owner perspective is 3D RAD.  If you want the new features, put your money where your mouth is and pay up to have them implemented, otherwise be happy with what you have and actually try and learn how to use that before you ask for more.

And I'm not asking a huge feature, but I believe it is necessary to improve the functional GLBasic (in terms of 3D). I am more than confident, if you add a good entity system and particles system, glbasic's users will be more at times.
#3
Hi everybody!

A few days ago I decided to write a Ninfa3D wrapper for GLBasic, but i don't know C/C++ and I have very little experience of writing a wrappers. I was read various articles, but they haven't helped.

The post which I have been guided:
http://www.glbasic.com/forum/index.php?topic=2129.0

This is my code:
Code (glbasic) Select
INLINE
  extern "C" {
    declare_alias(exportInitEngine, "Ninfa3DEngine.dll", InitEngine, (int, int, int, int) void);
    declare_alias(exportBeginScene, "Ninfa3DEngine.dll", BeginScene, () void);
    declare_alias(exportUpdateEngine, "Ninfa3DEngine.dll", UpdateEngine, () void);
    declare_alias(exportEndEngine, "Ninfa3DEngine.dll", EndEngine, () void);
    declare_alias(exportSetWindowTitle, "Ninfa3DEngine.dll", SetWindowTitle, (char) void);
  }
ENDINLINE

FUNCTION xInitEngine: width, height, depth, mode
  INLINE
    if (exportInitEngine) {
    return exportInitEngine(width, height, depth, mode);
    }
  ENDINLINE
ENDFUNCTION

FUNCTION xBeginScene:
  INLINE
    IF (exportBeginScene) {
    RETURN exportBeginScene();
    }
  ENDINLINE
ENDFUNCTION

FUNCTION xUpdateEngine:
  INLINE
    IF (exportUpdateEngine) {
    RETURN exportUpdateEngine();
    }
  ENDINLINE
ENDFUNCTION

FUNCTION xEndEngine:
  INLINE
    IF (exportEndEngine) {
    RETURN exportEndEngine();
    }
  ENDINLINE
ENDFUNCTION

FUNCTION xSetWindowTitle: title$
    INLINE
    IF (exportSetWindowTitle) {
    RETURN exportSetWindowTitle(title_Str.c_str());
    }
  ENDINLINE
ENDFUNCTION


Then i compile my project, compilers shows many errors.
#4
Quote from: Moru on 2010-Jan-19
Hello!

Look at this one:
http://www.glbasic.com/forum/index.php?topic=961.msg4965#msg4965

I haven't tried it but I heard others had good luck with it.

Thanks for this, but in my project it isn't useful.
#5
Hello everyone!

Need help with a function that returns the supported modes of the monitor.

First I want to ask whether there are comands in GLBasic allow to realize it?

Revised set of compilers (both paid [Blitz3D, PureBasic, DarkBasic] and free [thinBasic]) and was surprised that everywhere, except GLBasic, these commands are present.

There will be whether such comands in future versions GLBasic? If yes, when?
#6
Quote from: Kitty Hello on 2008-Nov-13
More Blender tutorial videos
http://www.vimeo.com/user622536/videos

The link was dead, please reload video tutorials.
#7
Hello everyone!

Recently installed Windows 7 Ultimate x86 and GlBasic. Successfully updated GLBasic to version 7.206. And faced with some problems:

  • Firstly when you exit the program is not saved Russian encoding, every time they set up when you start GLBasic.
  • Secondly when you run or compile the application, a window opens and closes in tighter second.
Help me please to solve this problem.
#8
Then i run this code in debug mode

CODE:
---------------------------------------
a$ =" ПÃ'â,¬ÃÂ¸ÃÂ²ÃÂµÃ'‚ миÃ'â,¬!"
FOR i=0 TO LEN(a$)
   DEBUG ASC(MID$(a$,i,1)+", "   // <----- syntax error
NEXT
DEBUG "\n"
---------------------------------------
Displayed "syntax error"
#9
CODE:
------------------------------------------
LOADFONT "1.bmp", 1
SETFONT 1
WHILE KEY(1)=0
  GETSCREENSIZE sx#, sy#
  PRINT "ПÃ'â,¬ÃÂ¸ÃÂ²ÃÂµÃ'‚ миÃ'â,¬!", 25,25
  SHOWSCREEN
WEND
END
------------------------------------------

SCREENSHOT:
#10
QuoteI think it would be a good idea if you post the bmp file with the font (as an attachment).
#11
Thanks Kitty Hello, for very helpful post

QuoteWell, there is an INLINE solution:
http://www.glbasic.com/forum/index.php?topic=961.msg4965#msg4965

I would like to know more about fonts, more precisely about the support of Russian letters!
#12
Is there a GLBasic command reads the monitor mode support?
#13
Hello everybody.
Go excuse for my bad English, because I'm Russian.

Three days ago, began to study GLBasic (this is the first programming language that I study). And immediately ran into another problem:

CODE:
----------------------------------------------
scr$ = "Some text on russian"
na$ = "Some text on russian"
LOADFONT "1.bmp", 1
SETFONT 1
WHILE KEY(1)=0
  GETSCREENSIZE sx#, sy#
  PRINT scr$ + sx#+ na$ +sy#, 25,25
  SHOWSCREEN
WEND
END
---------------------------------------------------
GETSCREENSIZE comand displays 640x480, but my screen resolution is 1024x768! What is my mistake? Why the program does not display my real screen resolution?

My second problem is russian fonts. I created a font with "Font Creator" in GLBasic, save him as 1.bmp. But instead of Russian letters displayed various symbols and letters! What is my mistake?

Please help me with my two little problems. Thanks!