Get it on Google Play


Wm뮤 :: Wm뮤

블로그 이미지
가끔 그림그리거나 3D모델링하거나
취미로 로봇만드는
퇴직한 전자과 게임프로그래머
2020.3.48f1 , 2022.3.6f1 주로 사용
모카쨩
@Ahzkwid

Recent Comment

Archive


'전체 글'에 해당되는 글 1012건

  1. 2020.12.03 건강검진
  2. 2020.12.02 포톤 설치
  3. 2020.12.01 유루캠 VR
  4. 2020.11.26 편광
2020. 12. 3. 14:25 나의 작은 정보들

www.nhis.or.kr/nhis/index.do

2년마다 대상자가 된다

2002년생이면 2020년에 대상자다

 

 

국민건강보험

이벤트 1 / 8

www.nhis.or.kr

 

들어간다

 

 

건강검진 대상자가 아니면 건강검진 대상자가 아니라고 뜬다

확인서를 뽑는건 익스플로러에서만 된다. 필수는 아니다

 

원칙적으로는 뽑아서 들고가는게 맞지만, 안 가져가도 거기서 알아서 다 해준다

 

 

 

 

 

 

건강검진 센터를 고른다. 나는 이곳으로 했다 KMI

알고보니 유명한데였다

www.kmi.or.kr/index.web

 

KMI 한국의학연구소

여의도 검진센터 서울특별시 영등포구 국제금융로2길 24 (여의도동, BNK금융타워 10, 13, 14, 15, 17, 18층) 전화 : 02-3688-114 자세히 보기

www.kmi.or.kr

 

건강보험에서 건강검진 대상자로 예약하려고 한다고 물어보면 상세히 알려준다

복부초음파(간초음파였던가)랑 내시경은 보험처리가 안되어서 별도 예약해야한다

검사전 8시간 금식등, 신분증만 가져가면 된다

여기 장점은 검사 기록을 전산으로 남겨서 나중에 다시 볼수있다

'나의 작은 정보들' 카테고리의 다른 글

무료 이미지 사운드  (0) 2021.01.03
SSD 시세 추이  (0) 2020.08.31
간편식 후기모음  (0) 2020.08.25
posted by 모카쨩
2020. 12. 2. 11:27 Unity/Photon

 

 

www.photonengine.com/ko-KR/

 

글로벌 크로스 플랫폼 실시간 게임 개발 | Photon Engine

MULTIPLAYER REALTIME PUN BOLT QUANTUM COMMUNICATION CHAT VOICE SELF-HOSTED SERVER 멀티플레이를 간단하게 실현합니다! Photon Realtime 인디/프로 개발자 누구나 실시간 멀티 플레이어 게임을 개발하여 세계로 진출할

www.photonengine.com

 

가입하고

 

dashboard.photonengine.com/ko-KR/

 

Multiplayer Game Development Made Easy | Photon Engine

MULTIPLAYER REALTIME PUN BOLT QUANTUM COMMUNICATION CHAT VOICE SELF-HOSTED SERVER We Make Multiplayer Simple Photon Realtime Develop and launch multiplayer games globally whether you are an indie developer or AAA studio. Create synchronous or asynchronous

id.photonengine.com

여기에 들어가서

 

Photon PUN은 VRChat같은거 만들때 씀, 전부 간접통신임

Photon BOLT는 오버워치 같은거 만들때 쓰고 직접통신, NAT나 방화벽등으로 인해 직접연결이 불가한경우 릴레이를 통한 간접연결이 됨, 방장이 나가면 방이 닫힌다

 

설정한다

 

 

 

어플리케이션 ID 필요함

 

 

 

 

유니티로 가서

 

PUN1

더보기

assetstore.unity.com/packages/tools/network/photon-unity-networking-classic-free-1786

 

다운로드해

 

