JP3774873B2 - テキスチャー・シェーディング回路 - Google Patents
テキスチャー・シェーディング回路 Download PDFInfo
- Publication number
- JP3774873B2 JP3774873B2 JP12211796A JP12211796A JP3774873B2 JP 3774873 B2 JP3774873 B2 JP 3774873B2 JP 12211796 A JP12211796 A JP 12211796A JP 12211796 A JP12211796 A JP 12211796A JP 3774873 B2 JP3774873 B2 JP 3774873B2
- Authority
- JP
- Japan
- Prior art keywords
- curved surface
- texture
- hue
- saturation
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Image Generation (AREA)
Description
従来、シェーディングをハードウェアで実現する方法は特願平7−102906に示されているように、面上の輝度はその面を内挿して得られるそれぞれの内挿点の傾きと、その点に入射する光源の傾きから反射角を求め、この反射角が視点に対して入射する方向余弦を基に輝度を決定している。このそれぞれの点に対する計算は通常線形補間回路によって逐次求められるが、この補間回路に同期して、面にマッピングされるべきテキスチャーパターンがテキスチャーパターン登録RAMから同時に読み出され、これが曲面上のそれぞれの点の輝度と乗算されて、シェーディングされたテキスチャーパターンのマッピング面を決定することになる。この場合、輝度はテキスチャーパターンのもつ赤緑青の3原色に乗算されるものと考えられている。
この方法では、例えば3原色がゼロとなる黒の色に対しては輝度を掛け合わせても結果はゼロであり、黒い面でのシェーディングを行うことが出来ない。
曲面の傾き、入射光および曲面の属性から面上の輝度を求める回路は特願平7−102906に示されている。ここで得られる輝度は赤緑青の3原色とは独立したものであり、最終的な面の持つ色にシェーディングを施すには、この輝度を面の色に乗算して得ることが必要である。もし面の色モデルが赤緑青の3原色で定義されていると、単純な乗算は出来なくなる。この結果、本発明では色の成分を赤緑青の3原色ではなく、色相、明度、彩度で表現し、このうちシェーディングは明度(輝度)を、テキスチャーパターンは色相、彩度で定義することによって色相には無関係な輝度をシェーディグ・プロセスにおいて決定し、これをパターンの色相および彩度から赤緑青に変換することを行う。よってテキスチャーパターンは予め色相と彩度で定義され、これが登録される。
一方、テキスチャーパターン自体で局所的なパターンの明度が異なる場合がある。この場合はパターンは色相、彩度、明度の3要素で定義される。
この結果、シェーデング回路で得られた輝度はパターンの明度に加算してこれを新たな明度とし、これらを赤、緑および青に変換する。
色相、彩度、明度から赤緑青に変換する関係式はすでによく知られたものであり、ここではその関係式の説明は省略する。
【0003】
[実施例]
図1は本発明に関わるシェーディング回路である。
図1において曲面補間回路1からは、シェーディング回路3に対して座標値、曲面の傾きが逐次与えられる。光源の情報は予めシェーディング回路3に設定されており、シェーディング回路3では曲面上のそれぞれの点毎の輝度が計算される。またテキスチャーパターン情報が記憶されたパターン登録RAM(ランダムアクセス・メモリ)2は、曲線補間回路1において、曲線内の補間動作に同期した逆写像変換計算によって、曲面へのマッピングアドレスが生成され、このアドレスが与えられて曲面にマッピングするテキスチャーパターンが読み出される。このテキスチャーパターンは、色相Hおよび彩度Sの2つの要素からなり、これがが色相、明度、彩度(HLS)から赤、緑、青(RGB)に変換するHLS/RGB変換回路4に前記シェーディング回路からの輝度と共に与えられ、RGBの3原色を出力する。
これに対して、パターンが色相、明度、彩度の3要素で定義されるシステムにおいては、その明度と、シェーディング回路3で得られた輝度とは、それぞれ回路4内で加算された後、新たな明度としてHLS/RGB変換回路4において、RGBの3原色に変換される。これらのデータはピクセルキャシュ5に記憶された後、画像メモリに転送される。
【0004】
[発明の効果]
ハードウェアによるリアルタイムなシェーディング・テキスチャー効果はコンピュータ・グラフィックス技法によるバーチャル・リアリティの実現技術に重要な役割をもつ。
【図面の簡単な説明】
【図1】本発明のテキスチャーシェーディング回路
【符号の説明】
1 曲線補間回路
2 テキスチャーパターン登録RAM
3 シェーディング回路
4 HLS/RGB変換回路
5 ピクセルキャシュ
Claims (3)
- 曲面の傾きおよび光源からの入射光により、曲面の輝度を決定するシェーディング回路と、この曲面にテキスチャー・パターンをマッピングしてシェーディングされたテキスチャー曲面を生成する回路に関して、
色情報を色相、明度(以下輝度ともいう)および彩度によって定義すると共に、シェーディング回路では、前記色情報のうち曲面の輝度成分を求める第一の手段と、
テキスチャー・パターンは色相および彩度の二つの情報で定義し、シェーディング時の曲面の内挿に同期して、テキスチャー・パターンを曲面にマッピングし、これをシェーディング回路からの輝度と、パターンのもつ色相および彩度から、赤、緑および青の3原色に変換して曲面の色を決定する第二の手段をもつテキスチャー・シェーディング回路。 - 請求項1の回路に関してテキスチャー・パターンを色相、明度および彩度の3要素で定義すると共にシェーディング回路で得られた輝度を前記テキスチャー・パターンの明度に加算して得た輝度と前記色相、明度および彩度から、赤、緑および青の3原色に変換して曲面の色を決定するテキスチャー・シェーディング回路。
- 請求項1および請求項2のいずれか1項に記載のテキスチャー・シェーディング回路を用いたコンピューターグラフィックス映像の生成装置。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12211796A JP3774873B2 (ja) | 1996-04-09 | 1996-04-09 | テキスチャー・シェーディング回路 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12211796A JP3774873B2 (ja) | 1996-04-09 | 1996-04-09 | テキスチャー・シェーディング回路 |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH09282487A JPH09282487A (ja) | 1997-10-31 |
JP3774873B2 true JP3774873B2 (ja) | 2006-05-17 |
Family
ID=14828056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP12211796A Expired - Lifetime JP3774873B2 (ja) | 1996-04-09 | 1996-04-09 | テキスチャー・シェーディング回路 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3774873B2 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3231029B2 (ja) | 1999-09-14 | 2001-11-19 | 株式会社スクウェア | レンダリング方法及び装置、ゲーム装置、並びに立体モデルをレンダリングするためのプログラムを格納したコンピュータ読み取り可能な記録媒体 |
CN112116710B (zh) * | 2020-09-23 | 2022-12-20 | 电子科技大学 | 基于趋势约束的曲面重建方法 |
-
1996
- 1996-04-09 JP JP12211796A patent/JP3774873B2/ja not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH09282487A (ja) | 1997-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2923648B2 (ja) | 物体の色特性を発生する方法と装置 | |
US8493619B2 (en) | Hardware-accelerated color data processing | |
US5867169A (en) | Method and apparatus for manipulating color values in a computer graphics system | |
US7102637B2 (en) | Method of seamless processing for merging 3D color images | |
CN106296748B (zh) | 一种基于块匹配变形和颜色迁移的物体图像重光照方法 | |
JP3467725B2 (ja) | 画像の影除去方法、画像処理装置及び記録媒体 | |
CA2064074A1 (en) | Method and system for displaying color on a computer output device using dithering techniques | |
JP2003256865A (ja) | 立体オブジェクトデータからの漫画的表現の2次元画像の生成方法および生成プログラム | |
JPH10326351A (ja) | 画像作成方法および画像作成装置 | |
EP0566915A1 (en) | Sharpness processing apparatus | |
JP2000083177A (ja) | 画像処理方法および画像処理装置 | |
JP3774873B2 (ja) | テキスチャー・シェーディング回路 | |
US8358306B2 (en) | Re-coloring a color image | |
CN106056604B (zh) | 一种增强现实标识的自动镂空方法 | |
US7072072B1 (en) | Color rendering optimized for text and line art | |
US7274372B1 (en) | Real-time digital three dimensional engraving | |
JPH07129762A (ja) | 素描風画像生成装置 | |
KR20200081743A (ko) | 2d 일러스트 형식이 적용된 3d 오브젝트의 표면 처리 시스템 및 방법 | |
CA2260345C (en) | Signal processing apparatus and image processing apparatus | |
JP2002204363A (ja) | 画像表示方法及び画像プロセッサ | |
JP2000253269A (ja) | カラー画像処理方法およびカラー画像処理装置 | |
JP3356865B2 (ja) | 地図の作製方法および装置 | |
CN104981863A (zh) | 用于色彩渲染到二进制高维输出设备的方法和装置 | |
JPH0754554B2 (ja) | 表示処理方法 | |
JP2591189B2 (ja) | カラー画像処理方法及び装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20040730 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050831 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050927 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051125 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20060131 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060210 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090303 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090303 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100303 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110303 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110303 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110303 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120303 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120303 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120303 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130303 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130303 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130303 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140303 Year of fee payment: 8 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |