Re: 3D Engine in pure VB.net
If that's something you have created yourself while also learning VB.Net 2010, I must say the effort has turned out great. Keep it up.
I won't be able to provide any technical help or insight, however I couldn't resist applauding a great effort.
.
Re: 3D Engine in pure VB.net
There is certainly no reason not to continue implementing it. I would question the reluctance to use libraries if it were a commercial endeavour, but for a personal project with learning 3D algorithms and so on, you seem to have a realistic goal in mind.
BSP trees are basically: take your 3D scene. Select a surface in it. Work out all the surfaces that are behind it and all the surfaces that are in front of it. If a surface crosses the plane of your selected surface, then divide the surface in two to have one behind and one in front. This gives you a single surface, and a set of surfaces in front and a set of surfaces behind. Repeat within the two sets of surfaces, and keep repeating until you've only got a single surface left in each set. This gives you a tree structure where each node holds a surface, and has two child trees, the "infront of this surface" and "behind this surface" sets.
At render time, you can work out a depth ordering of surfaces very quickly by using this tree. You just have to determine whether your camera position is infront of behind of the surface at each node to determine which branch to recurse into first.
Re: 3D Engine in pure VB.net
@honeybee
thanks for encouragement dear.
@Evil_Giraffe
thanks for reply
Actually I am not a professional programmer ,I do programming just for fun and my personal use. I am a maths/Physics teacher at undergraduate level, and I am trying to make 3D engine for dealing with multivariate Calculus, 3D vectors etc means just for education purpose. This is why i want to have full control over the code.
polygon is the only problem(till known) which I am facing now. i was thinking BSP Tree algo to be slow and difficult to implement in vb.net, Also I am feeling it difficult to find intersection of two surfaces efficiently. Suggest me If you have any experience regarding it.
Again Thanks for suggestions..