펀 ID를 넣자

 

 

 

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PhotonInit : Photon.PunBehaviour
{
    public string serverName = "Default0001";
    public int roomNumber = 0;
    public Transform spawnPoint;
    public GameObject playerPrefab;



    // Start is called before the first frame update
    void Start()
    {
        PhotonNetwork.ConnectUsingSettings(serverName);
        PhotonNetwork.ConnectToBestCloudServer(serverName);
    }
    /// <summary>
    /// 로비에 들어가기 성공했을때
    /// </summary>
    public override void OnConnectedToPhoton()
    {
        Debug.Log("ConnectedToPhoton");
    }


    /// <summary>
    /// 로비에 들어가기 성공했을때
    /// </summary>
    public override void OnJoinedLobby()
    {
        Debug.Log("JoinedLobby");
        PhotonNetwork.JoinRandomRoom();
    }
    /// <summary>
    /// PhotonNetwork.autoJoinLobby 이 false 인 경우에만 마스터 서버에 연결되고 인증 후에 호출 
    /// </summary>
    public override void OnConnectedToMaster()
    {
        Debug.Log("ConnectedToMaster");
        PhotonNetwork.JoinLobby(); //로비접속
    }

    /// <summary>
    /// 룸입장실패
    /// </summary>
    /// <param name="codeAndMsg"></param>
    public override void OnPhotonRandomJoinFailed(object[] codeAndMsg)
    {
        Debug.LogError("PhotonRandomJoinFailed");
        PhotonNetwork.CreateRoom(roomNumber.ToString());
    }

    /// <summary>
    /// 룸생성실패
    /// </summary>
    /// <param name="codeAndMsg"></param>
    public override void OnPhotonCreateRoomFailed(object[] codeAndMsg)
    {
        Debug.LogError("PhotonCreateRoomFailed");
        PhotonNetwork.JoinRandomRoom();
    }

    /// <summary>
    /// 룸생성 성공
    /// </summary>
    public override void OnCreatedRoom()
    {
        Debug.Log("CreatedRoom");
    }

    /// <summary>
    /// 룸접속 성공
    /// </summary>
    public override void OnJoinedRoom()
    {
        Debug.Log("JoinedRoom");
        CreatePlayer();
    }
    void CreatePlayer()
    {
        var pos = Vector3.zero;
        var rot = Quaternion.identity;
        if (spawnPoint != null)
        {
            pos = spawnPoint.position;
            rot = spawnPoint.rotation;
        }
        string objName = "Player";//플레이어 프리팹이 없으면 기본 플레이어가 호출됨
        if (playerPrefab != null)
        {
            objName = playerPrefab.name; //프리팹 이름은 Player로 하면 안됨
        }
        PhotonNetwork.Instantiate(objName, pos, rot);
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}

 

 

PUN2

더보기

https://assetstore.unity.com/packages/tools/network/pun-2-free-119922

 

PUN 2 - FREE | 네트워크 | Unity Asset Store

Get the PUN 2 - FREE package from Exit Games and speed up your game development process. Find this & other 네트워크 options on the Unity Asset Store.

assetstore.unity.com

다운로드해

 

펀 ID를 넣자

 

using Photon.Pun;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PhotonInit : MonoBehaviourPunCallbacks
{
    public string serverName = "Default0001";
    public int roomNumber = 0;
    public Transform spawnPoint;
    public GameObject playerPrefab;



    // Start is called before the first frame update
    void Start()
    {
        PhotonNetwork.ConnectUsingSettings();
        PhotonNetwork.ConnectToBestCloudServer();
    }

    /// <summary>
    /// 로비에 들어가기 성공했을때
    /// </summary>
    public override void OnJoinedLobby()
    {
        Debug.Log("JoinedLobby");
        //PhotonNetwork.JoinRandomRoom(); //로비사용시
    }
    /// <summary>
    /// PhotonNetwork.autoJoinLobby 이 false 인 경우에만 마스터 서버에 연결되고 인증 후에 호출 
    /// </summary>
    public override void OnConnectedToMaster()
    {
        Debug.Log("ConnectedToMaster");
        PhotonNetwork.JoinRandomRoom();
        //PhotonNetwork.JoinLobby(); //로비접속 (로비사용시)
    }

    /// <summary>
    /// 룸입장실패
    /// </summary>
    /// <param name="codeAndMsg"></param>
    public override void OnJoinRandomFailed(short returnCode, string message)
    {
        Debug.LogError("PhotonRandomJoinFailed");
        PhotonNetwork.CreateRoom(roomNumber.ToString());
    }

    /// <summary>
    /// 룸생성실패
    /// </summary>
    /// <param name="codeAndMsg"></param>
    public override void OnCreateRoomFailed(short returnCode, string message)
    {
        Debug.LogError("PhotonCreateRoomFailed");
        PhotonNetwork.JoinRandomRoom();
    }

    /// <summary>
    /// 룸생성 성공
    /// </summary>
    public override void OnCreatedRoom()
    {
        Debug.Log("CreatedRoom");
    }

    /// <summary>
    /// 룸접속 성공
    /// </summary>
    public override void OnJoinedRoom()
    {
        Debug.Log("JoinedRoom");
        CreatePlayer();
    }
    void CreatePlayer()
    {
        var pos = Vector3.zero;
        var rot = Quaternion.identity;
        if (spawnPoint != null)
        {
            pos = spawnPoint.position;
            rot = spawnPoint.rotation;
        }
        string objName = "My Robot Kyle -done-";//플레이어 프리팹이 없으면 기본 플레이어가 호출됨
        if (playerPrefab != null)
        {
            objName = playerPrefab.name; //프리팹 이름은 Player로 하면 안됨
        }
        PhotonNetwork.Instantiate(objName, pos, rot, 0);
    }

    // Update is called once per frame
    void Update()
    {

    }
}

 

 

 

 

 

 

이렇게 만들어서 

씬에 넣는다.

PUN2

 

 

 

 

api는 여기 참조

PUN1

doc-api.photonengine.com/ko-kr/pun/current/class_photon_1_1_pun_behaviour.html

 

실행하면 이렇게 나온다

 

PUN1

더보기

 

 

로그를 보면 이렇게

빨간줄이 있지만 단지 방이 없어서 뜬것이니 쫄지 말자 정상이다

 

PUN2

더보기

로그를 보면 이렇게

빨간줄이 있지만 단지 방이 없어서 뜬것이니 쫄지 말자 정상이다

 

 

 

 

 

 

시작하면 이렇게 나올것이다.

1. 포톤서버에 연결하고

2. 로비에 들어가서

3. 룸에 들어가는것이다

 

기본적인 네트워킹 시스템은 완성했다

 

 

 

'Unity > Photon' 카테고리의 다른 글

포톤 챗  (0) 2021.07.07
포톤 볼트  (0) 2021.07.06
포톤 커스텀 플레이어 만들기  (0) 2021.07.04
posted by 모카쨩
2020. 12. 1. 20:19 카테고리 없음

 

 

posted by 모카쨩
2020. 11. 26. 16:05 공학기술

 

www.sciencenara.co.kr/index.html?branduid=973107

 

편광필름은 요오드가 도포된 PVA 필름을 늘여 만든다. 

때문에 예전과 달리 분자배열로 편광을 하기 때문에 두장을 겹쳤을경우 무아레 무늬가 생기지 않는다 

 

 

점착식 6600원

'공학기술' 카테고리의 다른 글

전기차에 변속기가 없는 이유  (0) 2020.12.15
전동킥보드 구매요령  (0) 2020.11.18
굴절각  (0) 2020.11.12
posted by 모카쨩

  • total
  • today
  • yesterday

Recent Post

저사양 유저용 블로그 진입