Tuesday, October 1, 2024

Post 12/30: VFX tutorial for Blender – Dynamic Lighting (Animating Lights)

 

Goal: Understand how to animate lighting to enhance your scenes.


Step 1: Set Up Your Scene

1.     Open Blender.

    • Start a new project or open the scene you created on Day 11.

2.     Create a Simple Scene.

    • Add a plane for the ground (Shift + A > Mesh > Plane).
    • Create a few objects (cubes, spheres, etc.) to illuminate.
    • Scale and position these objects as you prefer.

Step 2: Add Light Sources

1.     Add a Light.

    • Select your scene and press Shift + A > Light > Point (or any other light type, like Area or Sun).
    • Position the light above your objects to start.

2.     Adjust Light Properties.

    • Select the light and go to the Light Properties tab (the light bulb icon).
    • Adjust the Power to set the intensity of the light.

Step 3: Animate the Light

1.     Select the Light Source.

    • Go to the frame where you want the animation to start (Frame 1).

2.     Insert Keyframes for the Light’s Location.

    • With the light selected, press I > Location to insert a keyframe for the light’s position.

3.     Move to Another Frame.

    • Move to Frame 30 (or any frame you prefer for the animation end).

4.     Change the Light's Position.

    • Move the light to a new location (e.g., higher, lower, or to the side).

5.     Insert Another Keyframe.

    • Press I > Location again to set the new position as a keyframe.

Step 4: Animate Light Intensity

1.     Change Frame for Intensity Animation.

    • Move to Frame 15.

2.     Adjust Light Power.

    • Change the Power in the Light Properties tab (e.g., lower it or increase it).

3.     Insert a Keyframe for Power.

    • Press I > Strength to record this new intensity.

4.     Go to Frame 30.

    • Adjust the Power to another value (increase or decrease).

5.     Insert Another Keyframe.

    • Press I > Strength to set this change.

Step 5: Preview Your Animation

  1. Play the Animation.
    • Press the Spacebar to see how the light moves and how its intensity changes over time.
    • Make adjustments to timing and position as needed by moving keyframes in the Timeline.

Step 6: Render Your Animation

1.     Set Render Settings.

    • Go to the Output Properties tab (the printer icon).
    • Set your output resolution and file format (e.g., FFmpeg for video).

2.     Render the Animation.

    • Go to Render > Render Animation to generate your animated scene.

Step 7: Share Your Work

  1. Export Your Rendered Animation.
    • Save the rendered animation file in a shareable format.
  2. Share Your Visual.
    • Post it on social media, forums, or platforms like YouTube or Vimeo to showcase your work!

Shareable Visual:

  • Your final product should be a short animation showing your dynamic lighting in action, highlighting how the light moves and changes intensity over time.

Tips:

  • Experiment with different types of lights (Area, Sun, Spot) for unique effects.
  • Play with the Color of the lights to add atmosphere to your scene.
  • Adjust the Shadow settings in the Light Properties for more realism.

Sources:
ChatGPT


Day 10: Blender tutorial for making illustrations - Creating Brainstorming Diagrams

 


Objective: Create and animate a brainstorming diagram that visually represents interconnected ideas.


Step 1: Setting Up Your Workspace

  1. Open Blender:
    • Start Blender and create a new project by selecting "General."
  2. Adjust the Layout:
    • Split your view into two sections: one for the 3D viewport and another for the Timeline.
    • This will help you visualize your diagram while also managing animations.

Step 2: Creating Base Shapes for Ideas

  1. Add Basic Shapes:
    • In the 3D viewport, press Shift + A to open the Add menu.
    • Choose Mesh > Circle or Mesh > Plane for your main idea nodes.
    • Scale them using S (for scale) and G (for grab/move) to position them effectively.
  2. Duplicate Shapes for Multiple Ideas:
    • Select the first shape and press Shift + D to duplicate it.
    • Position the duplicates to represent different ideas in your brainstorming session.
  3. Label the Ideas:
    • With each shape selected, go to the Object Data Properties tab (green square icon) in the Properties panel.
    • Under the "Geometry" section, you can add text or use the Text Tool (Shift + A > Text) to create labels.
    • Edit the text by entering Edit mode (press Tab) and typing your idea.

