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.

Topics - ehud101

Pages: [1]
Support / using setParent or rotate for polylines
« on: October 13, 2014, 12:28:43 pm »
you suggested using polyline.setParent in order to get edges for a shape
the problem is that I get an error that says setParent is not a method of polylines
so how can I add my "full and regular" shape as a parent to the "lines shape"?

and, can I rotate a line?


Support / invert culling to specific triangles
« on: October 12, 2014, 07:08:39 pm »
Hi, me again

so I'm making my own cylinder, and I started "tiling" with triangles the upper and lower bases.
but since all triangles are being culled the same way, you can see both bases from only one direction. is there a way to invert the culling of triangles of only one base? so one base will be seemed from one direction and the second one from another direction?
both bases belong to the same object called "cylinder" so if I do "invert culling" it effects all triangles and I need to invert the culling for only some of them.

Support / creating a 3d cylinder with edges
« on: October 10, 2014, 11:14:50 pm »
I'm totally new with jpct (to say the truth I'm new with java, but as I saw there's no problem learning a 3d engine before knowing all the basics, its even kind of helping knowing the language)

my problem: I want to create a 3d cylinder, at first I used the Primitives class but than I saw that I wouldn't go far with this object (and I'm planing to). so I'm going to make it manually like you did in the cube example.

the problem is that I don't see any way to show the edges of the cylinder since there are no "line objects" . so...
how can I do it?


Pages: [1]