how to extract ROI using stencil buffer - rendering

What I want to do is that extracting where main avatar is using stencil buffer.
I'm using planeshift which is opensource of 3D MMORPG game and this game
uses crystalspace as rendering engine.
What I want to get is as below :
=====in stencil buffer=====
00000000000011000000000000
00000000000111100000000000
00000000001111110000000000
00000000001111110000000000
00000000000111100000000000
00000000000011000000000000
00000111111111111111100000
00000000000011000000000000
00000000000011000000000000
00000000000011000000000000
00000000000100100000000000
00000000001000010000000000
00000000010000001000000000
==========================
After rendering process, the stencil buffer should store the location of
main avatar and it can be updated each frame.
But, I am not able to find where I should modify the code.
Do you have any idea of this ?

Related

FX in Path Tracer in Unreal Engine 5

As I understand FX using Niagara won't be visible in Editor while using Path Tracer but as per Unreal Engine documentation it will be revealed in Movie Render Queue render.
Dynamic Scene Elements
The Path Tracer works by having the renderer accumulate samples over time. This is ideal for static scenes and less so for dynamic scenes that include elements such as moving lights, animated skinned meshes, and visual effects. These types of elements do not invalidate path tracing in the editor and appear as blurred, or streaking artifacts in the frame. This only appears when working in the editor and is remedied by using the Movie Render Queue to render out final elements.
https://docs.unrealengine.com/5.0/en-US/path-tracer-in-unreal-engine/
Does that mean FX using Niagara will be rendered using Path Tracer in Movie Render Queue?

How to render the data from .mvt or .vector.pbf file from scratch?

I signed up for the Mapbox vector tiles service and I've noticed that they provide map data in .mvt and .vector.pbf formats.
I tried to open these files with normal text editor and read them with the intention to see the structure and find a way to draw some parts of a map with javascript/html drawing functions. However , the files data seems unreadable for me.
How can I parse these files , and how can I draw simple map with their content ? (I read the .MVT specs here https://docs.mapbox.com/vector-tiles/specification , but I couldn't find any solution)
Note that I want to do it from scratch , without using mapbox-js or Leaflet libraries.

Unreal Stereo Capture with Material post process

We are using Panoramic Capture plugin to capture stereo pictures of our product, but it doesn't handle our Material post process effect.
We read from https://www.unrealengine.com/en-US/tech-blog/capturing-stereoscopic-360-screenshots-videos-movies-unreal-engine-4 : "Note: You may need to force the capture component to have a ViewState for certain post effects (e.g. material effects) to work" but doesn't understand how this works.
What is this View State? How to setup the ComponentCapture View State to correctly render the Post effect Material?
Thanks for any help.

How to create a custom chart with Appcelerator Titanium (Alloy) for Android

How I create a custom chart like this
with Titanium's Alloy elements (xml, tss, js - no SVG or canvas)? Any suggestion?
One approach which worked for me was the using of a webview and Google Charts.
I stored my "skeleton html page" as local asset, and inside it I wrote the minimum necessary javascript to get the json (from the controller) and to draw the chart.
I didn't need to show data offline so I directly linked the online library but I'm almost sure it's possible to use it offline too.
https://developers.google.com/chart/

pdf overlay touch in an app

i'm looking for pdf overlay feature to be implemented in iOS app, if whether its possible with libs free or even paid to have an touch overlay on PDF page within an app?
what i'm trying to do is i have a map which is train map and i want to have the map as pdf and any touch on station brings up info on each station.
is that posssible or what is other way to go forward open to every opinion!!!
i saw some other questions but none directed like this i.e.
Overlay Image above Embedded pdf
can any one tell me if its actually possible in objctive C code?
needs to work as offline app.
You can use Google Maps Static API (https://developers.google.com/maps/documentation/staticmaps/) to return an image on the map and then convert it to pdf.