패키지, 저장소 및 앱 카테고리 검색

three_dart 표지
패키지 상세v0.0.16

three_dart

Dart로 구현된 three.js. Dart 3D 라이브러리. 사용하기 쉬우며 가볍고, 크로스 플랫폼이며 일반적인 목적의 3D 라이브러리.

AndroidiOSmacOSWindows
30일 다운로드
228
좋아요
201
Pub 점수
120

패키지 설치

flutter pub add three_dart

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

three_dart는 인기 있는 three.js 라이브러리의 Dart 구현으로, 사용하기 쉬우며 가볍고 크로스 플랫폼인 3D 그래픽 솔루션을 제공합니다. Flutter용으로 제작되어 Android, iOS, macOS, Windows에서 상호작용 가능한 3D 장면과 시각화를 만들 수 있게 해줍니다. three.js를 영감으로 한 익숙한 API를 통해 성능이나 유연성을 희생하지 않고 3D 렌더링을 간소화합니다. 프로토타이핑, 교육 도구 및 경량 3D 애플리케이션에 적합합니다.

사용 사례

  • 인터랙티브 3D 시각화
  • 3D 모델이 포함된 교육용 앱
  • 크로스 플랫폼 3D 프로토타입
  • 간단한 3D 요소를 사용한 게임 개발
  • 3차 공간에서의 데이터 시각화

주요 기능

  • 가볍고 빠름
  • 크로스 플랫폼 지원
  • 익숙한 three.js 유사 API
  • Flutter용으로 제작됨
  • 기본적인 3D 기하학 및 조명을 지원합니다

적합한 대상

  • Flutter 개발자 초보자 3D
  • 프로토타이핑 3D 기능
  • 간단한 3D 게임 및 시뮬레이션
  • 교육 프로젝트
  • 최소한의 3D 상호작용이 필요한 앱

고려 사항

  • 완전한 엔진과 비교해 고급 3D 기능이 제한적
  • 고성능 게이밍에 최적화되지 않음
  • 내장된 물리 엔진 없음
  • 3D 개념을 이해해야 합니다
  • 성숙한 라이브러리에 비해 문서가 제한될 수 있습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

three_dart

Dart 3D library. an easy to use, lightweight, cross-platform, general purpose 3D library.

three.js rewrite by Dart. 3D for Flutter. Base on flutter_gl

support Web, iOS, Android, macOS, Windows

Linux TODO, need flutter_gl support

three.js r138

Example Demo on flutter web https://wasabia.github.io/three_dart_example/#/

Getting Started

First at all. Follow flutter_gl Usage flutter_gl

TODO

Usage

check example project

camera = new three.PerspectiveCamera( 40, 1, 0.1, 10 );
camera.position.z = 3;

scene = new three.Scene();
camera.lookAt(scene.position);

scene.background = three.Color(1.0, 1.0, 1.0);
scene.add( new three.AmbientLight( 0x222244, null ) );

var geometryCylinder = new three.CylinderGeometry( 0.5, 0.5, 1, 32 );
var materialCylinder = new three.MeshPhongMaterial( { "color": 0xff0000 } );

mesh = new three.Mesh( geometryCylinder, materialCylinder );
scene.add( mesh );

Example

cd example && flutter run

3

TODO

  • unit test
  • more example
  • README && Document
  • and so on...

Issues

File any issues, bugs, or feature requests.

Contributing

Pull request please!

Libraries and Plugins

https://github.com/wasabia/three_dart_jsm

https://github.com/wasabia/opentype

https://github.com/wasabia/typr_dart

카테고리

의존성

의존성 목록 6 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.