Showing posts with label Background Card. Show all posts
Showing posts with label Background Card. Show all posts

Thursday, 3 July 2025

Cards

I had a play with alpha cards. The distant mountains, the trees and the cloaked figure are not models; they're images rendered on a plane or on simple "cards", then placed in the scene and aligned with the camera. Doing this using a compositor is a lot more powerful, but this is a quick way to optimise resource-intensive renders. Blender 4.5 Beta, True Terrain 5, True-Sky, Photographer 5. The weird bronze statue with the tentacles was generated using Spark3D.


Key elements are not geometry; they're images projected onto planes or simple card models.

Wednesday, 25 June 2025

Beta Testing

 
This is a bit of a break in the rules: I'm using the beta of 4.5, which is a few weeks away from its expected release. What do you know? It's been absolutely solid and, dare I say, faster once I shifted over to the Vulcan API.



Add on: Retopoflow


I need to finally learn how to tackle retopology for generative outputs from Sparc3d and my own scans. Retopoflow is considered the best. It's not cheap, but it does come from  Cookie3D's developers.



I ran through a quick test, and it's maybe harder to use than I thought. I just need to do some simple practice exercises. The jump from version 3 is significant as the add on now in integrated into Blender's UI rather than as a bolt-on set of tools.


Starting off

Select a target object, Shift+A, Add Mesh, then choose Retopology at Cursor. This creates an empty mesh. Use Ctrl+Left click to start building.

Card mountains


I had another quick play with cards for mountain ranges. The lighting issues may be holding me back from using this technique in anger.

I had a play with the visibility settings, but I was still getting inconsistent lighting where the card catches the in-scene sunlight.



Overview. 2 cards!


The Wall:

In this lesson Piotr builds the curved canal wall. It's pretty straightforward non-destructive method where he uses the simple deform modifier on the in-scene assets while modelling on an unmodified instance, away from the scene, so that as he models, he can see how it looks in the final scene. Clever!

He refers to Textures.com as a source for bigger, more idiosyncratic textures for mixing. It looks good. I think I signed up on the site about a decade ago, but never used it.



It's interesting to think in terms of writing a sentence with a texture choice. The right texture says more, or has the capacity to say a lot more than a 2m x 2m seamless square.

* When Piotr drops in his chosen texture map he disables specularity and roughness on the shader because "they wash away the texture information".

* 95% of UV unwrapping is ...align your view perpendicular to the main face and then UV unwrap using Project from View.

* Avoid using noise from nodes because it doesn't create noise consistent with your complex real-world materials.  

* Adds a quick bump map


Add the colour into the Height input of a Bump node then pass the Bump node's output into the shader's Normal input. Then add a colour ramp between the colour and the bump which you can then use to control bumpiness by values.

Applies a second material on the bottom of the wall, applies it to a new material on the mesh. Aligns the texture, then creates some cuts in the model to match the protrusions in the material.

Repeats this step for the ends of the wall section.


Tip: Avoid long runs of perfectly straight lines.


Even with handrails, you should add a tiny amount of distortion to break straight lines. Looking at scans, even though they can be a bit gloopy, they often come with that slight break in regularity that often screams "CG." Solution: Subdivide the mesh and apply a slight displacement modifier (Musgrave noise).


Tip: At this stage, the model isn't entirely in the scene, so you can't tell how it will turn out, so don't try to go too far.


Razorbill


I got nowhere. This kind of model takes a lot of prep and care.


Tuesday, 17 June 2025

Cramming for an exam...

 I have a task to complete for Halo: Raptor. It's potentially enormous and will require me to stretch my skills far beyond their current limits. Not only do I need to improve the quality of my output, but I also need to radically change my process for improved efficiency and portability.

Giant terrains...how do you get them to render? One strategy is to separate a terrain into layers rendered as a composite or faked in a single pass using alpha cards.

I'll try that last one first. Create a mountain range render, then place that render on a card that conforms to your camera. This tricks the eye into believing the mountains are a natural background in the scene, not a fake one. If done right.

Mountain Alpha Cards

Actually, this could be a new product for Superhive...

Goes away and makes an attempt...

It works, but...

The workflow is good, but there are a few caveats. Firstly, Blender has a full compositor, and doing this as a compositing task offers a lot more control. However, that comes with a more hands-on approach with the compositor, and you need a bit more planning.

Here's what I did:

Background Terrain Cards

1. Render a very big mountain range, up to 8K if possible. The size of the card will be determined by your scene requirements. If your mountains are a little more than a misty silhouette, you only need to worry about a jaggy edge. Starting out big means you can downsize your image during an optimisation pass, which is easier than finding out that your image started out too small.

2. In the Render tab, go to the Film panel and turn on Transparent. This turns the background of your render transparent.

Save the output as a file that stores the alpha channel, such as a PNG (RGBA). 

10,000 x 2000 (rendered at x1.5) 17MB file

2. I optionally took the output to Affinity Photo and added a mask/transparency gradient on the bottom edge. This lets the card sit above a terrain with a softer edge. Often, the mountains will sit behind a foreground, so this isn't necessarily useful. You can maybe do this in Blender using Texture Paint with a falloff curve, but I knew how to do this in ten seconds in an external editor.

Bottom edge edited.

3. Create the card object on which you will project your mountain image. Don't use a plane! Instead, create a cylinder with a good number of faces. Make it huge. The one in this example has a 2000m radius and is 500m tall. Delete both the top and bottom faces, then delete enough segments so that your card image will match its aspect ratio. Don't forget to select faces in flip the normals so that they point inwards.


4. Create a material for the card. Plug the image's Alpha channel into your shader's Alpha input. In this example I added an extra node to allow me to increase the card's decrease brightness. Play around with your material setup to help make the results suitable for your scene.

5. You may need to fix the card's UV map to make it render correctly. It should be one of the easier UV fixing tasks you do, as the card's UV should just be a contiguous set of faces forming a long rectangle. Play with the UV so that your mountains have the correct aspect ratio, not too tall or stretched too long.

Add a foreground terrain.

6. That's all the setup done. Next, you need to play around with everything to get it working as well as possible. The first thing you need to account for is lighting. You need your sunlight source in your scene to match with the light falling on the background card.

Projecting onto the cylinder means that, if done correctly, you can turn the camera and maintain the illusion.



Retail therapy

 That's it. No more! I just bought more Blender addons. I've not even installed or used everything I bought over the last few days. ...