• 服务热线:
  • 400-067-3919
当前位置:首页
>>
>>
>>
>>
>>
Creating a Simple Vivid Background
成员 [关注]
  • 帖子数: 867
  • 等级:
  • 关注我:14
  • 已发贴: 867
  • 注册时间: 2009-10-16
  • 最后登录: 2011-10-07
Asen   发表于 2011-09-29 09:02
  •  

    Summary

    In this tutorial, you will learn how to use a simple sphere, a behavior, and an image map to create a vivid moving background. All assets used in this tutorial are included in the Studio 3.0 release.

    Category Tutorials
    Author jg
    Difficulty Beginner
    Time to Complete 5 minutes


    Click here to view sample

     

    Step 1: Import a Primitive 3D object

    1. Go to the Basic Objects palette and drag a sphere primitive out to the scene window.

    2. While the sphere is selected, go to the Inspector palette and change the Y Scale of the sphere to 1.5.

    You should see an egg shaped sphere primitive located in the center of your scene window.

    Step 2: Import an Image map

    1. Go to the Storage palette and locate the image: Samples/Maps/Abstract Maps/Organic_2.jpg

    2. Drag and drop the image onto the sphere's material in the object outline.

    3. While the image is selected, change the U Repeat of the image to 3 in the Inspector palette,

    4. Change the V Repeat to 3.

    5. Change the U Tiling to Mirrored.

    6. Change the V Tiling to Mirrored.

    Step 3: Import a Behavior

    1. Go to the Storage palette and locate the behavior: Behavior Library/Animation/Rotator.bvs

    2. Drag and drop the Rotator behavior onto the sphere in the object outline.

    3. While the Rotator.bvs is selected, go to the inspector pallete and change the default X Rotation Time to 45.

    Step 4: Preview the Presentation

    1. Preview the presentation by going the File menu and selecting Preview... or by hitting the F12 key.

    Notice that the egg shaped sphere will rotate slowly on its' x axis.

    Step 5: Move the Camera

    1. Select the default camera in the Outline and change its default position Z from -600 to 0.

    The Camera should now be located directly inside of the sphere at 0,0,0.  The scene will show up as black.

    Step 6: Adjust the Sphere's Material

    By default, the sphere primitive has all of its polygons facing outward. This means that once we have moved the camera inside of the sphere, no polygons can be scene.  To see the inside of the sphere we need to adjust the sphere's material.

    1. Select the sphere's material and locate the Double Sided property in the Inspector palette. Change the Double Sided property to Off(Back Face Only).

    2. Change the Emissive Power slider property to 100.

    3. Preview the presentation.

    Notice that we are now inside of the rotating sphere.

    Step 7: Adjusting the Image map

    1. Select the Organic_2 image in the object outline.

    2. Change the Texture Mapping property to Environmental mapping.

    3. Preview the presentation to notice how Environmental mapping renders much differently than the default UV mapping.

    Step 8: Duplicating the Image

    1. While the Organic_2 image is selected, duplicate the image by selecting Edit/Duplicate object, right clicking on it and selecting Duplicate, or pressing ctrl d.

    2. While the duplicate image is selected, change the Texture Mapping property to Object Projection.

    3. Change the Texture Type to Light Map.

    4. Preview the presentation.



[关键字:]


转播到腾讯微博
  • [关注]
  • 等级:
  • 关注我:0
  • 已发贴: 5975
  • 注册时间: 2011-12-16
  • 最后登录: 2012-05-17
1楼 C.R.CAN 发表于:2012-02-22 23:32
  • 呵呵,真得不错哦!!
  • [关注]
  • 等级:
  • 关注我:0
  • 已发贴: 5094
  • 注册时间: 2011-07-25
  • 最后登录: 2012-05-17
2楼 tc 发表于:2012-03-22 23:28
  • 已阵亡的 蝶 随 风 舞 说过 偶尔按一下 CTRL A 会发现 世界还有另一面
  • [关注]
  • 等级:
  • 关注我:16
  • 已发贴: 551
  • 注册时间: 2011-07-16
  • 最后登录: 2012-05-17
3楼 奇 发表于:2012-04-18 23:21
  • 真是不错啊
  • [关注]
  • 等级:
  • 关注我:0
  • 已发贴: 5094
  • 注册时间: 2011-07-25
  • 最后登录: 2012-05-17
4楼 tc 发表于:2012-04-24 23:20
  • 水……生命之源……灌……
  • [关注]
  • 等级:
  • 关注我:16
  • 已发贴: 551
  • 注册时间: 2011-07-16
  • 最后登录: 2012-05-17
5楼 奇 发表于:2012-05-14 23:20
  • 发了那么多,我都不知道该用哪个给你回帖了,呵呵
回复帖子
要回帖请先  登陆  或 注册
引用:
内容:

     清空内容     清空引用

  (Ctrl + Enter键发表回复)
请登录