www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: MSL on January 17, 2014, 09:19:04 am

Title: Dynamic Light placing and control
Post by: MSL on January 17, 2014, 09:19:04 am
Hi,
My augmented reality app is supposed to load different architectural models. One of the feature in my wish list is to place lights and user should be able to control the lights(on touch toggle on and off).
The tricky part is different models will have lights in different places. Now, how can I add lights in a particular place at the run time and bind them to onTouch events.

For simplicity, lets say I have 2 model; bed room and living room. When I load bed room model bed lamp and other lights should be placed at respective places. Similarly, when I load living room it should place lights in respective area.
Title: Re: Dynamic Light placing and control
Post by: EgonOlsen on January 17, 2014, 12:04:43 pm
I'm not sure what the actual question is here...if you want some light sources in the scene, then just add them... ???