Rendering plugins objects and lighting

JeeHell
Posts: 65
Joined: Sun Jan 15, 2012 11:04 pm

Rendering plugins objects and lighting

Postby JeeHell » Sat Apr 14, 2018 12:21 pm

Hello LM team,

I was playing with the rendering service from the PDK, and particularly with the objects Draw calls (DrawSphere, DrawCylinder, etc).
Those are nice little functions, even if it's not possible (for now?) to apply a texture to those objects.
However, the biggest limitation for me in fact is that the object is rendered without respect to ambient lighting. So at night, you get really bright objects, which might be nice for some use cases, but not for all.

I wonder if it's possible in a future version to add those objects in the lighting pass as for normal scenery objects. And maybe make it like the AddLight call (ie add this paramater: bool bAttenuateByAmbient ).
Maybe the RenderFlags already enable that, but I could not use those to do what I want?

Thanks
Jean Luc

User avatar
Rob McCarthy
Lockheed Martin
Posts: 1353
Joined: Wed Aug 24, 2011 1:37 pm

Re: Rendering plugins objects and lighting

Postby Rob McCarthy » Mon Apr 23, 2018 1:27 pm

Hi Jean Luc,

These are both very good suggestions and we can look into adding these features in future updates.

Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead


Return to “Software Development Kit (SDK) Questions”

Who is online

Users browsing this forum: No registered users and 2 guests