Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add and display multiple models to a scene? #128

Open
ashishgupta79ongithub opened this issue Jun 7, 2022 · 0 comments
Open

How to add and display multiple models to a scene? #128

ashishgupta79ongithub opened this issue Jun 7, 2022 · 0 comments

Comments

@ashishgupta79ongithub
Copy link

ashishgupta79ongithub commented Jun 7, 2022

The following doesn't seem to work:

gvdb.getScene()->AddModel(modelpath0, s0, x0, y0, z0);
gvdb.getScene()->AddModel(modelpath1, s1, x1, y1, z1);
gvdb.CommitGeometry( 0 );
gvdb.CommitGeometry( 1 );
Model* model0 = gvdb.getScene()->getModel(0);
Model* model1= gvdb.getScene()->getModel(1);
gvdb.SolidVoxelize (0, model0, &xform0, 1, 1 );
gvdb.SolidVoxelize(0, model1, &xform1, 1, 1);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant