SGC and setGeometry Questions
Posted: Thu 12. Mar 2015, 05:28
Hello,
I'm very new to jReality and working with 3D graphics all together. I am working on a project in jReality and I'm having some difficulties learning some things.
My project will take place in a VR space, so I'm using JRViewer. I'm curious as to what the difference is between:
in addition to this,
why is this legal?:
and this is not:
Thank you in advanced!
I'm very new to jReality and working with 3D graphics all together. I am working on a project in jReality and I'm having some difficulties learning some things.
My project will take place in a VR space, so I'm using JRViewer. I'm curious as to what the difference is between:
Code: Select all
SceneGraph Component sgc = new SceneGraphComponent();
SceneGraphComponent sgc_SGU = SceneGraphUtility.createFullSceneGraphComponent("Something");
why is this legal?:
Code: Select all
sgc.setGeometry(Primitives.cylinder(5));
Code: Select all
sgc.setGeometry(Primitives.sphere(5.0,0.0,0.0,0.0));