Engineering Graphics Paper Work
Engineering Graphics Paper Work
AIM:
To develop an immersive VR experience using sketchup and navigate
within the model using VR kit.
PROCEDURE:
Step:1 - Open browser and go to google sketchup
Step:2 - Provoide the necessary details and login to the sketchup web.
Step:3 - Click on start free trial.
Step:4 - It will lead to the editor window.
RESULT:
Thus, the VR experience is created using sketchup.
EX NO: 02 DATE:
AIM:
To develop a predefined walkthrough for the model created in sketchup
and view it in a mobile device.
PROCEDURE:
Step:1 – Create a model in sketchup and import to the PC.
Step:2 - Go to the Modelo.io website and sign in or create an account.
Step:3 - Upload your exported model file to Modelo.io. Follow the instructions
to import your model.
Step:4 - Once your model is uploaded, you can create a predefined walkthrough
by setting up viewpoints.
Step:5 - Move the camera to the desired starting point in your model.
Step:6 - Click on the "Add Scene" or "Create View" option to save the
viewpoint.
Step:7 - Continue moving through your model, saving viewpoints at each
location you want to include in the walkthrough.
Step:8 - After setting up your viewpoints, you can define transitions between
scenes to create a smooth walkthrough experience.
Step:9 - Adjust transition settings such as duration and easing to customize the
walkthrough.
AIM:
To installation of unity hub and unity editor.
PROCEDURE:
Step:1 - Go to the Unity website (https://unity.com/).
Step:2 - Navigate to the "Get Unity" page.
Step:3 - Download Unity Hub for your operating system (Windows or
macOS).
Step:7 - If you have a Unity ID, sign in. If not, create a new one.
Step:8 - In Unity Hub, go to the "Installs" tab.
Step:9 - Click on the "Add" button.
Step:10 - Select the Unity version you want to install.
RESULT:
Thus, the unity hub and unity editor has been installed successfully.
EX NO: 04 DATE:
AIM:
To implement image recognition and 3D object placement over the image.
PROCEDURE:
Step:1 -Make sure you have Unity installed on your system. Download and
import the AR Core package into your Unity project.
Step:2 - Create a new Unity project and choose the AR Core template. This will
set up the basic AR environment for you.
Step:3 - If the AR Core template doesn't have built-in image recognition
capabilities, you may need to import a plugin such as Vuforia or AR
Foundation Image Targets to enable image recognition. Follow the instructions
provided by the plugin to set it up.
Step:4 - Choose the images you want to recognize and place 3D objects on.
These images will act as your image targets. Make sure they have enough
distinguishing features for accurate recognition.
Step:5 - Import the 3D models you want to place over the recognized images
into your Unity project. Ensure they are properly scaled and textured.
Step:6 - Configure the image recognition plugin to recognize your chosen
images. You may need to provide reference images and specify what 3D objects
to instantiate when those images are detected.
Step:7 - Write scripts to handle the placement of 3D objects over the recognized
images. This typically involves instantiating the 3D objects at the correct
positions and orientations relative to the recognized images.
Step:8 - Test your AR application on a compatible device, and iterate on it to
improve performance and user experience. Make adjustments as needed to
ensure accurate image recognition and smooth object placement.
AIM:
To implement image recognition and play videos over the image.
PROCEDURE:
Step:1 - Ensure you have Unity installed on your system. Download and import
the AR Core package into your Unity project.
Step:2 - Create a new Unity project and select the AR Core template. This will
set up the basic AR environment for you.
Step:3 - If the AR Core template doesn't have built-in image recognition
capabilities, you may need to import a plugin like Vuforia or AR Foundation
Image Targets. Follow the plugin's instructions to set it up.
Step:4 - Choose the images you want to recognize and play videos over. These
images will act as your image targets. Ensure they have distinct features for
accurate recognition.
Step:5 - Import the videos you want to play into your Unity project. Make sure
they are compatible with Unity and optimized for performance.
Step:6 - Configure the image recognition plugin to recognize your chosen
images. You may need to provide reference images and specify which videos to
play when those images are detected.
Step:7 - Write scripts to handle playing videos over the recognized images.
This involves instantiating video players at the correct positions and
orientations relative to the recognized images.
Step:8 - Test your AR application on a compatible device to ensure accurate
image recognition and smooth video playback. Iterate on your project to
improve performance and user experience as needed.
Step:9 - Optimize your project for performance, considering factors like video
resolution, encoding, and streaming quality.
Step:10 - Once you're satisfied with your AR experience, build your project for
the target platform (e.g., Android) and deploy it to your device for others to
experience.
RESULT:
Thus, the video has been successfully played over the respective image.
EX NO: 06 DATE:
AIM:
To develop a unity AR application to APK format and install in android based
mobile devices.
PROCEDURE:
Step:1 - Open your Unity project.
Step:2 - Make sure your project settings are configured for Android build. Go to
File > Build Settings, select Android as the platform, and click on "Switch
Platform".
Step:3 - In the Build Settings window, click on "Player Settings".
Step:4 - Configure the player settings according to your application
requirements, including company name, product name, package name, etc.
Step:5 - Go back to the Build Settings window.
Step:10 - Transfer the APK file to your Android device using a USB cable,
email, cloud storage, or any other method you prefer.
Step:11 - On your Android device, navigate to the location where you
transferred the APK file.
Step:12 - Tap on the APK file to start the installation process.
Step:13 - Follow the on-screen instructions to complete the installation.
Step:14 - Once the installation is complete, you should see the application icon
on your device's home screen or app drawer.
Step:15 - Tap on the icon to launch the Unity AR application.
Step:16 - Test the application on your Android device to ensure that it works as
expected and that the AR features function correctly.
RESULT:
Thus, building an unity AR application to APK format and install in
android based mobile devices has been executed successfully.
EX NO: 07 DATE:
AIM:
To create various objects using unity 3D template.
PROCEDURE:
Step:1 - Make sure you have Unity installed on your system. Create a new
Unity project or open an existing one.
Step:2 - When creating a new project, choose the 3D template option to set up a
project configured for creating 3D content.
Step:3 - You can create these objects by right-clicking in the hierarchy panel,
selecting "3D Object", and choosing the desired primitive shape.
Step:4 - If you have custom objects or complex setups that you want to reuse,
you can create Prefabs. To create a Prefab, drag an object from the hierarchy
into the Project panel. Then, you can drag the Prefab back into the scene to
create instances of it.
Step:5 - Arrange the objects in the scene by selecting and dragging them in the
Scene view. You can also adjust their scale and rotation using the transform
tools.
Step:6 - Enhance your objects by adding components such as colliders,
rigidbodies, animations, etc., to give them functionality or
interactivity.
Step:7 - Apply materials and textures to your objects to give them visual appeal.
You can create or import materials and textures, and then drag them onto
objects in the scene or apply them through the Inspector panel.
Step:8 - Once you're satisfied with your scene, build your project for the target
platform (e.g., Windows, macOS, Android, iOS).
RESULT:
Thus, various objects has been successfully created using unity 3D
template.
EX NO: 08 DATE:
AIM:
To create objects to demonstrate rigidbody and physics material.
PROCEDURE:
Step:1 - Open Unity and create a new 3D project or open an existing one.
Step:9 - Drag the physics material from the Project panel onto the objects in the
scene that you want to apply it to. Alternatively, you can assign the physics
material through scripting.
Step:10 - If necessary, adjust the Collider component settings of your objects to
better fit their shape and size. Colliders determine the physical shape of an
object and how it interacts with other colliders in the scene.
Step:11 - Enter Play mode to test the physics interactions of your objects. You
can interact with them in the Scene view or the Game view to observe how they
behave based on their Rigidbody properties and the applied physics material.
Step:12 - Experiment with different Rigidbody settings and physics materials to
achieve the desired physics behavior for your objects.
Step:13 - Adjust parameters like mass, friction, bounciness, and drag to fine-
tune the physics interactions.
Step:14 - Build your project for the target platform (e.g., Windows, macOS,
Android) and test the physics interactions on the target platform to ensure they
behave as expected.
RESULT:
Thus, objects are created to demonstrate rigidbody and physics material.
EX NO: 09 DATE:
AIM:
To develop an unity scene to demonstrate a bouncing ball random
colour change using scripts.
PROCEDURE:
Step:1 - Open Unity and create a new 3D project.
Step:2 - Right-click in the Hierarchy panel, go to 3D Object, and select Sphere
to create a ball.
Step:3 - Rename the sphere to "BouncingBall".
Step:4 - Adjust its position as desired.
Step:5 - Add a Rigidbody component to the ball. This enables physics
interactions.
Step:6 - Adjust the Rigidbody settings as needed for the bouncing behavior.
Step:11 - Drag and drop the BounceController script onto the "BouncingBall"
object in the Hierarchy panel.
Step:12 - Press the play button to test the scene.The ball should bounce and
change color whenever it collides with another object.
RESULT:
Thus, bouncing ball for random colour change using script has been created
successfully.
EX NO:10 DATE:
AIM:
To create a player movement from keyboard on a player object.
PROCEDURE:
Step:1 - Open Unity and create a new 3D project.
Step:2 - Right-click in the Hierarchy panel, go to 3D Object, and select Capsule
or Cube to create a player object.
Step:3 - Rename the object to "Player".
Step:4 - Adjust its position as desired.
Step:5 - Add a Rigidbody component to the player object. This will enable
physics interactions and allow the object to move.
Step:6 - Adjust the Rigidbody settings as needed for the player's movement
behavior.
Step:7 - Right-click in the Assets panel, select Create > C# Script, and name it
"PlayerMovement".
Step:8 - Double-click the script to open it in your preferred code editor.
Step:9 - Implement the script to handle player movement based on keyboard
input. Here's a basic example:
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float speed = 5f;
void Update()
{
float horizontalInput = Input.GetAxis("Horizontal");
float verticalInput = Input.GetAxis("Vertical");
Vector3 movement = new Vector3(horizontalInput, 0f, verticalInput)
* speed * Time.deltaTime;
transform.Translate(movement);
}
}
Step:10 - Drag and drop the PlayerMovement script onto the "Player" object in
the Hierarchy panel.
Step:11 - Press the play button to test the scene.
Step:12 - Use the arrow keys or WASD keys to move the player object
around the scene.
Step:13 - Customize the movement controls and speed in the script to fit your
preferences.
RESULT:
This the player movement from the keyboard on a player object has been
created successfully.