+
    „°ñjÝ  ã                   óŽ   € ^ RI t ^ RIHt ^ RIt^ RIHtHt ^ RIH	t	H
t
  ! R R]P                  4      t ! R R]4      tR	 R
 ltR# )é    N)Úoverride)ÚComfyExtensionÚIO)Ú_lookat_camera_infoÚ_quat_camera_infoc                   óP   a € ] tR t^
t o ]R 4       t]RV 3R lR ll4       tRtV tR# )ÚCreateCameraInfoc                óH  € \         P                  ! R R. R<ORR\         P                  P                  R\         P                  P	                  R\         P
                  P                  RRR=RR	R
7      \         P
                  P                  RRR>RR	R
7      \         P
                  P                  RRRRRRR7      .4      \         P                  P	                  R\         P
                  P                  RRR?RRRR7      \         P
                  P                  RRR?RRR
7      \         P
                  P                  RRR?RRR
7      .4      \         P                  P	                  R\         P
                  P                  RRR?RRRR7      \         P
                  P                  RRR?RRR
7      \         P
                  P                  RRR?RRR
7      \         P
                  P                  RRR@R	RR
7      \         P
                  P                  RRR@R	RR
7      \         P
                  P                  RRR@R	RR
7      \         P
                  P                  RR	R@R	RR R7      .4      .R!R"7      \         P
                  P                  R#RR?RRR$R%R&7      \         P
                  P                  R'RR?RRR$R(7      \         P
                  P                  R)RR?RRR$R(7      \         P
                  P                  R*RRAR+R	R,R7      \         P
                  P                  R-RR	R.R	R/R7      \         P
                  P                  R0R	RR1RR2R7      \         P                  P                  R3R4R5.R6R"7      \         P                  P                  R7R$R87      .	\         P                  P                  R9R:7      .R;7      # )Br	   zCreate Camera InfoÚ3dz¾Build a camera_info. Mode 'orbit' aims with yaw/pitch/distance around the target; 'look_at' places the camera at world position. Coordinates are the viewer's world space (right-handed,Y-up).ÚmodeÚorbitÚyawg     €A@g     €v@ç      ð?)ÚdefaultÚminÚmaxÚstepÚpitchg      >@g     @V@Údistanceg      @g{®Gáz„?g     @�@z Camera distance from the target.)r   r   r   r   ÚtooltipÚlook_atÚ
position_xz4Camera position in world space (right-handed, Y-up).Ú
position_yÚ
position_zÚ
quaternionÚquat_xg        gü©ñÒMbP?Úquat_yÚquat_zÚquat_wzUCamera world-rotation quaternion (three.js: looks down local -Z). Normalized for you.zYHow to define the camera: orbit angles, an explicit position, or a position + quaternion.)Úoptionsr   Útarget_xTz�Look-at point (orbit pivot / aim). In orbit mode, move it to pan/translate the whole camera. Ignored in quaternion mode. Defaults to the origin.)r   r   r   r   Úadvancedr   Útarget_y)r   r   r   r   r"   Útarget_zÚrollg     €f@z)Camera roll about the view axis, degrees.Úfovg      ^@z"Vertical field of view in degrees.Úzoomg      Y@zNDigital zoom (focal-length multiplier). >1 zooms in without moving the camera.Úcamera_typeÚperspectiveÚorthographiczYProjection used by Render Splat: perspective (foreshortening) or orthographic (parallel).Úcamera_info_state)ÚoptionalÚcamera_info)Údisplay_name)Únode_idr.   Úsearch_aliasesÚcategoryÚdescriptionÚinputsÚoutputs)zcamera positionzmake camera infozorbit camerazlook at camerag     €vÀg     @VÀg     @�Àg      ð¿g     €fÀ)
r   ÚSchemaÚDynamicComboÚInputÚOptionÚFloatÚComboÚCameraInfoStateÚLoad3DCameraÚOutput)Úclss   &Ú=C:\Ai_Coding\apps\studio\ComfyUI\comfy_extras\nodes_camera.pyÚdefine_schemaÚCreateCameraInfo.define_schema   s\  € ä�yŠyØ&Ø-ÚdØðGô —‘×%Ñ% fÜ—O‘O×*Ñ*¨7ÜŸ™Ÿ™ u°dÀÈEÐX[˜Ó\ÜŸ™Ÿ™ w¸À%ÈTÐX[˜Ó\ÜŸ™Ÿ™ z¸3ÀDÈfÐ[_Ø/Qð 'ó Sð5ó ô —O‘O×*Ñ*¨9ÜŸ™Ÿ™ |¸SÀgÐSYÐ`dØ/eð 'ó gäŸ™Ÿ™ |¸SÀgÐSYÐ`d˜ÓeÜŸ™Ÿ™ |¸SÀgÐSYÐ`d˜Óeð	7ó ô —O‘O×*Ñ*¨<ÜŸ™Ÿ™ |¸SÀgÐSYÐ`dØ/eð 'ó gäŸ™Ÿ™ |¸SÀgÐSYÐ`d˜ÓeÜŸ™Ÿ™ |¸SÀgÐSYÐ`d˜ÓeÜŸ™Ÿ™ x¸À$ÈCÐV[˜Ó\ÜŸ™Ÿ™ x¸À$ÈCÐV[˜Ó\ÜŸ™Ÿ™ x¸À$ÈCÐV[˜Ó\ÜŸ™Ÿ™ x¸À$ÈCÐV[ð 0Gð 'ó Hð
:ó 
ð7ð0 wð1 &ó xô2 —‘—‘˜z°3¸GÈÐVZÐeið(kð ó lô —‘—‘˜z°3¸GÈÐVZÐei�ÓjÜ—‘—‘˜z°3¸GÈÐVZÐei�ÓjÜ—‘—‘˜v¨s¸ÀEÐPSØ'Rð ó Tä—‘—‘˜u¨d¸ÀÈSØ'Kð ó Mä—‘—‘˜v¨s¸À%ÈdØ'wð ó yä—‘—‘˜}°}ÀnÐ6Uð (Cð ó Dä×"Ñ"×(Ñ(Ð)<ÀtÐ(ÓLðO(ôR —_‘_×+Ñ+¸Ð+ÓGÐHôc2
ð 2	
ó    Nc                ó4   <€ V ^8„  d   QhRS[ P                  /# ©é   Úreturn)r   Ú
NodeOutput)ÚformatÚ__classdict__s   "€r?   Ú__annotate__ÚCreateCameraInfo.__annotate__B   s*   ø€ ÷ }ñ }ñ  EG÷  ERñ  ERñ }rB   c
                ób  € \         P                  P                  4       p
VR ,          pVR8X  d_   VR,          VR,          VR,          .pVR,          VR,          VR,          VR,          .p\        P                  ! \        WÍWjWxR	7      4      # W#V.pVR
8X  dÝ   \        P                  ! VR,          4      \        P                  ! VR,          4      pp\        P                  ! V4      \        P                  ! V4      \        P                  ! V4      \        P                  ! V4      3w  ppppVR,          pVVV,          V,          ,           VVV,          ,           VVV,          V,          ,           .pMVR,          VR,          VR,          .p\        P                  ! \        WÎWjWxVR7      4      # )r   r   r   r   r   r   r   r   r   )r'   r(   r   r   r   r   )r'   r(   r%   )ÚcomfyÚmodel_managementÚget_torch_devicer   rG   r   ÚmathÚradiansÚcosÚsinr   )r>   r   r!   r#   r$   r%   r&   r'   r(   r+   ÚdevÚkindÚpositionÚquatÚtargetÚyÚpÚcyÚsyÚcpÚspÚds   &&&&&&&&&&            r?   ÚexecuteÚCreateCameraInfo.executeA   sW  € ä×$Ñ$×5Ñ5Ó7ˆØ�F�|ˆØ�<ÔØ˜\Õ*¨D°Õ,>ÀÀ\Õ@RÐSˆHØ˜•N D¨¥N°D¸µNÀDÈÅNÐSˆDÜ—=’=Ô!2°8À3ÐRVÔ!pÓqÐqØ hÐ/ˆØ�7Œ?Ü—<’<  U¥Ó,¬d¯lªl¸4À½=Ó.IˆqˆAÜ!ŸXšX a›[¬$¯(ª(°1«+´t·x²xÀ³{ÄDÇHÂHÈQÃKÐO‰NˆB��B˜Ø�ZÕ ˆAØ  1 r¥6¨B¥;Õ.°¸1¸r½6Õ0AÀ8ÈaÐRTÍfÐWYÍkÕCYÐZ‰Hà˜\Õ*¨D°Õ,>ÀÀ\Õ@RÐSˆHÜ�}Š}Ô0°À3ÐRVÐvzÔ{Ó|Ð|rB   © )r   r)   N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Úclassmethodr@   r`   Ú__static_attributes__Ú__classdictcell__©rI   s   @r?   r	   r	   
   s4   ø‡ € Øñ3
ó ð3
ðj ÷}ñ }ó ö}rB   r	   c                   ó<   a € ] tR t^Tt o ]V 3R lR l4       tRtV tR# )ÚCameraExtensionc                óT   <€ V ^8„  d   QhRS[ S[S[P                  ,          ,          /# rD   )ÚlistÚtyper   Ú	ComfyNode)rH   rI   s   "€r?   rJ   ÚCameraExtension.__annotate__V   s"   ø€ ÷ "ñ "¡T©$©r¯|©|Õ*<Õ%=ñ "rB   c              ƒ  ó   "  € \         .# 5i©N)r	   )Úselfs   &r?   Úget_node_listÚCameraExtension.get_node_listU   s   é € ä Ð!Ð!ùs   ‚
rb   N)rc   rd   re   rf   r   ru   rh   ri   rj   s   @r?   rl   rl   T   s   ø‡ € Ø÷"ó ö"rB   rl   c                ó$   € V ^8„  d   QhR\         /# rD   ©rl   )rH   s   "r?   rJ   rJ   Z   s   € ÷ ñ ¤ñ rB   c               ƒ   ó   "  € \        4       # 5irs   rx   rb   rB   r?   Úcomfy_entrypointrz   Z   s   é € ÜÓÐùs   ‚)rP   Útyping_extensionsr   Úcomfy.model_managementrM   Úcomfy_api.latestr   r   Ú!comfy_extras.nodes_gaussian_splatr   r   rp   r	   rl   rz   rb   rB   r?   Ú<module>r      s:   ðÛ å &ã ß /ß TôG}�r—|‘|ô G}ôT"�nô "÷rB   