# Equation and mesh

This topic is 3044 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hy.
i have an equation , for simplicity the cone equation, I can create a 3d mesh model from this equation?
There are methods for speed up the computation of 3dmesh from equations?
I must do a analisys study of function
or for draw what i wont in triangles and vbo?
thanks.
sorry for my english.

##### Share on other sites
Quote:
 Original post by giugioHy.i have an equation , for simplicity the cone equation, I can create a 3d mesh model from this equation?

Yes. If you have parametric equations, just triangulate the parameter space and map the vertices through the equations. If you have an implicit equation, use marching cubes.

Quote:
 There are methods for speed up the computation of 3dmesh from equations?

Don't worry about speed until you have something that works.

Quote:
 I must do a analisys study of function

A mesh may not help much here...

Quote:
 or for draw what i wont in triangles and vbo?

What?

##### Share on other sites
Quote:
 Original post by giugioHy.i have an equation , for simplicity the cone equation, I can create a 3d mesh model from this equation?There are methods for speed up the computation of 3dmesh from equations?I must do a analisys study of functionor for draw what i wont in triangles and vbo?thanks.sorry for my english.
Is this related to your other thread on rendering of coordinate system axes using cylinders and cones? In any case, building a cone mesh is simpler than what you seem to be describing here.

A (typical) cone consists of a circle of vertices, and a single vertex for the 'tip'. Generating the coordinates for these vertices is trivial, as is generating the connectivity information. Just build a vertex and index buffer for the cone at program startup (or whenever), and then render it whenever and wherever needed.

1. 1
Rutin
40
2. 2
3. 3
4. 4
5. 5

• 18
• 19
• 12
• 14
• 9
• ### Forum Statistics

• Total Topics
633362
• Total Posts
3011531
• ### Who's Online (See full list)

There are no registered users currently online

×