Step 3: Connecting Ideas with Lines

  1. Create Connection Lines:
    • Press Shift + A and select Mesh > Cylinder.
    • Scale and position the cylinder to connect the ideas (you can rotate and adjust as needed).
    • Duplicate this shape for each connection.
  2. Using Grease Pencil for More Flexibility:
    • Select the Grease Pencil tool from the left menu.
    • Use it to draw freehand lines between ideas for a more organic look.
    • You can adjust stroke thickness and color in the properties.

Step 4: Adding Colors and Styles

  1. Color Your Ideas:
    • Select each shape and go to the Material Properties tab (red sphere icon).
    • Click “New” to create a new material and choose a color that suits your theme.
  2. Enhance Visual Appeal:
    • Consider adding gradient colors or effects for depth. You can use shaders for more advanced styling.

Step 5: Animating the Diagram

  1. Set Up Animation for Appearance:
    • Select a shape, go to frame 1 in the Timeline, and press I to insert a keyframe.
    • Choose “Location” to mark its initial position.
    • Move to frame 20, shift the position slightly, and insert another keyframe.
    • Repeat for each shape to animate them sequentially.
  2. Animating Connections:
    • For connection lines, use the same method. Move the cylinder or grease pencil lines in and out of view to emphasize connections as ideas are introduced.

Step 6: Final Touches

  1. Add Background Elements:
    • Create a simple background using a plane, and color it lightly to keep focus on your diagram.
    • Consider a gradient or a light texture.
  2. Preview Your Animation:
    • Press Spacebar to play the animation. Make adjustments as needed for timing and flow.

Step 7: Rendering Your Animation

  1. Set Up Render Settings:
    • Go to the Output Properties tab (printer icon) and set your resolution (e.g., 1920x1080).
    • Choose a file format (e.g., FFmpeg video) and output folder.
  2. Render Your Animation:
    • In the top menu, go to Render > Render Animation or press Ctrl + F12.

Outcome:

You will have created an animated brainstorming diagram, visualizing interconnected ideas with dynamic movement and color. This will serve as a great learning tool for your audience.

Next Steps:

  • Continue refining your skills with different types of diagrams and animations throughout the week.
  • Experiment with various topics to find what resonates most with your audience.

 

Source:

ChatGPT


Post 24/30: An analysis of why prices of plots (properties) in Pakistan went down?

 

(Source: Pixabay)

I thought of learning about different aspects of Pakistan, as I want to do something for it. Therefore, I started with some of the well-known indices or reports that would help me in gaining more information about Strength, Weakness, Opportunity, Threat (SWOT). These were 12 posts. You can search my posts related to Pakistan by typing: #UsmanZafarParacha_Pakistan

Now, I have been learning about real estate business in Pakistan. I have started from Youtube videos and hopefully during my learning Journey, I will get some more useful resources to move ahead in this learning and perhaps entering into the real estate business.

I have seen a video, titled, “Are Major Housing Projects Like Bahria, DHA, and Lake City Failing? | A Detailed Analysis” on the channel “Titanium Group”

The host discusses the impact of the overall effect in Pakistan on Real Estate. He discusses that property are really at their lower level, and it is a sort of “shopping time.”

Money always comes towards bigger cities (such as Lahore, Islamabad, and Karachi), rather than moving towards smaller cities.

Considering the prices of Bahria Town, Phase 8 (extension), he discusses that about three years ago, the prices were about 35 lacs; about two years ago, these were about 25 lacs, and now the same plot file can be obtained in the price range of 15 lacs. The host discusses that one of the most important reasons in the decline in prices that initially traders (reaching up to more than 75% of businesses) were involved in selling and purchasing of property. They were not end-users. Actually, end-users like to remain in the process. For instance, they would like to live in the house after purchasing the property. Now, traders are out of the process.

