Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rodplamo

#1
Support / JPCT works int Android 3.x??
October 26, 2011, 01:40:53 PM
Hi everyone,

I'm developing for Android tablets with v.3.x and I would like to know if JPCT works in this version.

Thanks!
#2
Support / Re: Resize plane
June 21, 2011, 10:08:50 AM
Ok, i think understand it, but after, when i add two triangles, this will be only one object? I say this because i want to put one only texture in the rectangle created...

Thank you very much EgonOlsen
#3
Support / Re: Resize plane
June 20, 2011, 01:54:01 PM
I want to do most simple solution but I don't know how add polygons to Object3D...
#4
Support / Resize plane
June 17, 2011, 10:11:54 AM
Hi everyone,

I'm still developing my AR browser, and now i have a new doubt. I need display different size images, and i use a plane with this image like texture. But, if image isn't square, image resizes it and it adapts to plane size... How can i convert an square plane to a rectangle?

Thanks!!
#5
I don't know how do that you says...
#6
I not do additional calculations, only this:

SimpleVector svP = new SimpleVector();
svP = Interact2D.projectCenter3D2D(fb, object);
buttonFont.blitString(fb, "Prueba", (int) svP.x, (int) svP.y, 10, RGBColor.WHITE);
fb.display();
#7
Can this problem be for the camera's FOV?? How can i solve it?
#8
 i.e., i would text fixed on the object
#9
It works with 2 or more objects, i don't know what i done wrong later.

Anyway, it not works like i want, because text and object not seem one thing only.

Add images for explain that i say:
http://dl.dropbox.com/u/10042241/1.png
http://dl.dropbox.com/u/10042241/2.png
http://dl.dropbox.com/u/10042241/3.png
#10
...but not all rigth...It works for one object alone, if I try to do this for two objects at the same time, it not works for any.

I do this in te onDrawFrame method and after the projectCenter3D2D and blitString (one form to blit that i found in the "bones" project) i do framebuffer.display()...what's the problem? :S
#11
It works!! Thanks!!
#12
Support / Re: How can i blit text in world objetcs?
April 28, 2011, 12:51:08 PM

One question:

I don't try yet, but i'm thinking that if i move objects with "setOrigin", object's center will be (0,0,0), and if i use this, like you said, i get the 2d coordinates of an OBJECT'S CENTER. Do it works anyway?

#13
Support / Re: How can i blit text in world objetcs?
April 28, 2011, 09:31:55 AM

Thanks, I'll try and i'll say you if this works =)
#14
Support / Re: How can i blit text in world objetcs?
April 26, 2011, 09:35:05 AM
Excuse me EgonOlsen, I was on holidays...

First, sorry for my bad english. I try to explain my problem one more time:

I´m developing an augmented reality browser for android, like Layar or Wikitude, and i've used jPCT for put objects in virtual world, depending of this real coordinates, obviously. And now, I want to know how can i put text on this objects, so the text and the object move at the same time, like if they are one object only.

I hope you understand me now.

Thanks!
#15
Support / How can i blit text in world objetcs?
April 15, 2011, 12:41:36 PM
Hi everyone,

I'm developing an augmented reality project, and jPCT-AE is very useful. But sometimes, i have problems to continue with my developing because i don't know how to do some things. In this case, after i've put some 3d objects in virtual world, i want blit text onto these objects, and although i suppose that i've to do projections of the objects, i really don't understand how i've to do this.

Can someone help me, please?

Thanks!