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

#3331
HI, kitty thanks!!!

But the trouble is what I want put a variable for x and another for y

DIM data[100][100]

data
  • [y] = z // no space between ] and [ !!

    in your example, if I don´t stay wrong the value is put to x and y, but my doubt is what I want to put 2 values, one for x and another for y.

    Perhaps this can´t be done, I´m not programmer and my programming kwnledges are very little.
    Thanks Kitty, again.
#3332
Hi, I´ve got a doubt about arrays.
How I can put vaiables in a bidimensional array, in one dimension I make something like this
Code (glbasic) Select

dim myArray[5]
myArray[5].xpos=300

for 2 dimensional array, I stay frozen here
Code (glbasic) Select

dim myArray[5][3]=300
myArray[5]???=???  ???

I don´t kwon the sintaxis for more of one dimension Array, for put in a value for every dimension.

Thanks for your time and help.

Best regards mentalthink




#3333
Thanks MrTaToad, I thiked what works on Wiz and IPhone
#3334
HI, I ve got aquestion about play video files on WIZ or iPhone.

I tried some codecs and don´t make play video in both.

Thanks.

Best Regards, Mentalthink
#3335
win 7 32b
Wokrs fine!!!
#3336
Thanks bigsofty, will be a great apport, because this little thing is complicated for me.

Thanks again, and excuseme for no reply before.

#3337
Thanks Schranz0r!!!.

This is just I want.

Thanks again for your time!!.

Best regards 
#3338
GLBasic - en / Moving camera
2009-Oct-01
Hi, I?ve got a question about the movement of the camera:

How I can move a camera trought her local axis, always a move a camera if apply an increment in x, the camera always follow the way in line, but I want to watch to any point and move to this point (target of camera) when a push a key.

Thanks.
#3339
HI Kitty, I can?t post the code because I deleted yesterday, because stay making some probes about Iphone and WIZ.

Abut your question, yes the JPG, works, because in an aplication in 2d mode  I tryed it and works, but in 3d mode only show the first texture what I applied in the code with x_setexture , the second don?t show in the second geometry.

I will try to make an another little application with jpg?s to show if works well, but whit .png textures no has problems, work fine in 3d mode.

PS.Excuseme for my English Kitty, not is my first lenguaje, sorry.
#3340
Hi i?ve got a trouble whit two X_settexture on iphone.
On Win works fine, but on iPhone only can see a one texture at the same time.

The code is this: I think what somethig I wrote wrong, but I tried some posibilities and don?t work.

PS: The objects are single, first saved one, create second and save again in .obj for Unix and converted to .ddd whith the conversor utility of GLBASIC

PS2:I?ve tried a little change before to send the post, if change the texture format in .png this works well, I think what can be a little bug in this version of GLBAsic or perhaps I maded something wrong whit the textures in .jpg.

SETCURRENTDIR("Media") // seperate media and binaries?
//Anim Example
X_LOADOBJ  "m1.ddd", 1
LOADSPRITE "TEC_09.jpg", 1

X_LOADOBJ  "m2.ddd", 2
LOADSPRITE "TEC_10.jpg", 2
WHILE TRUE
   
   X_MAKE3D 1,1000,45
   X_CAMERA 0,0,-2,0,0,0

// text first obj
   X_SETTEXTURE 1,-1
   X_DRAWOBJ 1,0
 
//text second obj
   X_SETTEXTURE 2,-1
   X_DRAWOBJ 2,0
   
SHOWSCREEN
WEND

Best Regards, Mentalthink
#3341
Thanks Kitty, for your rapid response, I think what the trouble is because I uses unwrap, and no standard uwv mapping, I don?t know if this can be a trouble.
I wait for the .b3d exporter.

#3342
Hi, I?ve got a doubt.

I make a simple lightmap in 3ds max, but when a put the .png or .bmp in the WIZ,(in Iphone I don?t tried in this time), the lightmap don?t match equal than the viewport of 3dsMAX.

I don?t know if a maded something wrong, or is a bug of GLBASIC.

Another question, is if can be in a future a exporter plugin for 3ds MAX,Cinema or for the most popular aplications 3D for GLbasic, equal what exist for AC3d.

Thanks

#3343
Hi Javiero, I think was I stayed wrog about I tell you for the bucle. Excuseme.

Un saludo, y hasta pronto.
#3344
Download too
#3345
Hi Javiero, perhaps you need to make a bucle.
I?m not be sure of this, pero bueno.