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.

Messages - Eric.Erpelding

Pages: 1 [2] 3
I am trying to use sscanf inside a block of INLINE code.
But the GLBasic compiler gives this error:
error: `sscanf' was not declared in this scope
The same "not declared in this scope" error occurs if I try to call the printf fuction as well.
Can one use these functions in INLINE code?

And another huge and easy is Cinema4D but is really very expensive.
Yikes! I just checked the Cinema 4D web pages to see how much it costs.
Cinema 4D Prime is $995 and Cinema 4D Studio is $3695.
AC3D now looks like a good deal at "only" $89.95.

Blender looks like it has more of a community of users.
There is even a Blender Conference, BCON16, that will take place in Amsterdam during October 28, 29, and 30 of this year (2016).

Thank you mentalthink.
That list certainly gives a lot of applications to choose from.
I will look for the Blender tutorials and also try the AC3D demo.

I think I understand the operation of GLBasic's CALLBACK functions.
A CALLBACK function can be overloaded by a function with the same name, essentially replacing the CALLBACK function with the non-CALLBACK function over the whole GLBasic project.

Can anyone explain why the CALLBACK function is designated using the word CALLBACK?

The Wiki article on CALLBACK states:
In computer programming, a callback is a piece of executable code that is passed as an argument to other code, which is expected to call back (execute) the argument at some convenient time.

So in GLBasic what code is CALLing BACK?

Thank you Leon and mentalthink.
The choice seems to be Bender, which is free, but hard to use, and AC3D which is not free, but works well with GLBasic.
I was looking at POV-RAY ( but it seems it has its own file format that is not easy to convert.
I might get AC3D. We shall see.

The on-line GLBasic manual contains the following:
The simplest way to create a 3D object within GLBasic is via loading a 3D file. You simply create it with a 3D program, export it in Quake '.md2' or 3D Studio '.3ds' format, and convert it to a compressed '.ddd' file with the 3DConvert tool.

I am completely new to using any 3D program to create objects.
What would be a good, easy to learn and use, program to use?
What do people here in the forum use?

It would be extra good if it is also freeware!

GLBasic - en / .
« on: 2016-Aug-09 »

GLBasic - en / .
« on: 2016-Aug-08 »

GLBasic - en / .
« on: 2016-Aug-08 »

Dear GLBasic forum members,
I would like to create a program to visualize the orientation in 3D space of a orthogonal coordinate system.
The orientation of the coordinate system is specified using Euler angles the values of which would be controlled using slider controls.
The coordinate axis of the rotated system will be represented by arrow vectors.

Perhaps the forum could provide some hints as to how to get started on such a project using GLBasic?

The diagram contained in the Wiki article on Euler angles gives an idea of what I would like to create.

GLBasic - en / Re: GLBasic generated C++ code
« on: 2016-Aug-07 »
Thank you dreamerman.

The computer scientist Dennis Ritchie wrote "The language [C] is also widely used as an intermediate representation (essentially, as a portable assembly language) for a wide variety of compilers..."

GLBasic uses the language C++ as an intermediate representation language, and one could refer to C++ as a sort of "portable assembler", although perhaps "portable compiler" would be more accurate due to the high-level nature of the C++ language.

GLBasic - en / Re: GLBasic generated C++ code
« on: 2016-Aug-07 »
In the GLBasic IDE if one goes to "Tools>>Options" one finds:

Path for temporary files
C:\Users\<User Name>\AppData\Local\Temp\

Could this be the folder where GLBasic places the intermediate C++ files that it produces?

GLBasic - en / GLBasic generated C++ code
« on: 2016-Aug-07 »
Hello GLBasic Forum.
Is there a way to view the C++ code that is made from the GBAS source code?

GLBasic - en / Re: GLBasic line continuation?
« on: 2016-Jul-17 »
Thank you.

VB6 is a very good language.
I have read that it still works on computers running Windows 10.

GLBasic - en / GLBasic line continuation?
« on: 2016-Jul-15 »
Hello GLBasic forum members.
I have a question concerning long statements in GLBasic.
Does GLBasic have a way to continue a statement on another line?
One version of BASIC uses the underscore character, "_", at the end of a line to indicate that the statement continues on the next line of code.
Is there something similar in GLBasic?

Pages: 1 [2] 3