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.

Messages - julycamara

Pages: [1]
Support / Align camera perpendicular to an object
« on: August 11, 2014, 10:45:38 am »

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.

Support / Draw 3D Terrain with planes and change it on real time
« on: July 07, 2013, 05:46:09 pm »

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.

Support / Re: light and material effects for newie
« on: 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.

Support / Apply texture image to cylindre
« on: September 17, 2012, 12:18:34 pm »

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.

Support / Re: light and material effects for newie
« on: 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.

Support / Re: light and material effects for newie
« on: September 17, 2012, 08:34:28 am »

I try this,


               clone = cube.cloneObject();



But it isn't works for me.

Support / Re: light and material effects for newie
« on: 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: this is the good draw of a transparent object.

When i try to rotate this, then we can see something like that...

And then we can see how the back side is drawing over the front side:

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

Support / Re: light and material effects for newie
« on: 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 material effect. If it is possible of course.

Thank you again.

Support / Re: light and material effects for newie
« on: August 27, 2012, 05:46:14 pm »

I'm usign jPCT-AE for Android project.

Support / light and material effects for newie
« on: August 26, 2012, 04:33:47 pm »

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.

Pages: [1]