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

#61
I'm hearing that this platform is growing very fast.  :good:
#62
GLBASIC, just gets better and better.  :enc:  =D
#63
Trucidare, is it now possible to complete the iPhone GUI controls, since the slowmo bug is fixed?  ;)
#64
Kitty and Trucidare....YOU GUYS ROCK MAN!!!!  :good:
#65
Just noticed small mistake in latest source.

FUNCTION EntityFreeMesh: ext
   // find it in the list and just drop it
   FOREACH t IN g3DObj[]
      IF t.ddd = ext
         t.valid_slot% = FALSE
         t.avtice = FALSE
      ENDIF
   NEXT
   // make sure the memory is freed
   X_OBJSTART ext
   X_OBJEND
ENDFUNCTION

t.avtice should be t.active??
=D
#66
@Trucidare

So much coding.....WHEN DO YOU SLEEP!!  :D
#67
 :booze:
#69
@Quentin.

Thanks mate. This all works now.  =D
#70
Thanks. I will try this.
#71
Part of my workspace at home.  :nana:


[attachment deleted by admin]
#72
Quote from: Quentin on 2010-Feb-11
Are you able to display it with DRAWSPRITE?

YES ....  8)

SETCURRENTDIR("Media")

LOADSPRITE "bump.png",1
DRAWSPRITE 1,20,20
SHOWSCREEN
WHILE TRUE
WEND
#73
SETCURRENTDIR("Media") /// NOTE bump.png is in the MEDIA directory
TestJim()

FUNCTION TestJim:

   camera=EntityCreateCamera()
   EntityEnable(camera, TRUE)
   EntitySetCameraRange(camera,1,4000)


   light = EntityCreateLight(RGB(255,255,255) )
   cube = EntityCreateCube(1)

   EntitySetPosition(camera,0,0,-10)
   EntityParent(light, camera)
   jtex = EntityLoadTexture("bump.png")
   notex=EntityMakeNullTexture()
   EntityApplyTexture(cube,jtex,notex)
   //EntitySetAlpha(cube,0.5)

   WHILE TRUE
      // Draw all entites, using entity camera
      IF (KEY(200))
         EntityMove(camera,0,0,0.2)

      ENDIF
      IF (KEY(208))
         EntityMove(camera,0,0,-0.2)

      ENDIF
      IF (KEY(203))

         EntityRotate(camera,0,1,0)

      ENDIF
      IF (KEY(205))

         EntityRotate(camera,0,-1,0)

      ENDIF
      EntityRotate(cube,1,0,0)
      EntityDrawSystem()
      SHOWSCREEN

   WEND

ENDFUNCTION
#74
I gave this a quick test. I had problems with EntityLoadTexture and EntityApplyTexture. I was unable to load a .png and then texture a cube.  :(
#75
Quote from: trucidare on 2010-Feb-09
i Want your Macbook Uni codegit :D

LOL.... :nana: