Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
brasil:courses:blender_unity:unity:2_game_objects [2026/08/24 20:43] – yannbrasil:courses:blender_unity:unity:2_game_objects [2026/08/24 21:21] (Version actuelle) – [Scene Rendering] yann
Ligne 30: Ligne 30:
 {{ :brasil:courses:blender_unity:unity:unitycreatefolder.png?1024 |}} {{ :brasil:courses:blender_unity:unity:unitycreatefolder.png?1024 |}}
  
-From Windows File Explorer, copy and paste your ground texture into the “Textures” subfolder.+From Windows File Explorer, copy and paste your earth texture into the “Textures” subfolder.
  
-{{:brasil:courses:blender_unity:unity:unitytexturessubfolder.png|}}+{{:brasil:courses:blender_unity:unity:unitycreatefolder2.png}}{{:brasil:courses:blender_unity:unity:unitycreatefolder3.png}}
  
 Now, go to the menu at the very top: GameObject / 3D Object / Sphere. Now, go to the menu at the very top: GameObject / 3D Object / Sphere.
  
-{{:brasil:courses:blender_unity:unity:unitycreatesphere.jpg|}}+{{ :brasil:courses:blender_unity:unity:unitycreatesphere.png |}}
  
 We create a sphere primitive directly in Unity. We create a sphere primitive directly in Unity.
Ligne 43: Ligne 43:
 Our GameObject is named “Sphere” and consists of 3 components. Our GameObject is named “Sphere” and consists of 3 components.
  
-{{:brasil:courses:blender_unity:unity:unitycomponents.jpg?1024|}}+{{ :brasil:courses:blender_unity:unity:unityspherepropertiesannoted.png?1024 |}}
  
 The Different Components of the “Sphere” GameObject The Different Components of the “Sphere” GameObject
Ligne 62: Ligne 62:
 It’s important to name things properly; otherwise, when your scene contains dozens of GameObjects, it will become unmanageable. Rename “Sphere” to “Earth.” It’s important to name things properly; otherwise, when your scene contains dozens of GameObjects, it will become unmanageable. Rename “Sphere” to “Earth.”
  
-{{:brasil:courses:blender_unity:unity:unityrenamegameobject.png|}}+{{ :brasil:courses:blender_unity:unity:unitysphererename.png |}}
  
 Collisions aren't important in this example, so we're going to remove (delete) the “Sphere Collider” component. Collisions aren't important in this example, so we're going to remove (delete) the “Sphere Collider” component.
  
-{{:brasil:courses:blender_unity:unity:unityremovecomponent.jpg|}}+{{ :brasil:courses:blender_unity:unity:unitysphereremovecomponent.png |}}
  
 We’re now going to create a material so we can assign the texture to the sphere. We’re now going to create a material so we can assign the texture to the sphere.
Ligne 73: Ligne 73:
 Now create a new material (Create / Material) Now create a new material (Create / Material)
  
-{{:brasil:courses:blender_unity:unity:unitycreatematerial.jpg?1024|}}+{{ :brasil:courses:blender_unity:unity:unityspherecreatematerial.png |}}
  
 You will name this material “EarthMat.” You will name this material “EarthMat.”
 Select this material; its properties will appear in the right-hand panel. Select this material; its properties will appear in the right-hand panel.
-Click the small dot (anchor) next to Albedo.+Click the small dot (anchor) next to "BaseMap".
 Select the earth texture (JPEG bitmap texture). Select the earth texture (JPEG bitmap texture).
  
-{{:brasil:courses:blender_unity:unity:unitymaterialassigntexture-1024x576.jpg|}}+{{ :brasil:courses:blender_unity:unity:unityspherematearth.png |}} 
 + 
 +{{ :brasil:courses:blender_unity:unity:unityspherematearth2.png |}}
  
 We're now going to assign the “EarthMat” material to our “Earth” sphere. We're now going to assign the “EarthMat” material to our “Earth” sphere.
Ligne 87: Ligne 89:
 Select the “EarthMat” material. Select the “EarthMat” material.
  
-{{:brasil:courses:blender_unity:unity:unitysphereassignmaterial-1024x576.jpg|}}+{{ :brasil:courses:blender_unity:unity:unitysphereassignmat.png?1024 |}} 
 + 
 +{{ :brasil:courses:blender_unity:unity:unitysphereassignmat2.png |}}
  
 ===== Scene Rendering ===== ===== Scene Rendering =====
Ligne 101: Ligne 105:
 – Or, you can set the camera to a wider field of view. – Or, you can set the camera to a wider field of view.
  
-{{:brasil:courses:blender_unity:unity:unitycustomizecamera-1024x576.jpg|}}+{{ :brasil:courses:blender_unity:unity:unitycamerascene.png?1024 |}}
  
 Set “Field of view” to 10, select “Solid Color” for Clear Flags, and set the Background to black. To get pure black, all three R, G, and B components must be 0. Set the camera's Y position to 0.08 to better frame the planet. Set “Field of view” to 10, select “Solid Color” for Clear Flags, and set the Background to black. To get pure black, all three R, G, and B components must be 0. Set the camera's Y position to 0.08 to better frame the planet.
  
- +{{ :brasil:courses:blender_unity:unity:unitycamerascene2.png?1024 |}}
-{{:brasil:courses:blender_unity:unity:unitycamerasettings.jpg|}}+
  
 There you go—our scene is ready to be rendered! There you go—our scene is ready to be rendered!
Ligne 114: Ligne 117:
 The Play button lets you preview the game's runtime. The Play button lets you preview the game's runtime.
  
-{{:brasil:courses:blender_unity:unity:unityearthruntime-1024x576.jpg|}}+{{ :brasil:courses:blender_unity:unity:unitycamerascenegame.png?1024 |}}
brasil/courses/blender_unity/unity/2_game_objects.1787596992.txt.gz · Dernière modification : de yann
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0