Hi, I have made a 3D dot landscape in blitz2D and would like to have the dots hidden that isn't supposed to be visible. All the dots have a set of co-ordinates x,y,z and is rotated around the different axis's. Is there a way to find out if a dot should be shown or not?
hidden dots in 3d dot landscape
BlitzPlus Forums/BlitzPlus Programming/hidden dots in 3d dot landscape assign each dot a normal
I'm assuming you
look in the 3d code archive you can rework that one to your
needs.
Then if the normal is facing don't draw it.
I think you use the erm "dot product" of the camera normal and the dot normal can't remember if it is a positive or negative number that faces the camera
I'm assuming you
look in the 3d code archive you can rework that one to your
needs.
Then if the normal is facing don't draw it.
I think you use the erm "dot product" of the camera normal and the dot normal can't remember if it is a positive or negative number that faces the camera