These forums are CLOSED. Please visit the new forums HERE
Polygons |
|
|
Eadoin Welles
Registered User
Join date: 5 Jan 2007
Posts: 149
|
01-15-2007 08:41
Is it possible to build a polygon in second life? Should I create many triagular prims and link them, or is there a simpler trick?
|
|
Eadoin Welles
Registered User
Join date: 5 Jan 2007
Posts: 149
|
Modifying shape
01-15-2007 08:42
...and of course, is there a way to move single vertexes just to change its shape? For example, in a regular hexagon move one vertex to the center to create an "empty triangular area" on one side?
|
|
Rael Delcon
Registered User
Join date: 23 Nov 2006
Posts: 86
|
01-15-2007 09:16
SL does not represent solids through their suface. It uses a set of parametric surfaces (prims) that you can link/intersect together.
If you want real polygons you can assemble properly shaped boxes (triangles, squares, etc ...) but if you are trying to build something, my advice is to spend some time playing with the prims and understanding how parameters affects their shape. Rael |
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
01-15-2007 12:31
another useful trick is to use a texture that is a picture of a polygon. for example, you can make a soccer ball (polygon) out of lots of little pieces, but it is a lot easier to take a picture of a soccer ball and wrap it around a simple sphere. if the picture has lots of shading and stuff, it ends up looking pretty good.
|
|
Eadoin Welles
Registered User
Join date: 5 Jan 2007
Posts: 149
|
01-15-2007 16:05
SL does not represent solids through their suface. It uses a set of parametric surfaces (prims) that you can link/intersect together. Rael I understand. So, if I want an hexagon, I have to group togheter six flat prisms... ![]() I hoped there was a simpler way. I understand that working with prims avoids the time consuming approach of meshing, but SL is at least missing a prism with polygonal base, where you can select the number of sides of base. |
|
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
|
01-15-2007 16:20
Yep, it is missing arbitrary extruded n-gons, but you can always make do with triangles (as was noted). In the past, I have written little scripts to create such constuctions with mathematical precission.
Puzzler: a poster above used the example of a textured soccer ball. I did some fooling around in phsop to try and make such a texture but ran into the orange peel problem. That is, a soccer ball exterior is composed of regular, tiled pentagons which works fine on a sphere but doesn't tile on a pshop plane. Yes, I know that there would be problems with the texture mapping onto a sphere but just can't even begin to figure where to start. _____________________
|
|
Edison Swain
Registered User
Join date: 7 Dec 2006
Posts: 51
|
01-15-2007 16:47
Puzzler: a poster above used the example of a textured soccer ball. I did some fooling around in phsop to try and make such a texture but ran into the orange peel problem. That is, a soccer ball exterior is composed of regular, tiled pentagons which works fine on a sphere but doesn't tile on a pshop plane. Yes, I know that there would be problems with the texture mapping onto a sphere but just can't even begin to figure where to start. Not sure if this would have anything to do with it, but a soccer ball isn't just pentagons. The pattern is a combination of pentagons and hexagons. On a "traditional" ball, the white area would be hexagons and the black "dots" would be pentagons. But since I have no knowledge of photoshop at all, I don't know whether or not that's the problem you are encountering! ![]() |
|
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
|
01-15-2007 17:11
Not sure if this would have anything to do with it, but a soccer ball isn't just pentagons. The pattern is a combination of pentagons and hexagons. On a "traditional" ball, the white area would be hexagons and the black "dots" would be pentagons. ![]() The problem is geometry - or tessellations. You can tile a plane with squares, rectangles, triangles or heaxagons. I know you can't with pentagons and am unsure about pentagons and hexagons. The reason I called it the "orange peel" problem is that you cannot lay an orange peel flat on a table, nor can you take the skin off a globe and lay it flat _____________________
|
|
Eddy Stryker
libsecondlife Developer
Join date: 6 Jun 2004
Posts: 353
|
01-15-2007 17:27
Yep, it is missing arbitrary extruded n-gons, but you can always make do with triangles (as was noted). In the past, I have written little scripts to create such constuctions with mathematical precission. One of the reasons SL doesn't support arbitrary n-gon extrusion is that it calculates the sides of the 2d polygon before extrusion based on the current LOD for that object. A sphere may actually get rendered as a hexagon, but it uses logic to make things attempt to resemble the shape they are supposed to resemble. If you could create a 9-sided object, the LOD calculations might turn it in to a 5-sided object instead and it wouldn't look at all like what it's supposed to look like from different viewing distances. _____________________
http://www.libsecondlife.org
Evidently in the future our political skirmishes will be fought with push weapons and dancing pantless men. -- Artemis Fate |
|
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
|
01-16-2007 05:38
I understand. So, if I want an hexagon, I have to group togheter six flat prisms... ![]() Actually, you can do it with 2 trapezoids. Build a cube, make the height 43.3% of it's width, and set its X or Y taper to 0.5. Copy, rotate 180° on the tapered axis, and align the wide bases together. Voilà. |
|
Markubis Brentano
Hi...YAH!!
Join date: 15 Apr 2006
Posts: 836
|
01-16-2007 06:24
Is it possible to build a polygon in second life? Should I create many triagular prims and link them, or is there a simpler trick? I know someone in SL that did this already. I was there as he was swearing and aligning...LOL It wasn't easy, but the finished product was gorgeous. (a geodesic house). IM me in game if you're interested in picking his brain or perhaps he has one that you can use. If I'm not on, I'll answer your IM when I get in. |
|
Eadoin Welles
Registered User
Join date: 5 Jan 2007
Posts: 149
|
01-19-2007 13:24
I know someone in SL that did this already. I was there as he was swearing and aligning...LOL It wasn't easy, but the finished product was gorgeous. (a geodesic house). IM me in game if you're interested in picking his brain or perhaps he has one that you can use. If I'm not on, I'll answer your IM when I get in. OK, thank you. I am also interested to understand how to create holes in objects. I would like to avoid to use four rectangular prims to make a square hole in a square... As soon as I am in SL I'll contact you by IM. |