The host tells that in Bahria Town, Lahore (Phase 2, 3, 4), 5 marla plots can be obtained in the price range of 35 to 38 lacs, and 10 marla plots can be obtained in the prices of above 70 lacs. These are the same plots that were initially available at the price of about 1.25 crores.

Aside from plots, commercial shops or apartments can be found profitable in the next few years. This is also one of the reasons that people have moved their money from societies to high-rise (buildings with upper floors). Most of the direction of money coming from outside of Pakistan (remittances) is also towards high-rise. In this case, an interesting point is that suppose you get a 5 crore rupees house in a good society, it would help you in getting a rent of about 50,000 rupees, whereas an apartment of about 1 crore rupees can easily give you this amount of rent.

The host suggests that investing in property (plots) can be fruitful in the next few months. Moreover, investing in high-rise and under construction projects can also be beneficial in terms of taxes, as government as implemented low amount of taxes in these cases (probably appreciating living in high rise).

Follow my Hashtag #behtareenkitalaash on Youtube: https://www.youtube.com/hashtag/behtareenkitalaash

Sources:

Titanium Group - https://www.youtube.com/watch?v=Zgx4ck8rzEA


Sunday, September 29, 2024

Post 11/30: VFX tutorial for Blender – Simple Object Destruction with Physics

 


Goal: Learn how to break objects using Blender's physics system to create a destruction effect.

Step-by-Step Tutorial

Step 1: Set Up Your Scene

  1. Open Blender and create a new project.
  2. Delete the default cube (if present) by right-clicking it and selecting Delete.
  3. Add a new object to simulate destruction:
    • Go to the top menu and select Add > Mesh > Cube.
  4. Scale the cube to a suitable size for your destruction effect (e.g., 1.5 on the X, Y, and Z axes).

