Article Preview
Buy Now
FEATURE
On the Scene Again (Part 2)
Getting Started with SceneKit
Issue: 18.2 (March/April 2020)
Author: Stefanie Juchmes
Author Bio: Stefanie studied computer science at the university in Bonn. She came in touch with Xojo due to the work of her brother-in-law and got a junior developer position in early 2019 at Monkeybread Software.
Article Description: No description available.
Article Length (in bytes): 23,349
Starting Page Number: 21
Article Number: 18203
Resource File(s):
project18203.zip Updated: 2020-03-02 10:36:16
Related Link(s): None
Excerpt of article text...
Welcome to the second part of the SceneKitMBS tutorial. In the last article we learned to add spheres of different sizes, colors, and locations to a scene. Now we come to know new forms of geometry and how we can move the objects in the scene!
You may remember that last time we inserted an orange sphere to the scene with this code:
Dim NodeOneGeometry As New SCNSphereMBS(radius)
Dim NodeOne As New SCNNodeMBS(NodeOneGeometry)
NodeOneGeometry.firstMaterial.diffuse.contents = NSColorMBS.orangeColor
...End of Excerpt. Please purchase the magazine to read the full article.