cameraproject problem

Blitz3D Forums/Blitz3D Programming/cameraproject problem

vivaigiochi(Posted 2007) [#1]
when setting cameraproject camera,2 i have problem with visualization of mesh.
It results bad ordered because i see the last mesh (in z-axis) how the first mesh!!! help me


Matty(Posted 2007) [#2]
I'm not sure what you mean but I'll see if I can help.

Cameraproj Camera,2 sets projection mode 2. This is an orthographic projection. That means that if the camera is facing along the z-axis then all objects that sit along the z-axis will appear to have the same 'depth' - as an orthographic projection has no depth or perspective.
This is normal.


GfK(Posted 2007) [#3]
You also need to set a very low CameraZoom (like 0.05 or something), otherwise you'll be lucky if you see anything at all.

Trial and error, I'm afraid.


Stevie G(Posted 2007) [#4]
As you've found out, Z-ordering is a mess when using an ortho camera.

It's best to simulate one by using a non-ortho camera, positioning it far from the scene and zooming in to reduce the field of vision.

Stevie


vivaigiochi(Posted 2007) [#5]
ok thanks