www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: hamedf_hamedf on November 21, 2012, 11:22:19 am
-
Hi All,
I want to use jPCT android package on monodevelop or visual studio with xarmin package for C# coding.
I create "Java Bindings Library" in visual studio project that is a way to load Java files and use them like a class.
but when i build my project, it has an error :
"The type or namespace name 'OcTreeNode' does not exist in the namespace 'Com.Threed.Jpct' (are you missing an assembly reference?) D:\BindingLibrary1\obj\Debug\generated\src\Com.Threed.Jpct.OcTree.cs 142 75 BindingLibrary1"
how to solve it?
-
I suggest to ask this is some Xamarin related forum. It's not really a jPCT related question. If they claim to support Java libs (which they do), then they should be able to tell you how to do it.
-
Dear EgonOlsen,
i have run it, but now i have a code like this:
box = Primitives.GetBox(13f, 2f);
box.Build();
world.AddObject(box);
world.SetAmbientLight(0, 255, 0);
camera.SetPosition(50, -50, -5);
SimpleVector p1 = new SimpleVector(1, 1, 1);
camera.LookAt(box.GetTransformedCenter(p1));
world.SetCameraTo(camera);
try
{
buffer = new FrameBuffer(100, 100);
}
catch (Exception ex)
{
button.Text = ex.Message;
}
it has an erro in buffer creation, do you have an easy example to show the basic box?
-
The HelloWorld example that comes with jPCT-AE is exactly that.
-
BTW: The FrameBuffer's dimensions should match the resolution of your actual screen or gl context. No device has 100*100 pixel screen and you'll get strange renderings with that setting if it even works at all.
-
where can i download helloworld example?
-
It's part of the jPCT-AE zip. In addition, you can find it in the wiki: http://www.jpct.net/wiki/index.php/Hello_World_for_Android (http://www.jpct.net/wiki/index.php/Hello_World_for_Android)
-
Dear,
i use "Eclipse IDE for Java Developers" but when i compile it and run in on my galaxy s3, it has an error and close.
???
-
Have a look here: http://www.jpct.net/forum2/index.php/topic,2663.0.html (http://www.jpct.net/forum2/index.php/topic,2663.0.html)
-
Oh my god,
very nice
:) :) :) :) :) :) :) :) ;) ;) ;) ;) ;) ;) ;)
Thanks very very much
-
When i released the last official version, this wasn't needed. I'll change the example projects in the next release, so that nobody will fall into this trap again.
-
That's good,
now i want to write a program to load 3DS-Max file. and then i try to run the jPCT library in monodevelop in visual studio again and share my experience with other user in forum. maybe other need them.
;)