• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX Casting camera to texture

Messages
92
Country
poland
Hi everyone!

I have a question:

I found on this forum (without any details) that a camera view can be casted onto a $texture to relapse it.
All I found was tat you should add that to your CameraDefinition.n:
Code:
Title = "$BackMirror"
RenderToTexture=TRUE
RenderToScreen=FALSE

I tried it but it doesn't work.
Is there anything more I have to do?
Is it even a real thing, or had I been trolled?
 
Low level virtual table hooking. Not for the faint hearted.
 
This topic makes me curious.
Though it looks like the camera covers the whole texture by simply being it instead of a panel.cfg entry. So it's not possible to render a real time cube map? If it was I thought of linking that one as an environment map to make real time reflections. :D
 
P3D v3 already does real time reflections via cubemap by default.
 
P3D v3 already does real time reflections via cubemap by default.
As far as I understood reflections from a cube map are NOT realtime.
And there is no reflection on any aircraft in P3D v3 which actually matches the current environment.
 
Quote from the v3.1 release blurb "Added dynamic reflections on objects by replacing the static environment map with a dynamic cube map"
 
That still doesn't mean real time.
It just means that the environment map is able to change but it still doesn't have anything to do with the actual environment as long as trees are reflected on top of a wing.
 
Just to clarify P3D3's reflections, here's a quick shot of a scenery object. You can see that the scenery is certainly reflected in real-time.
However the reflection itself is not reflected, of course:) No doubt this will come one day!
Plenty of limitations -- simobjects and the user aircraft are not reflected, nor is my avatar here...

reflect.jpg
 
Can you get me a quick tip how to get this working/turned on as I saw nothing like that inside P3Dv3 yet. Is there an option to switch between the real time reflection and the environment map?
Or does that have to be implemented into the object?

Sorry for getting off topic BTW
 
Settings - Lighting - Dynamic Reflections
By the way, while checking this in the sim just now, I did notice that road traffic is certainly reflected in real-time -- very cool watching it go by in the reflection in the window!
 
Come to think of it, I don't recall seeing it until I upgraded my GPU, so it might be GPU-dependent.
 
Huh? Not following you, a bit too deep for me :)

Would have been cool to see your plane reflected, hopefully coming sooner or later

Yeah, that was a bit glib, what I meant was that in my screenshot above, there's the front of the terminal, plus an entranceway extending out. The FRONT of the terminal reflects the tarmac and beyond, and is also reflected in the SIDE of the entranceway. But the reflection in the side of the entranceway doesn't include the reflection of the tarmac.

Hence the reflection of the glass in the side of the entranceway shows up as black, which is the 'colour' of the glass texture, rather than a mirror-image of the glass-with-reflection.

I would think that it will be a while (years) before we see an accurate 'ray-traced' reflection, but in the meantime it works ok to add realism as you taxi by.

And yeah, I would think that LM would be working on aircraft reflections, that would be the finishing touch.
 
Back
Top