최소 단어 이상 선택하여야 합니다.
최대 10 단어까지만 선택 가능합니다.
다음과 같은 기능을 한번의 로그인으로 사용 할 수 있습니다.
NTIS 바로가기다음과 같은 기능을 한번의 로그인으로 사용 할 수 있습니다.
DataON 바로가기다음과 같은 기능을 한번의 로그인으로 사용 할 수 있습니다.
Edison 바로가기다음과 같은 기능을 한번의 로그인으로 사용 할 수 있습니다.
Kafe 바로가기국가/구분 | United States(US) Patent 등록 |
---|---|
국제특허분류(IPC7판) |
|
출원번호 | US-0287317 (2008-10-07) |
등록번호 | US-8289325 (2012-10-16) |
발명자 / 주소 |
|
출원인 / 주소 |
|
대리인 / 주소 |
|
인용정보 | 피인용 횟수 : 4 인용 특허 : 336 |
An application binary interface includes a descriptor specifying a binary shader for each pass of a multi-pass shader. The application binary interface also includes a graphics state of a graphics object for each pass of the multi-pass shader. The graphics state for the first pass is an initial grap
An application binary interface includes a descriptor specifying a binary shader for each pass of a multi-pass shader. The application binary interface also includes a graphics state of a graphics object for each pass of the multi-pass shader. The graphics state for the first pass is an initial graphics state of the graphics object. The graphics state for each subsequent pass specifies a change from the graphics state of a previous pass. The application binary interface further includes parameters for the binary shaders. The application binary interface links the binary shaders together based on the parameters. Further, the parameters of the binary shaders may be modified at run time to configure the multi-pass shader. The binary shader of each pass is then executed based on the graphics state and parameters of the pass to render the graphics object.
1. A method for rendering an image with a graphics processor driven by a multi-pass shader program including a descriptor and an input parameter, the method comprising: pre-compiling, before run time, the multi-pass shader program to generate binary execution code for execution by the graphics proce
1. A method for rendering an image with a graphics processor driven by a multi-pass shader program including a descriptor and an input parameter, the method comprising: pre-compiling, before run time, the multi-pass shader program to generate binary execution code for execution by the graphics processor by configuring a binary shader for each value in a predetermined set of values, wherein a variable of each binary shader is fixed at compile time to one of the predetermined values in the set;receiving a first parameter of the image, a value of the first parameter being limited to one of the values in the predetermined set of values in the multi-pass shader program;executing a first pass of the multi-pass shader program utilizing the binary execution code and the first parameter as the input parameter to obtain a first data value wherein the multi-pass shader program selects, at run-time, the binary shader comprising the binary execution code identified by the value of the first parameter in the first pass;binding, at run time, the first data value as the input parameter for a second pass of the multi-pass shader program;executing a second pass of the multi-pass shader program utilizing the binary execution code including the bound first data value to obtain a second data value;performing an operation on the first data value and the second data value to obtain image rendering data; andrendering the image, a portion of the image based upon the image rendering data, and wherein the multi-pass shader program effectuates a photorealistic effect in the portion of the image through the alteration of a color based on the angle and distance of an object with respect to a light source in the portion of the image. 2. The method of claim 1, wherein the operation includes modifying the first data value and the second data value. 3. The method of claim 1, wherein the first parameter of the image indicates the color to be applied to the portion of the image. 4. The method of claim 1, wherein the first parameter of the image indicates corresponds to a specified position of the light source. 5. The method of claim 1, further comprising: executing a texture mapping operation;applying the results of the texture mapping operation to an object in the rendered image. 6. The method of claim 1, wherein rendering the image occurs without the use of a texture mapping operation. 7. A method for rendering an image with a graphics processor driven by a multi-pass shader program including a descriptor and an input parameter, the method comprising: pre-compiling, before run time, the multi-pass shader program to generate binary execution code for execution by the graphics processor by configuring a binary shader for each value in a predetermined set of values, wherein a variable of each binary shader is fixed at compile time to one of the predetermined values in the set;receiving a first parameter of the image, a value of the first parameter being limited to one of the values in the predetermined set of values in the multi-pass shader program;executing a first pass of the multi-pass shader program utilizing the binary execution code and the first parameter as the input parameter to obtain a first data value wherein the multi-pass shader program selects, at run-time, the binary shader comprising the binary execution code identified by the value of the first parameter in the first pass;receiving a second parameter of the image;binding, at run time, the first data value as the input parameter for a second pass of the multi-pass shader program;executing a second pass of the multi-pass shader program utilizing the binary execution code including both the second parameter and the bound first data value to obtain a second data value;performing an operation on the first data value and the second data value to obtain image rendering data; andrendering the image, a portion of the image based upon the image rendering data, and wherein the multi-pass shader program effectuates a photorealistic effect in the portion of the image through the alteration of a color based on the angle and distance of an object with respect to a light source in the portion of the image. 8. The method of claim 7, wherein the operation includes modifying the first data value and the second data value. 9. The method of claim 7, wherein the first parameter indicates that a portion of the image is to be treated as if it is illuminated by a first light source at a first specified position and the second parameter indicates that the portion of the image is to be treated as if it is illuminated simultaneously by a second light source at a second specified position. 10. The method of claim 9, wherein the image rendering data results in the portion of the image being rendered as if it were illuminated by a first light source located at the first specified position and by a second light source at the second specified position. 11. The method of claim 7, further comprising: executing a texture mapping operation;applying the results of the texture mapping operation to an object in the rendered image. 12. The method of claim 7, wherein rendering the image occurs without the use of a texture mapping operation. 13. A graphics processor driven by a multi-pass shader program including a descriptor and an input parameter, the graphics processor configured to: pre-compile, before run time, the multi-pass shader program to generate binary execution code for execution by the graphics processor by configuring a binary shader for each value in a predetermined set of values, wherein a variable of each binary shader is fixed at compile time to one of the predetermined values in the set;receive a first parameter of the image, a value of the first parameter being limited to one of the values in the predetermined set of values in the multi-pass shader program;execute a first pass of the multi-pass shader program utilizing binary execution code pre-compiled by the multi-pass shader, before run time, and further utilizing the first parameter as the input parameter to obtain a first data value wherein the multi-pass shader program selects, at run-time, the binary shader comprising the binary execution code identified by the value of the first parameter in the first pass;bind, at run time, the first data value as the input parameter for a second pass of the multi-pass shader program; andexecute a second pass of the multi-pass shader program utilizing the binary execution code including the bound first data value to obtain a second data value, wherein an image is rendered in response to execution of the graphics processor, a portion of the image based upon the image rendering data, and wherein the multi-pass shader program effectuates a photorealistic effect in the portion of the image through the alteration of a color based on the angle and distance of an object with respect to a light source in the portion of the image. 14. A method for rendering an image with a graphics processor driven by a multi-pass shader program including a descriptor and an input parameter, the method comprising: pre-compiling, before run time, the multi-pass shader program to generate binary execution code for execution by the graphics processor by configuring a binary shader for each value in a predetermined set of values, wherein a variable of each binary shader is fixed at compile time to one of the predetermined values in the set, wherein binary execution code is identified by the descriptor;receiving a first parameter of the image, a value of the first parameter being limited to one of the values in the predetermined set of values in the multi-pass shader program;executing a first pass of the multi-pass shader program utilizing the binary execution code and the first parameter as the input parameter to obtain a first data value wherein the multi-pass shader program selects, at run-time, the binary shader comprising the binary execution code identified by the value of the first parameter in the first pass;binding, at run time, the first data value as the descriptor for a second pass of the multi-pass shader program;executing a second pass of the multi-pass shader program utilizing the binary execution code including the bound first data value to obtain a second data value;performing an operation on the first data value and the second data value to obtain image rendering data; andrendering the image, a portion of the image based upon the image rendering data, and wherein the multi-pass shader program effectuates a photorealistic effect in the portion of the image through the alteration of a color based on the angle and distance of an object with respect to a light source in the portion of the image. 15. A computer implemented memory having embodied thereon a program, the program being executable by a processor to perform a method for rendering an image, the method comprising: pre-compiling, before run time, a multi-pass shader program including a descriptor and an input parameter to generate binary execution code for execution by the processor by configuring a binary shader for each value in a predetermined set of values, wherein a variable of each binary shader is fixed at compile time to one of the predetermined values in the set;receiving a first parameter of the image, a value of the first parameter being limited to one of the values in the predetermined set of values in the multi-pass shader program;executing a first pass of the multi-pass shader program utilizing the binary execution code and the first parameter as an input parameter to obtain a first data value wherein the multi-pass shader program selects, at run-time, the binary shader comprising the binary execution code identified by the value of the first parameter in the first pass;binding, at run time, the first data value as the input parameter for a second pass of the multi-pass shader program;executing a second pass of the multi-pass shader program utilizing the binary execution code including the bound first data value to obtain a second data value;performing an operation on the first data value and the second data value to obtain image rendering data; andrendering the image, a portion of the image based upon the image rendering data, and wherein the multi-pass shader program effectuates a photorealistic effect in the portion of the image through the alteration of a color based on the angle and distance of an object with respect to a light source in the portion of the image.
Copyright KISTI. All Rights Reserved.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.