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 - matty47

Pages: [1] 2 3 ... 5
1
Media Section / Re: Fonts
« on: 2021-May-13 »
It would appear that the zip file is corrupt and unable to be repaired.

2
FAQ / Re: Missing Forums Attachments
« on: 2021-May-13 »
Just to confirm that any of the zip files that I have downloaded appear to be corrupt. Tried to open them with 7zip and Winrar 6. Both progs showed error as "Unexpected end of archive". Running a repair (Winrar) on the files did not fix the problem. Showed a checksum error in all files in the archive. Did something happen to the server files at some point?

3
GLBasic - en / Re: Orthographic camera
« on: 2013-Jan-18 »
Thanks all - I did not know about the -1 at the end of XMake3d

4
GLBasic - en / Orthographic camera
« on: 2013-Jan-18 »
Hopefully not too dumb a question but I need a drawing surface that has 0,0 at the bottom left corner and increases in x and y across and up respectfully. I think I could use a 3d screen with an orthographic camera to implement this however I can't seem to find a command that would make the camera orthographic and not perspective. Is this possible in GLBasic? and (of course) some guidance on how to do it would be greatly appreciated.
Thanks in advance
Matthew

5
GLBasic - en / x_line, x_dot pickable?
« on: 2012-Jun-03 »
Is there a way to make x_line or x_dot objects pickable with x_collisionray?
I want to be able to draw lines and points on a screen and then pick ( and adjust) individual items.
Thanks for any pointers.

6
GLBasic - en / Re: Arrays in Types?
« on: 2011-Nov-14 »
I think I got to the bottom of my troubles. I had the following code in a file called Utils.gbas
Code: (glbasic) [Select]
CONSTANT MaxDims=3

TYPE TPoint
Loc[]
FUNCTION init:x,y,z
DIM self.Loc[MaxDims]
self.Loc[0]=x
self.Loc[1]=y
self.Loc[2]=z
ENDFUNCTION
ENDTYPE


LOCAL P1 AS TPoint;P1.init(1,2,3)

with an empty main file called Test.gbas (Project Test). The compiler kept throwing an error on the creation of P1 (LOCAL P1.....line).
If I move this line to the main file I get no error. Therefore I assume that I can't declare variable of a type in an attached (referenced file) ??
Does that make sense?
Thanks for the help. I hope I can proceed now.
Matthew                     

7
GLBasic - en / Re: Arrays in Types?
« on: 2011-Nov-13 »
Tried that - didn't seem to work.
I tried changing my attack and as I only want to deal with 3D points
Code: (glbasic) [Select]
TYPE TPoint
Loc[]
FUNCTION CreatePoint:x,y,z
self.Loc[0] = x
self.Loc[1] = y
self.Loc[2] = z
ENDFUNCTION
ENDTYPE

LOCAL P1 AS TPoint
But the compiler errors the "LOCAL P1 AS TPoint" line with (25) error : command not inside function or sub

8
GLBasic - en / Arrays in Types?
« on: 2011-Nov-13 »
Are they allowed.
For instance I want to do something like this
Code: (glbasic) [Select]
CONSTANT MaxDims=3

TYPE Point
     Loc[MaxDims]
ENDTYPE

.....................................
//then later do

LOCAL P1 AS POINT
.......................................
FOR i = 0 to MaxDims
      IF P1.Loc[i] ................
Now I know this code won't work but the compiler issues an error for the Loc[MaxDims] line
Any answers greatly appreciated
Thanks
Matthew

9
Beta Tests / Re: Android - Beta SDK
« on: 2011-Jun-15 »
Just to confirm that the live update crashes on Win 7 Home Prem. I downloaded the install from post one again, however this is still version 10.001. When I do a web update it tells me version 10.013 is available so I say update. Update runs and lists what it is doing eg read info file etc. When it gets to "Installing Update", it crashes and closes with no further messages except Windows message saying that the program has stopped working.

10
Beta Tests / Re: Android - Beta SDK
« on: 2011-Apr-26 »
OK tried with the ANDROID_SWT variable set however same error. Message says something about not being able to start the java VM and dex failing (same as quoted previously)
Thanks
Matthew

11
Beta Tests / Re: Android - Beta SDK
« on: 2011-Apr-26 »
Not sure but it looks like the build fails - even though the compiler returns with a success notification. All seems to go well until the following
Code: (glbasic) [Select]
-dex:
     [echo] Converting compiled files and external libraries into C:\Users\mattk\Documents\GLBasic\MyProjs\TEXTURED_POLYGON\android\bin\classes.dex...
    [apply] Error occurred during initialization of VM
    [apply] Could not reserve enough space for object heap
    [apply] Could not create the Java virtual machine.

BUILD FAILED
D:\GLBasic_Beta\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:472: The following error occurred while executing this line:
D:\GLBasic_Beta\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:203: apply returned: 1

Total time: 4 seconds
Android=C:\Users\mattk\Documents\GLBasic\MyProjs\TEXTURED_POLYGON\android
success
_______________________________________
*** Finished ***
Elapsed: 12.0 sec. Time: 09:47
Build: 1 succeeded.
I am on Win 7 Home Prem. 64 bit with Java SDK (32 bit). I do have the Android SDK and Ant also separately installed however neither of these are set as environmental variables so I don't think they are being used.
Any ideas?
Thanks
Matthew
 

12
GLBasic - en / Re: debugger not starting app
« on: 2010-Jan-24 »
I don't think this is what is happening. The program is not starting so the stop button does not do anything. If I run with debugging turned on the output windows just indicates start debug session but nothing happens?? I can repeat this a few times and still the same. Maybe I need to reinstall............

13
GLBasic - en / debugger not starting app
« on: 2010-Jan-23 »
Has anyone else had trouble with the degugger? If I enable building with the debugger and then do a compile/run the project compiles, links and then a message appears that the debug session has started but there is no application running. If I turn off the debugger and do a compile/run the application runs fine. I have tried this with various of the samples and always seems to do the same thing. Any ideas??
using the latest version 7.242, Win XP.
THanks
MAtthew

14
GLBasic - en / Re: Size of Mesh
« on: 2009-Jun-16 »
Thanks for the replies. I looked at the ddd viewer sample draw normals function and thought that iterating through getfaces was going to be the way. Thanks again

15
GLBasic - en / Size of Mesh
« on: 2009-Jun-15 »
Is there any way to determine the size of a mesh? Looking for something that would give say height, width, depth of a loaded mesh.

Pages: [1] 2 3 ... 5