lighting

Blitz3D Forums/Blitz3D Beginners Area/lighting

sirus(Posted 2009) [#1]
ok i have another question can you use lights from blender in blitz 3d?


Matty(Posted 2009) [#2]
Haven't used blender so cannot fully answer this question. However if you are able to export nulls/pivots then you should be able to use them as lights in blitz by placing directx lights (vertex lighting) into the scene at the location of the nulls/pivots.

However directx lights do not cast shadows, they simply illuminate vertices in the mesh, changing the colour of the mesh's vertices which gives the impression of lighting. The denser the mesh the more accurate the vertex lighting. For example if you have a floor which is simply two triangles forming a quad then only the 4 vertices at the corners will be lit and the lighting will look pretty poor. If you subdivide your floor into more triangles then the vertex lighting will be more accurate/look better.


sirus(Posted 2009) [#3]
so how do you get shadows ?


josk(Posted 2009) [#4]
Click here!

MikhailV Fast Libraries are worth every penny.


Matty(Posted 2009) [#5]
sswift's system supposedly works well too!

Also have a look in the code archives, there are a few methods in there as well.