Unreal Engine 4 - Math Expression CubeMap to Equirectangular projection shader in Material Editor? - projection

How can I display a cube texture in an Equirectangular using a material Shader? in Material Editor?

Related

Skiasharp for map overlays

I currently am using win2d and bing maps to draw polygon overlays on a bing map in a uwp project. I would like to use skiasharp to draw the overlays using a surface pen.
Is it possible to use skiasharp for this purpose?
It could work. You can export SkiaSharp drawing as a transparent PNG, so if you can display PNG over your map, then you can use it.

Blender 3d sphere material to 2d map

So I've been able to generate a 3d material for a sphere object in Blender. The material is based on the video found here which uses a combination of nodes with the cycles renderer to generate a dynamic material. Although the finished product looks wonderful, I can't find a way to take this material and convert it to a png image. I'm not trying to render the image; I've already rendered an image of the object. I just want to take this generated planet and create a 2D map in the same way you might look at an image of the Earth that includes all surface area in one image.
Can someone help me create a png/jpeg of the 2D map or point me in the right direction?

How to render 3D text in JavaFX?

I'm making my first JavaFX project and I need to render some 3D text. I already put a PerspectiveCamera and I display a text node but it has a Z-dimension of 0 and I don't know how to change this.
Thanks in advance!
Have a look at the FXyz project. It already contains a Text3DMesh class that will allow you generating a 3D mesh for any string and font you need.
Under the hood there is a complex process of converting (2D) Text to Path, Delaunay triangulation and mesh extrusion.
As a result, you have a 3D mesh that can be easily rendered and textured (solid color, density map, images).
Have a look at the sample to get you started.

video as texture in Qt3D 2.0

I am using Qt 5.5.0 and Qt3D 2.0.
I want to display video as texture.
I can display and rotate only one image.
How can I add a video instead of an image?

SCNNode material scale

I have an SCNNode that has its geometry populated from a collada file (.dae) and displays correctly on screen. I can apply materials to the geometry easily enough, however I'd like to change the scale of the material.
I currently populate it with
nodeArray[0].geometry?.firstMaterial!.diffuse.contents="wood.png"
but the scale of the material is too small. While I can edit the png in GIMP or something similar and import it as wood2.png is there any way I can set the material scale programatically?
what do you mean by "too small" ?
Geometries are made of different sources such as the vertices' positions, but also their texture coordinates. These texture coordinates (they belong in [0,1]x[0,1]) are specified per vertex and indicate where to look in the texture.
In your 3D modeler please check that your texture coordinates match what you want (i.e. they cover the whole image i.e. they go from 0 to 1 in very direction), and make sure that your image has no extra transparent margin or other wasted space.
You can have a look at SCNMaterialProperty's contentsTransform property. But please check your model and texture before using it.
You need to open your UV snapshot in an image editing software like Photoshop, scale the wood texture in Photoshop over your UV's, then resave your PNG/JPG, move PNG/JPG back to Xcode

Resources