Saturday 14 March 2015

NetGL Sample scenes


After downloading source code from link above open NetGL.Constructor.UI.Main.xaml.cs C# code file and find line #76, method SetScene(). There you can uncomment various samples like text adding to scene, different geometry, interactive or not.

Uncommenting AddPlane() and AddLights() methods will add two lights and normal mapped plane to scene:

Uncommenting AddSpheres(), AddShakeLight() and lines 195, 196 will result:
"Drunk" camera effect achieved with:
Tween technique will be covered in future posts.

No comments:

Post a Comment