image not showing

Blitz3D Forums/Blitz3D Beginners Area/image not showing

Newcomer(Posted 2009) [#1]
i've been working with blitzplus for 2 years, so I know the 2d basics, but now i've decided to try Blitz3d, because of, well, 3D. anyway, i've made a simple program that shows a character(code shown below, planning to add on) but my character will not show up on the screen. Any suggestions?

P.S. please forgive any problems with placing. I am trying to see the character so that I can tell if where I put legs in comparision to body is correct, and yes I will make the body parent of legs

;setup
Graphics3D 800,600,16,3
SetBuffer BackBuffer()
SeedRnd(MilliSecs())

;create camera
camera = CreateCamera()
PositionEntity camera,0,0,0

;create light
light = CreateLight()

;create, scale and position body, and legs
body = CreateCone()
PositionEntity spike,0,0,0
leg1 = CreateCylinder()
leg2 = CreateCylinder()
ScaleEntity leg1,0.25,0.25,0.25
ScaleEntity leg2,0.25,0.25,0.25
PositionEntity leg1,-5,10,0
PositionEntity leg2,5,10,0

;draw character until esc is pressed
While Not KeyDown(1)
RenderWorld()
Flip
Wend


puki(Posted 2009) [#2]
Move the camera back from the scene 0,0,-5


puki(Posted 2009) [#3]
Actually, to explain that further:

The camera is being created at 0 Z depth - which is also where your objects are being created - so you either move the camera, or move your objects.


Newcomer(Posted 2009) [#4]
Thank you!!!!!
now onto the next problem: getting the legs in the right position, bye