[Opensim-users] Any tip/idea on how to implement auto zoom or auto focus for an arbitrary prim surface

Dr Ramesh Ramloll r.ramloll at gmail.com
Sat Oct 20 12:36:04 UTC 2012


Hello James,
Thanks for replying. My understanding is that llSetClickAction centers
and zooms the object and not the surface clicked. I wanted to have a
surface that a user can click on, the surface gets centered and get
zoomed. So if it is a table top, clicking on the table top would zoom
and center the table top on screen (all without the hurdles of perms
etc..) let me know if this is doable.
Ramesh

On Sat, Oct 20, 2012 at 4:46 AM, James Hughes <jamesh at bluewallgroup.com> wrote:
> I added support for CLICK_ACTION_ZOOM for V2/3 viewers. Use
> llSetClickAction(CLICK_ACTION_ZOOM) in your script or use the build tool and
> set it manually. This will automatically zoom on the clicked object.
>
> -BlueWall
>
>
> On 10/19/2012 11:09 PM, Dr Ramesh Ramloll wrote:
>>
>> Hello there,
>> Back in the days, I would implement auto zoom or auto focus though a
>> HUD that controlled avatar camera. I am looking for a solution that
>> does not involve permission requests or unnecessarily fiddling with
>> HUDs. Am wondering there must be some hack that would allow me to do
>> this because it is already available through llSetPrimMediaParams
>> ...PRIM_MEDIA_AUTO_ZOOM
>> I was thinking of just loading a blank html page so that I get to use
>> the (+) on the toolbar above the media surface of a prim to zoom and
>> focus, but then touch events are not detected. Any ideas how I could
>> make a surface that is touchable but which can be centered and focused
>> on easily at a click (without huds/permission requests)?
>> Thanks
>> R
>>
>> --
>> 'Consider how the lilies grow. They do not labor or spin.'
>> Rameshsharma Ramloll PhD, CEO CTO DeepSemaphore LLC, Affiliate
>> Research Associate Professor, Idaho State University, Pocatello, ID
>> 83209 Tel: 208-240-0040
>> Blog, LinkedIn, DeepSemaphore LLC, Google+ profile
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users



-- 
'Consider how the lilies grow. They do not labor or spin.'
Rameshsharma Ramloll PhD, CEO CTO DeepSemaphore LLC, Affiliate
Research Associate Professor, Idaho State University, Pocatello, ID
83209 Tel: 208-240-0040
Blog, LinkedIn, DeepSemaphore LLC, Google+ profile



More information about the Opensim-users mailing list