Step 2: Prepare the Object for Destruction

  1. Apply the Scale:
    • With the cube selected, press Ctrl + A and select Scale.
  2. Go to Object Mode (ensure you're not in Edit Mode).

Step 3: Set Up the Rigid Body Physics

  1. Select the Cube, then go to the Physics Properties tab (represented by a bouncing ball icon).
  2. Click on Rigid Body.
    • Set the type to Active (this allows it to move).
    • Leave the default settings for now.

Step 4: Create the Destruction Effect

  1. Add a New Object:
    • Go to Add > Mesh > Plane. This will be the ground for the falling pieces.
    • Scale it up (e.g., to 10 on the X and Y axes) and move it down so that the cube will fall onto it.
  2. Select the Plane and go to the Physics Properties tab.
  3. Click on Rigid Body and set the type to Passive. This will make it a static object that other objects can collide with.

Step 5: Create the Destruction with the Cell Fracture Add-on

  1. Enable the Cell Fracture Add-on:
    • Go to Edit > Preferences, then navigate to the Add-ons tab.
    • Search for "Cell Fracture" and enable it.
  2. Select the Cube and press F3 (or Spacebar in older versions) to open the search menu.
  3. Type "Cell Fracture" and select it.
  4. In the Cell Fracture panel, set the number of pieces (e.g., 20) and click OK. This will create fractured copies of the cube.

Step 6: Set Up the Animation

  1. Select all fractured pieces (use A to select all).
  2. With all pieces selected, go to the Physics Properties tab and ensure each piece is set to Active in the Rigid Body settings.
  3. Press Spacebar to play the animation. The pieces should fall and break apart on the plane.

Step 7: Fine-Tune the Simulation

  1. Adjust the Rigid Body settings for better results:
    • You can tweak the mass, friction, and bounciness for different effects.
  2. Press Alt + A to replay the animation and observe the destruction.

Step 8: Render Your Animation

  1. Set up your camera:
    • Select the camera and position it to frame your scene.
  2. Go to the Render Properties tab:
    • Set the render engine to Cycles or Eevee based on your preference.
  3. Render the Animation:
    • Go to the Output Properties tab, choose the output folder, and set the file format (e.g., PNG or video).
    • Press Ctrl + F12 to render the animation.

Step 9: Share Your Visual

  1. Save your project (File > Save As).
  2. Upload your rendered animation to a platform like YouTube or social media to share your progress!

Shareable Visual:

  • A destruction animation showing the fractured cube breaking apart on impact with the ground.

Sources:
ChatGPT


Day 9: Blender tutorial for making illustrations - Animated Text for Illustrations



Objective: Learn how to create and animate text in Blender to enhance your illustrations, making them more engaging and informative.


Step-by-Step Tutorial

1. Open Blender:

  • Launch Blender. You’ll start with a new project, so ensure you’re in the Layout workspace.

2. Add a Text Object:

  • Press Shift + A to open the Add menu.
  • Navigate to Text and select it. A default text object will appear in the center of the scene.

3. Edit the Text:

  • With the text object selected, press Tab to enter Edit Mode.
  • Delete the default text (usually “Text”) and type your desired label (e.g., “Biology Concept”).
  • Press Tab again to exit Edit Mode.

4. Position the Text:

  • Use the Move tool (shortcut G) to position the text in the desired location within your scene.
  • Adjust the height and depth by moving the text along the Z-axis if necessary.

5. Style the Text:

  • With the text object selected, go to the Object Data Properties panel (the icon that looks like a letter 'A').
  • Under the Font section, you can change the font style, size, and alignment. Choose a font that matches the theme of your project.

6. Animate the Text:

·        Insert Keyframes:

    • With the text object still selected, go to the Object Properties panel (the orange square icon).
    • Locate the Transform section.
    • Right-click on Scale and choose Insert Keyframe. Set the initial scale to 0 (to make it invisible).
    • Move the timeline marker to frame 10 (or any frame you choose).
    • Change the scale to 1 (normal size) and insert another keyframe.

·        Optional: Animate Opacity (if using a material):

    • If you want to animate opacity, you can create a new material for the text.
    • Go to the Material Properties panel (the red sphere icon).
    • Right-click on Alpha in the material settings and insert a keyframe at 0 at frame 1.
    • Move to frame 10 and set the Alpha to 1, then insert another keyframe.

7. Preview the Animation:

  • Press Spacebar to play the animation and see how the text appears in your scene.

8. Refine the Animation:

  • Open the Graph Editor to adjust the keyframes for smoother transitions.
  • Select the keyframes and press T to choose different interpolation types (e.g., Ease In, Ease Out) for smoother animations.

9. Add Additional Text Elements:

  • Repeat the process to create and animate any additional text labels you want in your illustration, adjusting timing and placement as necessary.

10. Save Your Project:

  • Regularly save your project by pressing Ctrl + S to avoid losing your work.

Outcome

By the end of Day 9, you will have created and animated text labels in your Blender project, making your illustrations more dynamic and engaging.

 

Source:

ChatGPT


Post 23/30: Sector N, Phase 8, Bahria Town, Rawalpindi

 

(Source: Bahria Town)

I thought of learning about different aspects of Pakistan, as I want to do something for it. Therefore, I started with some of the well-known indices or reports that would help me in gaining more information about Strength, Weakness, Opportunity, Threat (SWOT). These were 12 posts. You can search my posts related to Pakistan by typing: #UsmanZafarParacha_Pakistan

Now, I have been learning about real estate business in Pakistan. I have started from Youtube videos and hopefully during my learning Journey, I will get some more useful resources to move ahead in this learning and perhaps entering into the real estate business.

I have seen a video, titled, “Sector N Tour - 5 Marla affordable plots / Bahria Town Rawalpndi” on the channel “Garrison Estate And Builders.”

The host shares that plots in Sector N in Phase 8 in Bahria Town are 5 marla plots and are available in very reasonable prices. In the whole Phase 8 (any sector) in Bahria Town, 5 marla plots are available at a price range of 55 or more lacs. In the Sector N, 45 marla plots are available at different prices, such as 45 lacs. In the price range of 45 lacs to 50 lacs, a plot at very good location can be purchased. In this area, all-dues-clear plots are available. There are also no transfer fees, as you would be the first allottee, and the plot is not going to be transferred to your name. There is minimal tax on obtaining the property. Amenities are also available. In the nearby sector I, plots are available in the price range of 65 lacs to 70 lacs.

Follow my Hashtag #behtareenkitalaash on Youtube: https://www.youtube.com/hashtag/behtareenkitalaash

Sources:

Garrison Estate And Builders.- https://www.youtube.com/watch?v=bpcOqTF9Jmg


Saturday, September 28, 2024

Post 10/30: VFX tutorial for Blender – Advanced Materials (Using Shaders) Guide

 

Goal:

Dive deeper into Blender’s shader system to create complex materials like glass and metal.

What You’ll Need:

  • Blender installed and opened.
  • Basic knowledge of materials from Day 3.

Step 1: Set Up Your Workspace

  1. Open Blender: Start a new project or continue from your previous work.
  2. Select the Layout: Switch to the "Shading" workspace at the top of Blender. This provides a dedicated area for material creation.
  3. Create a New Object: Add a new object (e.g., a sphere) by pressing Shift + A, then selecting Mesh > UV Sphere.

Step 2: Create a Glass Material

1.     Select the Object: Click on your new sphere to select it.

2.     Open the Shader Editor: In the lower section of the workspace, you'll see the Shader Editor. This is where you’ll create your materials.

3.     Add a New Material: In the Material Properties panel (on the right), click "New" to create a new material.

4.     Set Up the Glass Shader:

    • In the Shader Editor, delete the default Principled BSDF node by selecting it and pressing X.
    • Press Shift + A, navigate to Shader, and select Glass BSDF.
    • Connect the Glass BSDF to the Material Output node by dragging the output socket to the input socket.

5.     Adjust Glass Properties:

    • Set the IOR (Index of Refraction) to 1.5 for realistic glass.
    • Change the Roughness value to around 0.1 for a smooth glass look.

Step 3: Create a Metallic Material

1.     Add Another Object: Press Shift + A, select Mesh, and then Cube to create a new cube.

2.     Select the Cube: Click on the cube to select it.

3.     Create a New Material:

    • In the Material Properties panel, click "New."
    • In the Shader Editor, again delete the Principled BSDF node.
    • Add a Principled BSDF shader (Shift + A > Shader > Principled BSDF) and connect it to the Material Output.

4.     Set Up Metallic Properties:

    • Increase the Metallic value to 1.0.
    • Set the Roughness to 0.2 for a shiny surface.
    • You can also adjust the Base Color to a desired metallic color (like a silver or gold tone).

Step 4: Lighting the Scene (10 minutes)

  1. Add a Light Source: Press Shift + A, then select Light > Area Light.
  2. Position the Light: Move the light above the objects (use the G key and drag it).
  3. Adjust Light Settings:
    • In the Light Properties panel, increase the Power to around 1000 watts to illuminate your materials effectively.

Step 5: Rendering the Scene (5 minutes)

  1. Switch to Render View: In the top right corner of the viewport, switch from "Solid" mode to "Rendered" mode to see your materials in action.
  2. Render the Image:
    • Go to the top menu, click Render > Render Image (or press F12).
  3. Save Your Render: After rendering, go to Image > Save As in the render window to save your image.

Step 6: Share Your Visual

  1. Create a Shareable Visual: Make sure your rendered image shows off both the glass and metallic materials.
  2. Export the Image: Use the saved image to share on social media, forums, or with friends to showcase your work!

Recap of Day 10:

  • Materials Created: You learned to create a realistic glass material and a shiny metallic material using Blender's shader system.
  • Shareable Visual: A rendered image showcasing your advanced materials.

Sources:
ChatGPT