Render-to-Texture at an ObjectWorldTransform

BenBaron
Posts: 57
Joined: Fri Jan 16, 2015 7:51 am

Render-to-Texture at an ObjectWorldTransform

Postby BenBaron » Mon Feb 11, 2019 3:02 pm

Hi guys,

I would like to render something into view using the Rendering Services. I've experimented with the IObjectRendererV440 but especially the facility to render text seems to be limited, at least up to now (esp. size and font). The SDK details something on how to render directly into a texture in the Money Bravo's VC, which is created by

Code: Select all

spPluginSystem->CreateTexture(TEXT("CursorTexture"), RTT_WIDTH, RTT_HEIGHT, spTexturePlugin);
and referenced in the panel.cfg

Code: Select all

texture00=CursorTexture, 0,0,765,500
I'd need this facility, but outside of the user aircraft, to render at an ObjectWorldTransform. Ideally, I'd like to render into a texture which is referenced not by the panel.cfg but by a .mdl which is place at a position in the world.

Is it possible to do this with currently available methods and if yes, how can this be done?

Thanks in advance.

All the best,

Benny

BenBaron
Posts: 57
Joined: Fri Jan 16, 2015 7:51 am

Re: Render-to-Texture at an ObjectWorldTransform

Postby BenBaron » Wed Apr 03, 2019 12:06 pm

I came to the conclusion that what I am trying to achieve doesn't seem to be possible, at the moment, as the rendered texture is limited to be referencable externally only via the the panel.cfg like in the Mooney's example.

Thinking further, maybe the ObjectRenderer could be expanded in the future to allow for a functionality where one could render custom content or textures directly onto one of the primitives.

Greets,

Benny


Return to “Software Development Kit (SDK) Questions”

Who is online

Users browsing this forum: No registered users and 2 guests