I'd like to 'commit' changes to chdk but I need write access to assembla... - General Discussion and Assistance - CHDK Forum

I'd like to 'commit' changes to chdk but I need write access to assembla...

  • 7 Replies
  • 7770 Views
Advertisements
Hey Guys...

I have some code changes to allow the Zoom Value on the OSD to be scaled depending on a setting in the menus that can be changed when the user attaches a Wide-angle or Telephoto lens.  I find it useful to have the OSD correct with lenses attached. 

Anyway, I wanted to 'commit' these changes to the Assembla but I don't have the correct permissions.  My user name is stevetm2 on Assembla if someone can change the permissions on there.  Also I've attached the changed files from #310.  I understand that changes should be monitored and the build can easily be broken.  I'd be interested to know if the changes work fine and are useful for you guys.

Thanks...

Steve...


Deleted
« Last Edit: 22 / April / 2008, 13:14:42 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

It looks like the zoom amount is stored in the exif data in the 'Focal length' field.  It's stored in the range specified on the front of the lens, eg. on my a710 it stores 5.8 to 34.8 in the exif field (equiv. 35mm to 210mm).  I dont know how to change the content of the exif data myself.  I always have my IS set to 'Continuous' even when I'm not using an adapter lens, so its a non-issue for me.

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
I've looked into the sources and noticed that you hardcoded a set of scale factors.
Code: [Select]
    static const int zoom_scale_modes[]={  42, //"Wide 0.42x",
                                          100, //"1.00",
                                          175, //"Tele 1.75x",
                                          200, //"Tele 2.00x",
                                          300, //"Tele 3.00x"
                                          };

But for example, I have .5x and .66x wide-angle lenses, which can be mounted on S3. So, I have no choice. :(
CHDK Developer.


Deleted
« Last Edit: 22 / April / 2008, 13:14:24 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

I've removed the enum list so that any value can be used.  However, its much more tricky to enter a value for the adapter lens you have.  Hmmm, more flexible though.  I've included the new zip with the changes for you guys...

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Added into trunk #312.
CHDK Developer.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
i used this feature quiete often now, and i noticed one "annoying" thing about it: you're limited to one setting only.

idea: make a submenu, in which you can define a few presets (fisheye,WA,tele) and one can set values for each entry. this submenu can then be added to the "user menu", that makes switching super easy and super fast.

another idea is to AUTOMATICALLY engage a preset in specific situations: if you zoom (the built-in lens) to the maximum position, the tele lens setting will kick in. if zooming to WA, the WA setting (or fisheye) setting will kick in.
when you do a photography session and you know that you ALWAYS use the extra tele lens in conjunction with full tele zoom (same applies to WA) this is a handy tool. maybe it can be locked to certain zoom levels.

with a submenu you can also do the following: add a checkbox if value should be reset to 100 if cam is shutdown or restored.
also you can create an icon that shows up if you override the factors (maybe a WA and a Tele icon) so people easily see if it is engaged.

let me know what you think, i can help creating this stuff. if you dont wanna do it, i can do it on my own, supposing people find it useful.

edit: and yes, would be nice if this was written to the image exif data.
« Last Edit: 16 / March / 2008, 08:46:50 by PhyrePhoX »


 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal