Java class to dynamically generate VRML nodes at runtime - I
Public class DynamicGenerator extends Script {
MFNode addSphere ;
Random randomNumGenerator = new Random();
float posX = 0.0f;
public void initialize() {
addSphere = (MFNode)getEventOut(“addSphere”); }
Previous slide
Next slide
Back to first slide
View graphic version