Marc Posted March 22, 2011 Share Posted March 22, 2011 That's great Martin, thanks. Are you updating the sourceforge files too? Perhaps we can get Simon to add them... M Quote Link to comment Share on other sites More sharing options...
dulo Posted March 23, 2011 Share Posted March 23, 2011 That's great Martin, thanks. Are you updating the sourceforge files too? Perhaps we can get Simon to add them... M Well i dont have svn rights to commit and i have not tested the code on linux or mac os x. I tried to remove all warning in VS2005 and this could possibly break other platforms. But it would be really interesting to improve the lib / to update it. I try to integrate volume support, but i am still far from a working version. A python and a .net and a Java wrapper is also planned ( based on swig ). I guess this would also be interesting for other people. Quote Link to comment Share on other sites More sharing options...
haggi Posted April 23, 2011 Share Posted April 23, 2011 I'd like to be able to export bgeo/geo files from 3d packages. I could download the GDP files and include them into my tool, but to be honest, I have problems to understand the procedure e.g. to create a polyon. Thats the procedure how I understand it, please correct me if I'm wrong: - First I have a new GPD_Detail pointer, this is the base how a new object is defined, correct? - Next I have to create points, e.g. with GPD_Point *p0 = new GPD_Point(-1,-1,0);. - Add the points to my detail with something like gdp->createPoint()?? - Then I tell the pointer what type of primitive I want to create e.g. face = gdp->buildPrimitive(GPDPRIMPOLY). - this primitve will be filled with vertices with something like face->addVertex(v). - The creation of a primitive and filling it has to be done for all primitices I need e.g. all faces of a polygonmesh. This is my basic understanding of the geometry definition. I managed to get a basic polygon, but how can I attach other attributes like normals and uv coords? The examples contain only a nurbs sphere but no polygon and detail attributes. Is there any place where I can find out more about the geometry encoding, maybe with examples? The Houdini sdk was somewhat helpful but its still quite different. thanks for any hint. Quote Link to comment Share on other sites More sharing options...
Cuckon Posted April 22, 2012 Share Posted April 22, 2012 This is a working GPD Solution for VS2005 for Release, Debug and x86 and x64 !! It reads and writes binary and ascii files. I fixed some windows errors and loads of warnings. cheers dulo Wow man you saved my day! The files in sourceforge really need an update. Quote Link to comment Share on other sites More sharing options...
symek Posted April 22, 2012 Share Posted April 22, 2012 Wow man you saved my day! The files in sourceforge really need an update. Thanks God, this code is depreciated in H12. Quote Link to comment Share on other sites More sharing options...
edward Posted March 15, 2014 Share Posted March 15, 2014 Should we un-sticky this thread? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.