US2025086902A1PendingUtilityA1

Method for rendering virtual object, host, and computer readable storage medium

Assignee: HTC CORPPriority: Sep 8, 2023Filed: Sep 8, 2023Published: Mar 13, 2025
Est. expirySep 8, 2043(~17.1 yrs left)· nominal 20-yr term from priority
G06T 15/005G06V 10/60G06V 10/25G06T 19/006G06T 15/506G06F 3/011
50
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

The embodiments of the disclosure provide a method for rendering a virtual object, a host, and a computer readable storage medium. The method includes: determining a plurality of regions in an environment; determining lighting information of each of the plurality of regions; obtaining a to-be-rendered virtual object and selecting at least one candidate region corresponding to the to-be-rendered virtual object among the plurality of regions; determining a reference lighting information based on the lighting information of each of the at least one candidate region; and rendering the to-be-rendered virtual object based on the reference lighting information.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A method for rendering a virtual object, applied to a host, comprising:
 determining, by the host, a plurality of regions in an environment;   determining, by the host, lighting information of each of the plurality of regions;   obtaining, by the host, a to-be-rendered virtual object and selecting, by the host, at least one candidate region corresponding to the to-be-rendered virtual object among the plurality of regions;   determining, by the host, a reference lighting information based on the lighting information of each of the at least one candidate region; and   rendering, by the host, the to-be-rendered virtual object based on the reference lighting information.   
     
     
         2 . The method according to  claim 1 , further comprising:
 updating the lighting information of at least one of the plurality of regions in response to a movement of the host.   
     
     
         3 . The method according to  claim 1 , wherein the plurality of regions comprise a first region, and the step of determining the lighting information of each of the plurality of regions comprises:
 determining a first reference point in the first region;   determining first lighting information of the first reference point in the first region; and   determining the first lighting information of the first reference point as the lighting information of the first region.   
     
     
         4 . The method according to  claim 3 , wherein the first reference point in the first region is a center point of the first region. 
     
     
         5 . The method according to  claim 3 , wherein the step of determining the first lighting information of the first reference point in the first region comprises:
 in response to determining that the host locates in the first region, capturing a first environmental image associated with the first region, wherein the first environmental image comprises at least one of a panorama and a cubemap; and   determining the first lighting information of the first reference point in the first region based on the first environmental image associated with the first region.   
     
     
         6 . The method according to  claim 5 , wherein the step of determining the first lighting information of the first reference point in the first region based on the first environmental image associated with the first region comprises:
 in response to determining that the first environmental image is captured at a first location within the first region, determining a first relative position between the first location and the first reference point;   calibrating the first environmental image based on the first relative position, wherein the calibrated first environmental image corresponds to a viewing angle of the host at the first reference point to the environment; and   converting the calibrated first environmental image into the first lighting information of the first reference point.   
     
     
         7 . The method according to  claim 3 , wherein the plurality of regions comprise a first region and a second region adjacent to each other, and the method further comprises:
 after determining the lighting information of the first region, accordingly determining the lighting information of the second region.   
     
     
         8 . The method according to  claim 1 , wherein the plurality of regions comprise a first region, and the step of selecting the at least one candidate region corresponding to the to-be-rendered virtual object among the plurality of regions comprises:
 in response to determining that the to-be-rendered virtual object locates in the first region, at least selecting the first region as the at least one candidate region.   
     
     
         9 . The method according to  claim 8 , wherein the plurality of regions further comprise a second region adjacent to the first region, and the step of at least selecting the first region as the at least one candidate region comprises:
 selecting the first region and the second region as the at least one candidate region.   
     
     
         10 . The method according to  claim 1 , wherein the step of determining the reference lighting information based on the lighting information of each of the at least one candidate region comprises:
 combining the lighting information of each of the at least one candidate region into the reference lighting information.   
     
     
         11 . A host, comprising:
 a non-transitory storage circuit, storing a program code; and   a processor, coupled to the non-transitory storage circuit and accessing the program code to perform:
 determining a plurality of regions in an environment; 
 determining lighting information of each of the plurality of regions; 
 obtaining a to-be-rendered virtual object and selecting at least one candidate region corresponding to the to-be-rendered virtual object among the plurality of regions; 
 determining a reference lighting information based on the lighting information of each of the at least one candidate region; and 
 rendering the to-be-rendered virtual object based on the reference lighting information. 
   
     
     
         12 . The host according to  claim 11 , wherein the processor further performs:
 updating the lighting information of at least one of the plurality of regions in response to a movement of the host.   
     
     
         13 . The host according to  claim 11 , wherein the plurality of regions comprise a first region, and the processor performs:
 determining a first reference point in the first region;   determining first lighting information of the first reference point in the first region; and   determining the first lighting information of the first reference point as the lighting information of the first region.   
     
     
         14 . The host according to  claim 13 , wherein the first reference point in the first region is a center point of the first region. 
     
     
         15 . The host according to  claim 11 , wherein the plurality of regions comprise a first region, and the processor performs:
 in response to determining that the host locates in the first region, capturing a first environmental image associated with the first region, wherein the first environmental image comprises at least one of a panorama and a cubemap; and   determining the first lighting information of the first reference point in the first region based on the first environmental image associated with the first region.   
     
     
         16 . The host according to  claim 15 , wherein the first region comprises a first reference point, and after capturing the first environmental image associated with the first region, the processor further performs:
 in response to determining that the first environmental image is captured at a first location within the first region, determining a first relative position between the first location and the first reference point;   calibrating the first environmental image based on the first relative position, wherein the calibrated first environmental image corresponds to a viewing angle of the host at the first reference point to the environment; and   converting the calibrated first environmental image into the first lighting information of the first reference point.   
     
     
         17 . The host according to  claim 13 , wherein the plurality of regions comprise a first region and a second region adjacent to each other, and the processor performs:
 after determining the lighting information of the first region, accordingly determining the lighting information of the second region.   
     
     
         18 . The host according to  claim 11 , wherein the plurality of regions comprise a first region, and the processor performs:
 in response to determining that the to-be-rendered virtual object locates in the first region, selecting the first region and the second region as the at least one candidate region.   
     
     
         19 . The host according to  claim 11 , wherein the processor performs:
 combining the lighting information of each of the at least one candidate region into the reference lighting information.   
     
     
         20 . A non-transitory computer readable storage medium, the computer readable storage medium recording an executable computer program, the executable computer program being loaded by a host to perform steps of:
 determining a plurality of regions in an environment;   determining lighting information of each of the plurality of regions;   obtaining a to-be-rendered virtual object and selecting at least one candidate region corresponding to the to-be-rendered virtual object among the plurality of regions;   determining a reference lighting information based on the lighting information of each of the at least one candidate region; and   rendering the to-be-rendered virtual object based on the reference lighting information.

Join the waitlist — get patent alerts

Track US2025086902A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.