1. Home
  2. Docs
  3. Getting Started
  4. Creating a Sphere

Creating a Sphere

Sphere is a built-in 3D model so to create a Sphere you just need to declare about it:


1
sp is a Sphere

To make it interesting, you can wrap your sphere with a material for example:


1
sp is a Sphere having material="Pond"

SceneMax supports the following built-in materials:
pond
rock
rock2
brickwall
dirt
grass
road
And finally, you can move and rotate it the same just as any other 3D model.


1
2
sp is a Sphere having material="Pond"
sp.rotate(y+360) in 10 seconds
Was this article helpful to you? Yes No

How can we help?