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 - julycamara

#1
Support / Align camera perpendicular to an object
August 11, 2014, 10:45:38 AM
Hello,

I have a "floor" for my scene made of 800 triangles that are doing a big rectangle. Always i are trying to align the camera manually, but i want to know if there is a method for align the camera on 90 degrees over my object and center. is it possible?

Thank you very much.
#2
Hello,

I'm looking for the best way to draw a small grid of planes (for explample 10x10) that looks like a simple big rectangle with a texture from image, but i want to move it on real time, the vertex of each plane (join with nearest plane) would be move. I want to do an physical effect like waves or other over this grid.

¿how is the best way to implement this 3D objects and move it?

I try to create on each iteration all 100 planes, but it is very heavy, i'm seeing with ClientFactory to do like a 3d terrain, but ¿how can i move the vertex of planes on realtime, move deforming his form makes trapezoid and the plane doesn't keep the same size or square form.

i hope you can understand my english, sorry for that and thank you in advance.
#3
Support / Re: light and material effects for newie
September 17, 2012, 04:24:45 PM
But if i don't disable culling i have not any problem with transparency.

The problem occurs when thre is an object with transparency and setCulling(false) to see the backside and the object is rotated. I will post a simple example code with image to illustrate it.

Thank you.
#4
Support / Apply texture image to cylindre
September 17, 2012, 12:18:34 PM
Hello,

I have created an object3d from Primitives.getCylindre(...) and i want to apply my texture from image file. ¿how i must do it? ¿what are the uv coords of cylindre objects? ¿have you any example?

Thank you in advance.
#5
Support / Re: light and material effects for newie
September 17, 2012, 08:51:30 AM
i try too setSortOffset positive to draw first cloned object. And i could see it first but the result isn't good. Object3D.invert() make an strange effect over the texture (a .png picture) and it is drawed very bad (little triangles chunks of original texture on bad uv coords) and not solved my problem.
#6
Support / Re: light and material effects for newie
September 17, 2012, 08:34:28 AM
hello,

I try this,

....

               clone = cube.cloneObject();

               cube.setTransparency(50);
               cube.setCulling(false);
               cube.setTexture("texture");
               //cube.strip();
               cube.build();
               
               cube.addChild(clone);
               clone.invert();
               clone.setTransparency(50);
               clone.setCulling(false);
               clone.setTexture("texture");
               clone.setSortOffset(-100000);
               //clone.strip();
               clone.build();
               
               world.addObject(clone);
               world.addObject(cube);

...

But it isn't works for me.
#7
Support / Re: light and material effects for newie
September 09, 2012, 08:31:28 PM
hello, i'm here again with new problems.

ok, i try with Object3D.setCulling(false); And the object looks like i want, the black transparent color of the png texture disappear and i can see the back side of the object.

But when y rotate the object on scene it looks bad, sometimes draw the back side over the front sides and his behaviour is not perfect. Please let me show some images for explain it:

http://www.tiikoni.com/tis/view/?id=f590cbf this is the good draw of a transparent object.

When i try to rotate this, then we can see something like that... http://www.tiikoni.com/tis/view/?id=6600893

And then we can see how the back side is drawing over the front side: http://www.tiikoni.com/tis/view/?id=0f1d8a5

I hope it could be solutions. Any ideas? thank you.

#8
Support / Re: light and material effects for newie
August 31, 2012, 07:12:08 PM
yes i have added some light over the object but his appeareance is always like "matt finish" i want something like this http://www.pmpocketbilliards.com/pocketbilliardimages/9-Ball.jpg material effect. If it is possible of course.

Thank you again.
#9
Support / Re: light and material effects for newie
August 27, 2012, 05:46:14 PM
hello,

I'm usign jPCT-AE for Android project.
#10
Support / light and material effects for newie
August 26, 2012, 04:33:47 PM
Hello,

First of all, thanks a lot for this great engine, i have working with it for some days.

On my little example i'm trying to show an Object3D (sphere in this case) and practice various effects, and unfortunately i can't do very much. Please, could somebody teach me how to make the following effects? or unless link to gl tutorial or something?

- partial transparency, ¿how it is possible to see the other side of the object? when i apply transparency i see the background but not the other side of my object3d.

- light or material effect. i'm trying to make an pullid and brightness effect to my sphere, like a billiard ball.

thank you in advance.