Question about NewtonMesh

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Question about NewtonMesh

Postby aqnuep » Wed Nov 25, 2009 5:17 pm

Hi,

I know that you might think that it's enough of my stupid questions for today but I want to improve the Wiki as well as my knowledge so I have to ask it anyway :D

What are NewtonMesh primitives?

I suppose they are used for storing graphics meshes, generating texture coordinates and stuff like that.

Is this correct? If yes, does it mean that Newton will incorporate helper functions and other stuff for graphics rendering? Is it the proper place to put such stuff in a physics library or this development is based on requests from Newton users?
aqnuep
 
Posts: 97
Joined: Sat Dec 22, 2007 4:14 pm

Re: Question about NewtonMesh

Postby Julio Jerez » Wed Nov 25, 2009 6:10 pm

Newton Mesh are utility functions that facilitate the creation of special effects that bler the seperationg betwen physics and graphics.

for example say you are making a piece of cloth, a softy body or whaever, it is not enought to just do the physics on each vertex array,
you need to provide Mesh Regeneration back to the application.

It is not a graphic object for rendering and it will never be, it is a geometrical object for making graphics objects by teh end end.
Now Its supports Geometrical Booleans, clipping, and few utilities for make shapes but it will support more in the future.

here is one example of the NetwonMesh support in creating a effect from a simple grapical mesh
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Question about NewtonMesh

Postby Stucuk » Wed Nov 25, 2009 7:11 pm

See Here for some usage information.
User avatar
Stucuk
 
Posts: 801
Joined: Sat Mar 12, 2005 3:54 pm
Location: Scotland

Re: Question about NewtonMesh

Postby aqnuep » Thu Nov 26, 2009 1:14 pm

Stucuk wrote:See Here for some usage information.


Yes, I've read that topic earlier, just the basics were unclear for me that's why I didn't know what is going on :D
I'll create the API reference entries for the NewtonMesh functions on the Wiki based on this.
aqnuep
 
Posts: 97
Joined: Sat Dec 22, 2007 4:14 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests