[Interest] [QT3d] Does anyone have any idea how to position a light in C++?
Pierre Chicoine
pierrechicoine606 at gmail.com
Sat Jun 11 13:01:04 CEST 2016
With a point light, did you mean add a point light and transform to every
entity or to the root entity to light the whole scene with one transform?
Thanks for the reply Oleg.
On Jun 11, 2016 3:52 AM, "Oleg Evseev" <ev.mipt at gmail.com> wrote:
> Do you mean point light?
> Example "lights" is not what are you looking for?
>
> This is in qml but obviously it is not so hard to write it in c++ just add
> components QTransform and QPointLight to the QEntity and it will work (I
> think).
>
> Regards, Oleg.
>
> 2016-06-11 13:43 GMT+03:00 Pierre Chicoine <pierrechicoine606 at gmail.com>:
>
>> Am I missing something simple. I can't seem to position a light in QT3D
>> Any ideas anyone?
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160611/6134e602/attachment.html>
More information about the Interest
mailing list