CN110035270A - A kind of 3D rendering display methods, terminal and computer readable storage medium - Google Patents
A kind of 3D rendering display methods, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN110035270A CN110035270A CN201910152860.XA CN201910152860A CN110035270A CN 110035270 A CN110035270 A CN 110035270A CN 201910152860 A CN201910152860 A CN 201910152860A CN 110035270 A CN110035270 A CN 110035270A
- Authority
- CN
- China
- Prior art keywords
- user
- viewing angle
- display
- model
- terminal
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/275—Image signal generators from 3D object models, e.g. computer-generated stereoscopic image signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/30—Image reproducers
- H04N13/366—Image reproducers using viewer tracking
- H04N13/383—Image reproducers using viewer tracking for tracking with gaze detection, i.e. detecting the lines of sight of the viewer's eyes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of 3D rendering display methods, for it is existing terminal when showing 3D model, the not humane defect of the switching of the different perspectives of 3D model, by loading and showing complete 3D model on the display screen of terminal according to preset rules;The viewing angle for detecting user's sight, is adjusted according to angles of display of the preset rules to 3D model;The variation for detecting the moving direction and viewing angle of user's sight is adjusted the angles of display of 3D model according to the variation of moving direction and viewing angle and the corresponding relationship of the angles of display of 3D model.Solve the problems, such as that current terminal is not humanized enough when showing 3D model.The invention also discloses a kind of terminal and computer readable storage mediums to realize terminal according to the purpose of the viewing angle adjust automatically 3D model angles of display of user by implementing above scheme.
Description
Technical field
The present invention relates to model field of display technology, more specifically to a kind of 3D rendering display methods, terminal and meter
Calculation machine readable storage medium storing program for executing.
Background technique
With the development of electronic technology, smart phone and mobile device are more more and more universal, and intelligent terminal is also more and more
Become one of indispensable equipment in people's daily life.Simultaneously with AR and VR and various 3D capturing technologies and 3D
The maturation of modeling, people are also increasing by the chance and probability of intelligent terminal viewing 3D model, such as many networks at present
The AR that shop provides for commodity shows function, and user only needs to open camera, records the image of current environment, and selection pair
The commodity answered can show the 3D rendering of commodity among the image of current environment.
But in current terminal, when needing to check image of the 3D model of displaying under different perspectives, it can only pass through
The mode of finger sliding is adjusted displaying image of the 3D model of displaying under different angle, for some spatial impressions and side
It is corresponding with the actual angle of daily life that sense not so good user in position is unfavorable for user's understanding actual angles of display of 3D model
Relationship, such as when user wants to check multi-view image of the current 3D model 60 ° or so of the upper right corner, need sliding by finger
It is dynamic to be adjusted, some users can be allowed to be at a loss.
Summary of the invention
The technical problem to be solved in the present invention is that current 3D model, which is shown, to be used by slide handover angles of display
The usage experience at family is poor, for the technical problem, provides a kind of 3D rendering display methods, terminal and computer-readable storage medium
Matter.
In order to solve the above technical problems, the present invention provides a kind of 3D rendering display methods, the 3D rendering display methods packet
It includes:
It is loaded on the display screen of terminal and shows complete 3D model;
The viewing angle for detecting user's sight, is adjusted according to angles of display of the preset rules to the 3D model;
Detect user's sight moving direction and viewing angle variation, according to the variation of moving direction and viewing angle with
The corresponding relationship of the angles of display of the 3D model is adjusted the angles of display of the 3D model.
Optionally, the terminal includes two pieces of display screens for being arranged at terminal front side and the back side.
Optionally, the viewing angle of detection user's sight includes:
The face data that user is obtained by terminal camera, identifies the eye locations and eyeball in the face data
Deflection angle data determine the viewing angle of the user;
And/or
By the sensor in terminal, the state of terminal is detected, the viewing angle of the user is determined according to the state of terminal
Degree.
Optionally, described be adjusted according to angles of display of the preset rules to the 3D model includes:
It determines that the 3D model is in and faces the schematic diagram shown in the case of angles of display;
According to the viewing angle of the user, the angles of display of the 3D model is adjusted to the viewing angle with the user
Corresponding position is spent to be shown.
Optionally, before the variation of the moving direction and viewing angle of detection user's sight further include:
Whether detection user manually adjusts display figure adjusted, when being manually adjusted, described in acquisition
User's manually adjusts angle, using it is described manually adjust angle as correct amount and be added to the viewing angle angle value of user after.
Optionally, the viewing angle of user's sight includes: the viewing angle of the viewing angle of X-direction, Y direction
With the viewing angle of Z-direction.
Optionally, when the number of display screen is more than or equal to two pieces, the terminal is according to the control of default display strategy
3D model is shown on different display screens.
Optionally, the default display strategy includes: the variation for detecting the moving direction and viewing angle of user's sight, when
When the variation of the viewing angle is greater than preset threshold, corresponding display screen is controlled according to the moving direction and is shown
Further, the present invention also provides a kind of terminal, the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize described in any of the above-described
3D rendering display methods the step of.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums
It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize
The step of 3D rendering display methods described in any of the above embodiments.
Beneficial effect
The embodiment of the present invention provides a kind of 3D rendering display methods, terminal and computer readable storage medium, for existing
Terminal when showing 3D model, the not humane defect of switching of the different perspectives of 3D model, by according to preset rules
It is loaded on the display screen of terminal and shows complete 3D model;The viewing angle for detecting user's sight, according to preset rules pair
The angles of display of 3D model is adjusted;The variation for detecting the moving direction and viewing angle of user's sight, according to moving direction
Variation and the corresponding relationship of the angles of display of 3D model with viewing angle, are adjusted the angles of display of 3D model.It solves
The current terminal problem not humanized enough when showing 3D model, realizes terminal and is adjusted automatically according to the viewing angle of user
The purpose of whole 3D model angles of display.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is a kind of 3D rendering display methods basic flow chart that first embodiment of the invention provides;
Fig. 4 is a kind of refined flow chart for 3D rendering display methods that second embodiment of the invention provides;
Fig. 5 is the structural schematic diagram for the terminal that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
Fig. 3 is a kind of basic flow chart of 3D rendering display methods provided in this embodiment, the 3D rendering display methods packet
It includes:
S301, load simultaneously show 3D model.
It is loaded on the display screen of terminal and shows complete 3D model;3D model can be any 3D model, terminal
It needs completely to load entire 3D model when loading 3D model, convenient for below according to the viewing angle of user to 3D model
Angles of display be adjusted, prevent from or leading to display delay due to needing interim load 3D model to cause to show imperfect,
Show slack problem.
S302, the viewing visual angle for detecting user, are adjusted the angles of display of 3D model.
The viewing angle for detecting user's sight, is adjusted according to angles of display of the preset rules to the 3D model;Inspection
The viewing angle of user is surveyed, and the angles of display of 3D model is adjusted, by detecting the initial viewing angle of user come really
Determine the current desired viewing angle wanted of user, and the angles of display seen desired by user is showed into user.
S303, detection user regard the variation of the moving direction and viewing angle of sight, carry out to the angles of display of 3D model
Adjustment.
Detect user's sight moving direction and viewing angle variation, according to the variation of moving direction and viewing angle with
The corresponding relationship of the angles of display of the 3D model is adjusted the angles of display of the 3D model;Detect user's sight
The variation in direction and viewing angle anticipated that the variation of the next viewing angle of user, and according to user's viewing angle
Variation timely adjusts the angles of display of 3D model.
In the present embodiment, the display screen carried in terminal is not limited to one piece of display screen, when terminal is smart phone
When can be two pieces of display screens, such as the display screen of smart phone front and back is set, is gone out certainly in addition to two pieces of display screens
It can also include outside more display screens, such as a display can be respectively set on the intelligent terminal of rectangle on four faces
Screen.
It in the present embodiment, can be according to the viewing angle of user to 3D after terminal loads complete need 3D model to be shown
The initial angles of display of model is adjusted, and the method for determining user's viewing angle includes detecting the viewing angle of user's sight,
The face data of user is obtained by terminal camera, identifies the deflection angle degree of the eye locations and eyeball in face data
According to the viewing angle for determining user;And/or by the sensor in terminal, the state of terminal is detected, it is true according to the state of terminal
Determine the viewing angle of user.
It can capture the face-image of user by the camera being arranged on the identical face of terminal display screen, wherein imaging
Head includes common colour imagery shot at present, can also include black and white camera and infrared photography is first-class can capture user's face
Other image acquiring sensors of image and eyeball movement;After the front portion data for capturing user by camera, using figure
As parser finds out the position of eyes, and the viewing angle of analysis eyeball, by judge the viewing angle of user eyeball with
The angle of terminal display screen is assured that the viewing angle that user currently wants, after determining the viewing angle that user currently wants
The angles of display of 3D model can be adjusted, to meet the angle that user currently needs to watch.
It please determine that the viewing angle that user currently needs can be acted by the eyeball of camera capture face, can also lead to
The state of detection terminal is crossed to realize, by taking intelligent machine as an example, gyroscope, acceleration transducer, gas would generally be carried on intelligent machine
Pressure meter and height sensor etc., can detecte the state that smart phone is presently in by the sensor carried on smart phone,
The grip position that intelligent terminal is in user would generally be defaulted, position when being vertical with the face of user is the position faced
It sets, when user starts to be the mark that user changes viewing angle, start the rotation angle and rotation of detection terminal in rotation terminal
Turn direction, by the anti-viewing angle for pushing away user in position of detection terminal, the viewing angle currently wanted by the user obtained,
The angles of display of 3D model can be adjusted after determining the viewing angle that user currently wants, be needed with meeting user currently
The angle to be watched.
In the present embodiment, determine after the viewing angle of user will to 3D model according to preset rules to the 3D model
Angles of display be adjusted, firstly the need of the angles of display that determination is initial before being adjusted, adjustment all later is
It gives on the basis of the initial angles of display and completes.Therefore, it is adjusted according to angles of display of the preset rules to 3D model
It comprises determining that 3D model is in and faces the schematic diagram shown in the case of angles of display;According to the viewing angle of user, by 3D model
Angles of display be adjusted to position corresponding with the viewing angle of user and show.
In general, 3D model will provide a main view when establishing, in 3D model in the case of main view
Display image be the schematic diagram faced and shown under angles of display, therefore when loading 3D model, read 3D model information, really
Determine the main view of 3D model, which is 3D model in the schematic diagram shown in the case of angles of display is faced, to face
In the case of view be initial angles of display view, in just optionally when, user with vertical angle watch screen, determine just
After display schematic diagram under optionally, the current viewing angle of user, and the viewing angle current according to user are determined, by 3D mould
The angles of display of type is adjusted to show on the corresponding position of current with user viewing angle.
In the present embodiment, after 3D model loads completely, and the display according to the current viewing angle of user to 3D model
After angle is adjusted, whether the viewing angle for starting to detect user is changed, and can be according to user's viewing visual angle
Corresponding adjustment is made in change, but in some cases, user can be dissatisfied to the visual angle currently shown, such as when 3D model
Default main view when not being the main view that user is assert, 3D model be adjusted according to the viewing angle of user after often
Can there is a problem of it is same, therefore, detect user's sight moving direction before further include: detection user whether to adjusted
Display figure is manually adjusted, and when being manually adjusted, obtain user manually adjusts angle, will manually adjust angle work
After being added to the viewing angle angle value of user for correct amount.
User is actively adjusted the view of 3D model, and the method for adjustment can be dragged using common by sliding
The movement of 3D model, when user to 3D model carry out active accommodation, start obtain user adjustment angle, using the angle as after
The correct amount of continuous angle adjustment, which is the offset for defaulting main view and the practical main view thought of user, by this
After offset loads subsequent adjustment angle, to correct angles of display corresponding to subsequent angles of display and view.It needs
Illustrate, which is not limited to using in a 3D model, and system can record the correct amount, is convenient for
User checks the same model afterwards, or rapidly extracting correct amount when checking other models, is quickly arranged and is adjusted
It is whole.
In the present embodiment, since the model of display is 3D model, when obtaining the viewing angle of user's sight,
Viewing angle includes: the viewing angle of the viewing angle of X-direction, the viewing angle of Y direction and Z-direction.
In the present embodiment, when the number of display screen is more than or equal to two pieces, terminal controls 3D according to default display strategy
Model is shown on different display screens.And in view of the present embodiment adjusts 3D model according to the viewing angle of user
Angles of display, therefore the maximum variation range of angles of display of one piece of display screen also can only to 180 °, want realize greater angle
Display just need be equipped at least two pieces of display screens, be equipped with two pieces of display screens be to need 3D model on two pieces of display screens
Display is switched over, to realize better usage experience.
Above-mentioned default display strategy includes: the variation for detecting the moving direction and viewing angle of user's sight, works as viewing angle
When the variation of degree is greater than preset threshold, corresponding display screen is controlled according to moving direction and is shown.One is respectively set with front and back
For block screen, if it is 0 ° that user, which vertically faces preposition display screen, 3D model is schematic front view at this time, when the viewing angle of user
When degree is within the scope of -80 ° -+80 °, being shown on preposition display screen for 3D model is completed, when the viewing angle of user reaches -
80 ° -- when between 100 ° and+80 ° -+100 °, while being shown on preposition display screen and postposition display screen, other angles
Then shown on postposition display screen.
The present embodiment (beneficial effect).
A kind of 3D rendering display methods is present embodiments provided, by loading on the display screen of terminal according to preset rules
And show complete 3D model;The viewing angle for detecting user's sight is carried out according to angles of display of the preset rules to 3D model
Adjustment;The variation for detecting the moving direction and viewing angle of user's sight, according to the variation of moving direction and viewing angle and 3D
The corresponding relationship of the angles of display of model is adjusted the angles of display of 3D model.Realize terminal detection user's viewing angle
The variation of degree, and the purpose of the variation adjust automatically 3D model angles of display according to the viewing angle of user.
Second embodiment
It present embodiments provides a kind of movable termination including front and back double screen and is implementing a kind of 3D provided by the present invention
Specific embodiment when image display method.As shown in figure 4, Fig. 4 is the 3D rendering display side that second embodiment of the invention provides
The refined flow chart of method, the 3D rendering display methods include:
S401, corresponding 3D model is opened, loads and shows 3D model.
User's selection currently needs 3D model to be shown, and after confirmation selection, movable termination is being locally stored or is passing through
Network is searched from server and loads corresponding 3D model.
S402, the schematic front view for determining 3D model, and the viewing angle of schematic front view is set as 0 °.
The main view angle information that 3D model is typically included in the store files of 3D model, loads on movable termination
The display schematic diagram of the 3D model under main view angle can be shown when loading and completing according to main view angle information when 3D model, i.e.,
For schematic front view, and the viewing angle of user is 0 ° when being set at schematic front view.
S403, the viewing angle for determining user, are adjusted the angles of display of 3D model.
After 3D model has loaded, it is thus necessary to determine that the current viewing angle of user determines the side of the current viewing angle of user
Method can be simultaneously using the facial information of camera acquisition user, and the current location shape of detection terminal on movable termination
Two methods of state, in conjunction with the viewing angle for determining user, so that the result determined is more accurate.
S404, judge whether 3D model adjusts;When to be, step S4041 is gone to;When being no, step S4043 is gone to.
The load of 3D model is completed, and after being adjusted according to the current viewing angle of user, judges user to display
Whether 3D model is manually adjusted, when user thinks the angle currently shown and the practical angles of display thought of user not phase
Fu Shi, so that angles of display is consistent with the expection of user, can improve the accuracy of display using manually adjusting.
S4041, when user is adjusted, determine adjustment angle be correct amount.
After determining that user is adjusted the 3D model of display, the adjustment amount of user is obtained, the adjustment amount is for subsequent
Correction value in the adjustment of angles of display, as display.
S4042, determine that user watches the variation of the moving direction and viewing angle of sight along with correct amount, to 3D model
Angles of display be adjusted.
Determine that the variable quantity of the current moving direction of user and viewing angle, moving direction are used to determine the rotation of 3D model
The direction turned, the variable quantity of viewing angle are added along with a correct amount is the sight of active user with viewing angle before
It sees angle, is adjusted according to angles of display of the determining viewing angle to 3D model.In the present embodiment, due to there is front and back
Therefore two pieces of display screens can have the handoff relation between the display screen of front and back, when the viewing angle of user is in -80 ° -+80 °
When in range, being shown on preposition display screen for 3D model is completed, when the viewing angle of user reaches -80 ° -- 100 ° and+80 ° -
It when between+100 °, while being shown on preposition display screen and postposition display screen, other angles are then on postposition display screen
It is shown.
S4043, when user is not adjusted, determine user watch sight moving direction and viewing angle variation,
The angles of display of 3D model is adjusted.
Determine that the variable quantity of the current moving direction of user and viewing angle, moving direction are used to determine the rotation of 3D model
Turn direction, the variable quantity of viewing angle be added with viewing angle before be active user viewing angle, according to determination
Viewing angle the angles of display of 3D model is adjusted.In the present embodiment, due to there are the two pieces of display screens in front and back, because
This, can have the handoff relation between the display screen of front and back, when the viewing angle of user is within the scope of -80 ° -+80 °, 3D mould
Being shown on preposition display screen for type is completed, when the viewing angle of user reaches -80 ° -- when between 100 ° and+80 ° -+100 °,
It is shown on preposition display screen and postposition display screen simultaneously, other angles are then shown on postposition display screen.
3rd embodiment
The present embodiment additionally provides a kind of terminal, shown in Figure 5 comprising processor 51, memory 52 and communication are total
Line 53, in which:
Communication bus 53 is for realizing the connection communication between processor 51 and memory 52;
Processor 51 is for executing the one or more programs stored in memory 52, to realize following steps:
In the present embodiment, processor 51 is also used to execute the one or more programs stored in memory 52 and executes the present invention
The step of first embodiment is to one of second embodiment method for downloading video in embodiment.
The embodiment of the invention also provides a kind of computer readable storage mediums, in the computer-readable recording medium storage
There is one or more program, which can be executed by one or more processor, to execute the present invention
The step of first embodiment is to one of second embodiment method for downloading video in embodiment.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of 3D rendering display methods, which is characterized in that the 3D rendering display methods includes:
It is loaded on the display screen of terminal and shows complete 3D model;
The viewing angle for detecting user's sight, is adjusted according to angles of display of the preset rules to the 3D model;
Detect user's sight moving direction and viewing angle variation, according to the variation of moving direction and viewing angle with it is described
The corresponding relationship of the angles of display of 3D model is adjusted the angles of display of the 3D model.
2. 3D rendering display methods as described in claim 1, which is characterized in that the terminal includes being arranged at terminal just
Two pieces of display screens in face and the back side.
3. 3D rendering display methods as claimed in claim 2, which is characterized in that the viewing angle packet of detection user's sight
It includes:
The face data that user is obtained by terminal camera identifies the inclined of eye locations in the face data and eyeball
Gyration data determine the viewing angle of the user;
And/or
By the sensor in terminal, the state of terminal is detected, the viewing angle of the user is determined according to the state of terminal.
4. 3D rendering display methods as claimed in claim 3, which is characterized in that it is described according to preset rules to the 3D model
Angles of display be adjusted and include:
It determines that the 3D model is in and faces the schematic diagram shown in the case of angles of display;
According to the viewing angle of the user, the angles of display of the 3D model is adjusted to the viewing angle pair with the user
The position answered is shown.
5. 3D rendering display methods as claimed in claim 3, which is characterized in that it is described detection user's sight moving direction and
Before the variation of viewing angle further include:
Whether detection user manually adjusts display figure adjusted, when being manually adjusted, obtains the user
Manually adjust angle, using it is described manually adjust angle as correct amount and be added to the viewing angle angle value of user after.
6. 3D rendering display methods as described in any one in claim 1-5, which is characterized in that the viewing angle of user's sight
Degree includes: the viewing angle of the viewing angle of X-direction, the viewing angle of Y direction and Z-direction.
7. 3D rendering display methods as described in any one in claim 1-5, which is characterized in that when display screen number be greater than etc.
When two pieces, the terminal controls the 3D model according to default display strategy and is shown on different display screens.
8. 3D rendering display methods as claimed in claim 7, which is characterized in that the default display strategy includes: that detection is used
The variation of the moving direction and viewing angle of family sight, when the variation of the viewing angle is greater than preset threshold, according to described
Moving direction controls corresponding display screen and is shown.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize as appointed in claim 1 to 8
The step of 3D rendering display methods described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8
Any one of described in 3D rendering display methods the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910152860.XA CN110035270A (en) | 2019-02-28 | 2019-02-28 | A kind of 3D rendering display methods, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910152860.XA CN110035270A (en) | 2019-02-28 | 2019-02-28 | A kind of 3D rendering display methods, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110035270A true CN110035270A (en) | 2019-07-19 |
Family
ID=67235710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910152860.XA Pending CN110035270A (en) | 2019-02-28 | 2019-02-28 | A kind of 3D rendering display methods, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110035270A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795187A (en) * | 2019-09-29 | 2020-02-14 | 华为技术有限公司 | Image display method and electronic equipment |
CN111429519A (en) * | 2020-03-27 | 2020-07-17 | 贝壳技术有限公司 | Three-dimensional scene display method and device, readable storage medium and electronic equipment |
CN113315964A (en) * | 2021-06-21 | 2021-08-27 | 北京京东方光电科技有限公司 | Display method and device of 3D image and electronic equipment |
CN114398118A (en) * | 2021-12-21 | 2022-04-26 | 深圳市易图资讯股份有限公司 | Intelligent positioning system and method for smart city based on space anchor |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101065783A (en) * | 2004-04-05 | 2007-10-31 | 迈克尔·A·韦塞利 | Horizontal perspective display |
CN102314855A (en) * | 2010-07-06 | 2012-01-11 | 鸿富锦精密工业(深圳)有限公司 | Image processing system, display device and image display method |
WO2012098534A1 (en) * | 2011-01-23 | 2012-07-26 | Extreme Reality Ltd. | Methods, systems, devices and associated processing logic for generating stereoscopic images and video |
CN102640502A (en) * | 2009-10-14 | 2012-08-15 | 诺基亚公司 | Autostereoscopic rendering and display apparatus |
CN104603717A (en) * | 2012-09-05 | 2015-05-06 | Nec卡西欧移动通信株式会社 | Display device, display method, and program |
-
2019
- 2019-02-28 CN CN201910152860.XA patent/CN110035270A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101065783A (en) * | 2004-04-05 | 2007-10-31 | 迈克尔·A·韦塞利 | Horizontal perspective display |
CN102640502A (en) * | 2009-10-14 | 2012-08-15 | 诺基亚公司 | Autostereoscopic rendering and display apparatus |
CN102314855A (en) * | 2010-07-06 | 2012-01-11 | 鸿富锦精密工业(深圳)有限公司 | Image processing system, display device and image display method |
WO2012098534A1 (en) * | 2011-01-23 | 2012-07-26 | Extreme Reality Ltd. | Methods, systems, devices and associated processing logic for generating stereoscopic images and video |
CN104603717A (en) * | 2012-09-05 | 2015-05-06 | Nec卡西欧移动通信株式会社 | Display device, display method, and program |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795187A (en) * | 2019-09-29 | 2020-02-14 | 华为技术有限公司 | Image display method and electronic equipment |
WO2021057673A1 (en) * | 2019-09-29 | 2021-04-01 | 华为技术有限公司 | Image display method and electronic device |
CN111429519A (en) * | 2020-03-27 | 2020-07-17 | 贝壳技术有限公司 | Three-dimensional scene display method and device, readable storage medium and electronic equipment |
CN111429519B (en) * | 2020-03-27 | 2021-07-16 | 贝壳找房(北京)科技有限公司 | Three-dimensional scene display method and device, readable storage medium and electronic equipment |
CN113315964A (en) * | 2021-06-21 | 2021-08-27 | 北京京东方光电科技有限公司 | Display method and device of 3D image and electronic equipment |
CN113315964B (en) * | 2021-06-21 | 2023-04-14 | 北京京东方光电科技有限公司 | Display method and device of 3D image and electronic equipment |
CN114398118A (en) * | 2021-12-21 | 2022-04-26 | 深圳市易图资讯股份有限公司 | Intelligent positioning system and method for smart city based on space anchor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108495056A (en) | Photographic method, mobile terminal and computer readable storage medium | |
CN108900790A (en) | Method of video image processing, mobile terminal and computer readable storage medium | |
CN108108704A (en) | Face identification method and mobile terminal | |
CN110225181A (en) | A kind of screens switch control method, terminal and computer readable storage medium | |
CN110035270A (en) | A kind of 3D rendering display methods, terminal and computer readable storage medium | |
CN109711226A (en) | Two-dimensional code identification method, device, mobile terminal and readable storage medium storing program for executing | |
CN110072061A (en) | A kind of interactive mode image pickup method, mobile terminal and storage medium | |
CN110086993A (en) | Image processing method, device, mobile terminal and computer readable storage medium | |
CN109358831A (en) | A kind of display control method, mobile terminal and computer readable storage medium | |
CN109005574A (en) | Cell selecting method, mobile terminal and computer readable storage medium | |
CN108989873A (en) | Barrage information display method, mobile terminal and computer readable storage medium | |
CN109889695A (en) | A kind of image-region determines method, terminal and computer readable storage medium | |
CN108879842A (en) | Charge control method, mobile terminal and computer readable storage medium | |
CN108965710A (en) | Method, photo taking, device and computer readable storage medium | |
CN108958936A (en) | Application programe switch-over method, mobile terminal and computer readable storage medium | |
CN108257097A (en) | U.S. face effect method of adjustment, terminal and computer readable storage medium | |
CN109992180A (en) | A kind of display control method and mobile terminal, computer readable storage medium | |
CN109960482A (en) | A kind of 3D rendering display methods, terminal and computer readable storage medium | |
CN110049308A (en) | A kind of method of shuangping san, terminal and computer readable storage medium | |
CN109379489A (en) | A kind of screen control method of mobile terminal, mobile terminal and storage medium | |
CN109672843A (en) | Video communication method, terminal and computer readable storage medium | |
CN109698908A (en) | Intelligence calls method, terminal and the storage medium of front camera and rear camera imaging | |
CN109389394A (en) | A kind of multi-screen payment control method, equipment and computer readable storage medium | |
CN109005354A (en) | Image pickup method, mobile terminal and computer readable storage medium | |
CN108174100A (en) | Photographic method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190719 |
|
RJ01 | Rejection of invention patent application after publication |