Adding Height Segments to a polygon..!!
Hello Everybody.
In OpenGl can i modify (not create) a polygon or a scene, adding some Height Segments (more faces)???
Exist a command or a rotine to this?...
Thnaks all
In OpenGl can i modify (not create) a polygon or a scene, adding some Height Segments (more faces)???
Exist a command or a rotine to this?...
Thnaks all
If you want to subdivide an existing model, you have to write the code yourself.
Most modelers will do this for you though.
Or do I totally not understand your question?
Most modelers will do this for you though.
Or do I totally not understand your question?
"Yes, well, that's the sort of blinkered, Philistine pig-ignorance I've come to expect from you non-creative garbage."
Supose this:
I import a cube model from another program (3ds, obj, etc).
The cube have 8 vertices and 12 faces.
Can i adding height segments in this imported cube... (for example if i add 3 height segments result 16 vertices and 28 faces)...
How?...commands??
I import a cube model from another program (3ds, obj, etc).
The cube have 8 vertices and 12 faces.
Can i adding height segments in this imported cube... (for example if i add 3 height segments result 16 vertices and 28 faces)...
How?...commands??
Are you trying to duplicate the cube?
If that's the case, you'd just draw the cube more than once with calls to gltraslatef in between to position the copies where you want.
If that's the case, you'd just draw the cube more than once with calls to gltraslatef in between to position the copies where you want.
"Yes, well, that's the sort of blinkered, Philistine pig-ignorance I've come to expect from you non-creative garbage."
What do you mean height segments?
Sir, e^iπ + 1 = 0, hence God exists; reply!
Why is Height Segments in bold, why do you think we know what it means?
Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote:The cube have 8 vertices and 12 faces.=/ Doesn't a cube only have 6 faces? Its a polygon if it has more right?
I think he is using two triangles for each face, but being very unclear with his questions.
Sir, e^iπ + 1 = 0, hence God exists; reply!
Sorry people i was out, so that i can't post....
So:
1º - I use a imported models (3ds, obj, etc) and they using a triangulation ( so that the 12 faces in a example cube...),
2º - Height segments is the way to increase more faces (and poligons) to a object, by sub-divide the object in height sections.... (This ca be do in much programs like 3D Studio, Maya etc...
3º I need this to help me in detection a perpendicular face by a top and ortographic view ......
Thanks
So:
1º - I use a imported models (3ds, obj, etc) and they using a triangulation ( so that the 12 faces in a example cube...),
2º - Height segments is the way to increase more faces (and poligons) to a object, by sub-divide the object in height sections.... (This ca be do in much programs like 3D Studio, Maya etc...
3º I need this to help me in detection a perpendicular face by a top and ortographic view ......
Thanks
OpenGL doesn't have any built in features which will do what you describe. Its core functions are only concerned with drawing, not modelling.
You can of course write your own code to subdivide your models, but OpenGL itself won't be any help in this respect.
You can of course write your own code to subdivide your models, but OpenGL itself won't be any help in this respect.
Again you mention Height segments and Height sections, assuming I dont know these words, could you exlain what you actaully want to do this way people who have already tackled the problem may be able to help you.
+ Not sure what °3 is, but have a look at calculating face normals.
+ Not sure what °3 is, but have a look at calculating face normals.
Sir, e^iπ + 1 = 0, hence God exists; reply!
unknown Wrote:Again you mention Height segments and Height sections, assuming I dont know these words, could you exlain what you actaully want to do this way people who have already tackled the problem may be able to help you.I think he's referring to 3D Studio Max's notion of height segments. For example, adding height segments to a cylinder means that there will be extra divisions and faces along its length (as opposed to adding segments around the circle or across the caps).
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| iPad Virtual keyboard height = 352 | Baldock | 0 | 3,756 |
Feb 3, 2011 04:36 AM Last Post: Baldock |
|
| Polygon budgets | Kerome | 1 | 2,409 |
Mar 7, 2010 04:55 AM Last Post: mikey |
|
| Getting the Normal for a polygon. | Jaden | 3 | 4,734 |
May 1, 2009 01:47 PM Last Post: Nosredna |
|
| Is there anything like polygon offset for GL_LINES? | TomorrowPlusX | 2 | 2,983 |
Jan 24, 2007 02:57 PM Last Post: TomorrowPlusX |
|
| 2d Polygon Intersection | bizimCity | 6 | 6,025 |
Aug 31, 2006 05:29 PM Last Post: reubert |
|

