Access Scene Light values using python?

513
6
07-01-2013 12:17 PM
floraroumpani
New Contributor
Hello,

I wold like to ask a question regarding the layer Scene Light in City engine. Is there a way to access the attributes of the layer using python?

Thank you
Tags (3)
0 Kudos
6 Replies
MatthiasBuehler1
Frequent Contributor II
Hi,

This is currently not possible directly with Python. We'd have to use a Java code hack.

Not sure if this is of interest for you ?

Let me know..

m.
0 Kudos
floraroumpani
New Contributor
Thank you for your reply.

Yes, I think I would be interested if it's possible, but i have no idea how to do this.

I am hoping to create a "morning to nighttime" animation.

Thank you again,
F.


Hi,

This is currently not possible directly with Python. We'd have to use a Java code hack.

Not sure if this is of interest for you ?

Let me know..

m.
0 Kudos
MatthiasBuehler1
Frequent Contributor II
Hi,


our developer to whom I sent the question is completely swamped with work, so I need to ask you for some more time.

[just as a note: since the scene light layer inside CityEngine does not give you precise time- and location-based shadows, you may use an other tool for this anyway, where you have full control.]

hope to be able to post an answer soon!

matt
0 Kudos
floraroumpani
New Contributor
Thank you very much for this!

It would be amazing if there is a way to do this. I am aware about the time and location, but I think i can figure out a way to overcome this problem.

Again thank you in advance,
Looking forward to get the new tool, it will be incredibly useful.
f.
0 Kudos
MatthiasBuehler1
Frequent Contributor II
Hi,

I hope I get your answer soon !

matt
FanjieKong
New Contributor II

Hey,

Could you share the solution here?

0 Kudos