3DS Max model won't appear in Blitz3D -


first post, yay, guess. i'm new blitz3d, i'm learning how import model 3ds max blitz. here's code:

graphics3d 640,480,32,2 setbuffer backbuffer()  camera = createcamera()  light = createlight()  bottle = loadmesh("bottle.3ds") scaleentity bottle,0.1,0.1,0.1   end 

i put model file , code in folder together, there's black when compile , run code.

since scaleentity isn't giving error, model seem load. however, entities created @ 0, 0, 0 default, chances can't see bottle because camera inside it. try along lines of positionentity camera, 0, 0, -5 , see if helps.

also, if entire code, you're missing renderworld , flip; either within loop, or followed waitkey, can see what's being displayed before program closes.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -