mjs513 / monoxna

Automatically exported from code.google.com/p/monoxna
Other
0 stars 0 forks source link

Support for 3D #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
MonoXNA lacks 3D support.
Many (most) XNA games are made for 3D.

A am going to start developing some parts for 3D.
There will be wiki page about progress.

Original issue reported on code.google.com by gse...@gmail.com on 10 Feb 2010 at 6:22

GoogleCodeExporter commented 9 years ago
Hello!
I made some research on MonoXNA 3D. There are some classes that are partialy 
made, 
but much is only NotImplementedException().
There are some methods that aren't in.
I tried NeHe lesson02 for XNA. It is on next link:
http://www.gamedev.net/community/forums/topic.asp?topic_id=464662
Problem is even that is old solution (XNA 2.0) and it is not auto convertable. 
It 
uses some obsolute methods.

There are next methods/classes needed to be implemented:
(Matrix.cs)
- public static Matrix CreatePerspectiveFieldOfView(float fieldOfView, float 
aspectRatio, float zNearPlane, float zFarPlane)
(GraphicsDevice.cs)
- public void Clear(ClearOptions options, Color color, float depth, int stencil)
- public void DrawUserPrimitives<T>(PrimitiveType primitiveType, T[] 
vertexData, int 
vertexOffset, int primitiveCount)
(EffectPass.cs)
- public sealed class EffectPass - whole class

need to be added:
- BasicEffect.Begin
- BasicEffect.End
- basicEffect.CurrentTehnique
- basicEffect.CurrentTehnique.Passes
- basicEffect.CommitChanges

If someone knows more basic 3D XNA poject, please say so! :)

Original comment by gse...@gmail.com on 28 Feb 2010 at 1:43

GoogleCodeExporter commented 9 years ago
I will take a look and implement the missing methods/classes.

Original comment by timpam...@gmail.com on 28 Feb 2010 at 5:56