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

#1471
GLBasic - en / Re: 3D Alpha
2009-Nov-23
The order the the objects that are X_OBJDRAWn determines the translucency to the next object. That is, they are still see through, but other other objects are not seen through. For example, a player in the middle of a map can see through translucent object that are to the -x & -z from the player . This is the same for X_SPRITE.
#1472
Schranz0r, it's sad to reference ones pet as stupid or fictional.  :sick:
#1473
GLBasic - en / Re: 3D Alpha
2009-Nov-22
It's like i need to toggle the z-order only for the certain objects but it's not important for now.  :good:

#1474
GLBasic - en / 3D Alpha
2009-Nov-21
Objects that are drawn with an opaque alphamode only allow other objects that have been pre-drawn to be seen thru. Is there a way for post-drawn objects?


Code (glbasic) Select
// Sample of triangles drawn behind first are only opaque.
funStart3DAlpha()

FUNCTION funStart3DAlpha:
funCreateTriangle(0)
funAnimate()
ENDFUNCTION

FUNCTION funAnimate:
LOCAL z

WHILE TRUE
X_MAKE3D 1,10, 45
X_CAMERA 0, 0.25, -2, 0, 0, 4
ALPHAMODE 0.075
FOR z=1 TO 3
X_MOVEMENT -1,  0, 4-z
X_DRAWOBJ   0, -1
NEXT
FOR z=1 TO 3
X_MOVEMENT  1,  0, z
X_DRAWOBJ   0, -1
NEXT
SHOWSCREEN
WEND
ENDFUNCTION

FUNCTION funCreateTriangle: num
LOCAL col

col=RGB(255,255,255)
X_OBJSTART num
X_OBJADDVERTEX -0.5,  0.5, 0.0,  0.1, 1.0,  col
X_OBJADDVERTEX  0.0, -0.5, 0.0,  0.5, 0.0,  col
X_OBJADDVERTEX  0.5,  0.5, 0.0,  0.5, 1.0,  col
X_OBJEND
ENDFUNCTION


[attachment deleted by admin]
#1475
Might as well be "post your pet photo" thread.  ;)
Here's Lilly who keeps me company during coding hours whilst everyone is asleep.


[attachment deleted by admin]
#1476
Those graphics make more sense than the ascii, ;)
#1477
How about admob.com and plusplus.com8)
#1478
How are your objects created? I mean perhaps you need to invert there vertexes.  :noggin:
#1479
Post some sample code!
#1480
I have the old minstorms and can be fun and useful. Although those videos don't resemble pac-mac movement unlike a micromouse!
Path find this!  :good:
http://www.youtube.com/watch?v=Wa9ZWlc823g
#1481
Just to add, the function (with parameter) PLATFORMINFO$("DOCUMENTS") will return the user's writable app folder.
#1482
Who need graphics when you can build this:  :whistle:

Roomba Pac-Man
http://www.youtube.com/watch?v=7JHtX2JwZAY
#1483
It should take less less than a second to start an app, not including debugging or image loading.
#1484
Operation is cool.  :P Is that classified as a "board" game and is it for the comp?
#1485
No need for shaders on my iPod Touch test unit as I'm just experimenting with it's limits.