CN104598182B - Three-dimensional demonstration method and device for document - Google Patents

Three-dimensional demonstration method and device for document Download PDF

Info

Publication number
CN104598182B
CN104598182B CN201410827775.6A CN201410827775A CN104598182B CN 104598182 B CN104598182 B CN 104598182B CN 201410827775 A CN201410827775 A CN 201410827775A CN 104598182 B CN104598182 B CN 104598182B
Authority
CN
China
Prior art keywords
dimensional body
dimensional
parts
model
view
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.)
Active
Application number
CN201410827775.6A
Other languages
Chinese (zh)
Other versions
CN104598182A (en
Inventor
李蓓蓓
宋智广
黄松波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Caxa Technology Co Ltd
Original Assignee
Caxa Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN201410827775.6A priority Critical patent/CN104598182B/en
Publication of CN104598182A publication Critical patent/CN104598182A/en
Application granted granted Critical
Publication of CN104598182B publication Critical patent/CN104598182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/04Indexing scheme for image data processing or generation, in general involving 3D image data

Abstract

The invention discloses a kind of three-dimensional demonstration method and device for document.The three-dimensional demonstration method for being used for document includes:Obtain the said three-dimensional body for treating demonstrating model;Renderer property information of the demonstrating model in the current document page is treated in acquisition, wherein, renderer property information is that the said three-dimensional body for treating demonstrating model carries out the attribute information that need to be set during three-dimensional rendering;The said three-dimensional body that demonstrating model is treated according to renderer property information carries out three-dimensional rendering, obtains treating 3-D view of the demonstrating model on the current document page;Demonstrating model is treated by 3-D view in the current document page and carries out three-dimensional demonstration.Pass through the present invention, solves the problems, such as very flexible during the three-dimensional demonstration by computer progress document, and then the said three-dimensional body by treating demonstrating model according to renderer property information carries out three-dimensional rendering, obtain treating 3-D view of the demonstrating model on the current document page, so as to reach the effect of the flexibility for the three-dimensional demonstration for improving document.

Description

Three-dimensional demonstration method and device for document
Technical field
The present invention relates to 3-D view field, in particular to a kind of three-dimensional demonstration method and device for document.
Background technology
Traditional product introduction mode is that product entity directly is presented into client, but in large scale for such as industrial circle Or for baroque product, it is difficult to whole bright spots of product are presented into user by way of entity displaying.Plan The two-dimentional exhibition method such as piece and character introduction can show situations such as construction of product to a certain extent, but static two dimension Displaying can not fully show the detail of product.
It is general with the development of computer graphics and three-dimensional CAD technology, particularly mobile Internet And the three-dimensional display of product becomes more and more important.Existing three-dimensional objects methods of exhibiting can realize the panorama of displaying enterprise Figure, video is played, and catalogue and two-dimension picture etc. are provided.Existing three-dimensional objects methods of exhibiting is primarily present following lack Fall into:
(1) display platform is single:The application mode of desktop level can not be realized shows product whenever and wherever possible.Meanwhile even if It is that the application of mobile terminal also can not directly use the product introduction material at PC end, can not especially realizes that user can be random Observation visual angle is selected to check product details;
(2) can not upgrade in time products & services:Application based on mobile Internet is much the content customized, because This, once there is new product to occur, or existing product changes, it is necessary to spend time customized application again;
(3) show that content is single:Exhibiting pictures, word are only capable of, or plays video, can not be that user brings interactive body Test, while can not also check the parts minutia of product.
For in correlation technique by computer carry out document three-dimensional demonstration when very flexible the problem of, not yet carry at present Go out effective solution.
The content of the invention
It is a primary object of the present invention to provide a kind of three-dimensional demonstration method and device for document, in terms of solving to pass through Calculation machine carries out the problem of very flexible during the three-dimensional demonstration of document.
To achieve these goals, according to an aspect of the invention, there is provided a kind of three-dimensional demonstration side for document Method.
Included according to the three-dimensional demonstration method for document of the present invention:Obtain the said three-dimensional body for treating demonstrating model;Acquisition is treated Demonstrating model the current document page renderer property information, wherein, renderer property information is to treat the said three-dimensional body of demonstrating model Carry out the attribute information that need to be set during three-dimensional rendering;The said three-dimensional body that demonstrating model is treated according to renderer property information carries out three-dimensional wash with watercolours Dye, obtains treating 3-D view of the demonstrating model on the current document page;Treated and drilled by 3-D view in the current document page Representation model carries out three-dimensional demonstration.
Further, treating the said three-dimensional body of demonstrating model includes multiple parts said three-dimensional bodies, and multiple parts said three-dimensional bodies include Parts said three-dimensional body to be exploded, parts said three-dimensional body to be exploded are that three-dimensional regards for showing in-built parts said three-dimensional body Figure includes explosive view, and before the said three-dimensional body that demonstrating model is treated according to attribute information carries out three-dimensional rendering, this method is also wrapped Include:The initial model matrix of multiple parts said three-dimensional bodies is obtained respectively, wherein, the initial model matrix of multiple parts said three-dimensional bodies Include the initial matrix model of parts said three-dimensional body to be exploded;Obtain preset model square corresponding to parts said three-dimensional body to be exploded Battle array, wherein, preset model matrix is model matrix of the parts said three-dimensional body to be exploded in explosive view;Will parts be exploded The initial matrix model of said three-dimensional body replaces with preset model matrix, wherein, treat and drill according to preset model matrix and attribute information The said three-dimensional body of representation model carries out three-dimensional rendering, obtains treating explosive view of the demonstrating model on the current document page.
Further, before the said three-dimensional body that demonstrating model is treated according to preset model matrix carries out three-dimensional rendering, the party Method also includes:Obtain the parts said three-dimensional body in addition to parts said three-dimensional body to be exploded in multiple parts said three-dimensional bodies;To multiple Parts said three-dimensional body in parts said three-dimensional body in addition to parts said three-dimensional body to be exploded carries out first and hides processing, wherein, the One hide processing be used for do not shown on the current document page in multiple parts said three-dimensional bodies except parts said three-dimensional body to be exploded it Outer parts said three-dimensional body.
Further, treating the said three-dimensional body of demonstrating model includes multiple parts said three-dimensional bodies, and 3-D view includes Section View, Before the said three-dimensional body that demonstrating model is treated according to attribute information carries out three-dimensional rendering, this method also includes:Determine multiple zero Cutting parts said three-dimensional body is treated in part said three-dimensional body, wherein, it is zero for showing cutting plane to treat cutting parts said three-dimensional body Part said three-dimensional body;Obtain the cutting plane information for treating cutting parts said three-dimensional body;Cutting plane information is added to and treats cutting parts three Body is tieed up, wherein, the said three-dimensional body that demonstrating model is treated according to cutting plane information and attribute information carries out three-dimensional rendering, obtains waiting to demonstrate Section View of the model on the current document page.
Further, after the current document page treats demonstrating model progress three-dimensional demonstration by 3-D view, the party Method also includes:Second is carried out to Section View and hides processing, wherein, second, which hides processing, is used to not show in the current document page Cutting plane in Section View.
Further, after the current document page treats demonstrating model progress three-dimensional demonstration by 3-D view, the party Method also includes:Translation process instruction is received, wherein, translation process instruction is used to indicate translation 3-D view;Handled according to translation Instruction translates to 3-D view, or receives rotation processing instruction, wherein, rotation processing is instructed for indicating rotated three dimensional View;And 3-D view is rotated according to rotation processing instruction, or receive and reduce process instruction, wherein, at diminution Reason instruction is used to indicate to reduce 3-D view;And 3-D view is reduced according to process instruction is reduced, or receive enhanced processing Instruction, wherein, enhanced processing is instructed for indicating amplification 3-D view;And amplification 3-D view is instructed according to enhanced processing.
To achieve these goals, according to another aspect of the present invention, there is provided a kind of three-dimensional demonstration for document fills Put.
Included according to the three-dimensional demonstration device for document of the present invention:First acquisition unit, for obtaining mould to be demonstrated The said three-dimensional body of type;Second acquisition unit, renderer property information of the demonstrating model in the current document page is treated for obtaining, wherein, Renderer property information is that the said three-dimensional body for treating demonstrating model carries out the attribute information that need to be set during three-dimensional rendering;Rendering unit, use Three-dimensional rendering is carried out in the said three-dimensional body that demonstrating model is treated according to renderer property information, obtains treating demonstrating model in current document page 3-D view on face;Demonstration unit, drilled for treating demonstrating model progress three-dimensional by 3-D view in the current document page Show.
Further, treating the said three-dimensional body of demonstrating model includes multiple parts said three-dimensional bodies, and multiple parts said three-dimensional bodies include Parts said three-dimensional body to be exploded, parts said three-dimensional body to be exploded are that three-dimensional regards for showing in-built parts said three-dimensional body Figure includes explosive view, and the device also includes:3rd acquiring unit, for obtaining the introductory die of multiple parts said three-dimensional bodies respectively Type matrix, wherein, the initial model matrix of multiple parts said three-dimensional bodies includes the initial matrix mould of parts said three-dimensional body to be exploded Type;4th acquiring unit, for obtaining preset model matrix corresponding to parts said three-dimensional body to be exploded, wherein, preset model square Battle array is model matrix of the parts said three-dimensional body to be exploded in explosive view;Replacement unit, for will parts be exploded it is three-dimensional The initial matrix model of body replaces with preset model matrix, wherein, treat demonstration mould according to preset model matrix and attribute information The said three-dimensional body of type carries out three-dimensional rendering, obtains treating explosive view of the demonstrating model on the current document page.
Further, the device also includes:5th acquiring unit, wait to explode for obtaining to remove in multiple parts said three-dimensional bodies Parts said three-dimensional body outside parts said three-dimensional body;Processing unit is hidden, for waiting to explode to removing in multiple parts said three-dimensional bodies Parts said three-dimensional body outside parts said three-dimensional body carries out first and hides processing, wherein, first, which hides processing, is used for ought be above The parts said three-dimensional body in multiple parts said three-dimensional bodies in addition to parts said three-dimensional body to be exploded is not shown on the shelves page.
Further, treating the said three-dimensional body of demonstrating model includes multiple parts said three-dimensional bodies, and 3-D view includes Section View, The device also includes:Determining unit, for determining to treat cutting parts said three-dimensional body in multiple parts said three-dimensional bodies, wherein, treat Cutting parts said three-dimensional body is the parts said three-dimensional body for showing cutting plane;6th acquiring unit, cutting zero is treated for obtaining The cutting plane information of part said three-dimensional body;Adding device, cutting parts said three-dimensional body is treated for cutting plane information to be added to, its In, the said three-dimensional body that demonstrating model is treated according to cutting plane information and attribute information carries out three-dimensional rendering, obtains treating that demonstrating model exists Section View on the current document page.
By the present invention, using the method comprised the following steps:Obtain the said three-dimensional body for treating demonstrating model;Obtain mould to be demonstrated Type the current document page renderer property information, wherein, renderer property information be treat demonstrating model said three-dimensional body carry out three The attribute information that dimension need to be set when rendering;The said three-dimensional body that demonstrating model is treated according to renderer property information carries out three-dimensional rendering, obtains To treating 3-D view of the demonstrating model on the current document page;Demonstrating model is treated by 3-D view in the current document page Carry out three-dimensional demonstration, solve the problems, such as by computer carry out document three-dimensional demonstration when very flexible, and then by according to The said three-dimensional body that renderer property information treats demonstrating model carries out three-dimensional rendering, obtains treating demonstrating model on the current document page 3-D view, so as to reach the effect of the flexibility for the three-dimensional demonstration for improving document.
Brief description of the drawings
The accompanying drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention Apply example and its illustrate to be used to explain the present invention, do not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the three-dimensional demonstration method for document according to embodiments of the present invention;
Fig. 2 is the schematic diagram of the renderer property information of the three-dimensional demonstration method for document according to embodiments of the present invention; And
Fig. 3 is the schematic diagram of the three-dimensional demonstration device for document according to embodiments of the present invention.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application part, rather than whole embodiments.Based on the embodiment in the application, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model of the application protection Enclose.
It should be noted that term " first " in the description and claims of this application and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments herein described herein.In addition, term " comprising " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit Process, method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include without clear It is listing to Chu or for the intrinsic other steps of these processes, method, product or equipment or unit.
According to an embodiment of the invention, there is provided a kind of three-dimensional demonstration method for document.
Fig. 1 is the flow chart of the three-dimensional demonstration method for document according to embodiments of the present invention.As shown in figure 1, the party Method includes step S102 to step S108:
Step S102, obtain the said three-dimensional body for treating demonstrating model.
The said three-dimensional body for treating demonstrating model is to need the model of the product to spectators' displaying, although the model is three-dimensional, but When being general present in a document, spectators are visually it is seen that a two-dimentional pattern.
Renderer property information of the demonstrating model in the current document page is treated in step S104, acquisition, wherein, renderer property information To treat the attribute information that need to be set when the said three-dimensional body of demonstrating model carries out three-dimensional rendering.
Fig. 2 is the schematic diagram of the renderer property information of the three-dimensional demonstration method for document according to embodiments of the present invention. Renderer property information includes camera position, illumination, texture and material, color, transparency etc..By adjusting above-mentioned renderer property Value, can assign the said three-dimensional body for treating demonstrating model with different illumination, texture and material, color, transparency etc., it is also possible to The model matrix for treating demonstrating model such as is replaced at the processing, so as to spectators can be watched in current document page it is vivid 3-D view.
It should be noted that in the three-dimensional demonstration method for document according to the present invention, in display current document page During the model in face, according to the difference of advance design idea, various forms of 3-D views can be shown.For example, design idea It is the default conditions of display model, then only needs to set the camera information of acquiescence, model matrix information etc. to model.
Step S106, the said three-dimensional body that demonstrating model is treated according to renderer property information carry out three-dimensional rendering, obtain waiting to demonstrate 3-D view of the model on the current document page.
The implementation method of explosive view and Section View is provided below according to embodiments of the invention.
The implementation method of explosive view is introduced first.Explosive view can intuitively each parts in display model, it is right Have very great help in the internal structure tool for understanding model, it is relatively common in traditional product introduction book.According to the present invention's For in the three-dimensional demonstration method of document, explosive view to be realized by resetting the model matrix of each parts in model. Here, treating the said three-dimensional body of demonstrating model includes multiple parts said three-dimensional bodies, and multiple parts said three-dimensional bodies include parts to be exploded Said three-dimensional body, parts said three-dimensional body to be exploded are that 3-D view regards including blast for showing in-built parts said three-dimensional body Figure.Before the said three-dimensional body that demonstrating model is treated according to attribute information carries out three-dimensional rendering, the steps can also be carried out:Point The initial model matrix of multiple parts said three-dimensional bodies is not obtained, wherein, the initial model matrix of multiple parts said three-dimensional bodies includes The initial matrix model of parts said three-dimensional body to be exploded;Preset model matrix corresponding to parts said three-dimensional body to be exploded is obtained, its In, preset model matrix is model matrix of the parts said three-dimensional body to be exploded in explosive view;Will parts three-dimensional be exploded The initial matrix model of body replaces with preset model matrix, wherein, treat demonstration mould according to preset model matrix and attribute information The said three-dimensional body of type carries out three-dimensional rendering, obtains treating explosive view of the demonstrating model on the current document page.
Specifically, when carrying out explosive view displaying, first, obtain each in model said three-dimensional body to be presented under current state The model matrix of parts (in order to which model is returned into original state);Then, participated in the traversal current document page quick-fried All parts of fried model, read default model matrix in its corresponding explosive view, and by default model matrix It is applied on current parts, you can produce the explosive view of model.
Before the said three-dimensional body that demonstrating model is treated according to preset model matrix carries out three-dimensional rendering, it can also carry out as follows Step:Obtain the parts said three-dimensional body in addition to parts said three-dimensional body to be exploded in multiple parts said three-dimensional bodies;To multiple zero Parts said three-dimensional body in part said three-dimensional body in addition to parts said three-dimensional body to be exploded carries out first and hides processing, wherein, first is hidden Processing is hidden to be used to not show on the current document page in multiple parts said three-dimensional bodies in addition to parts said three-dimensional body to be exploded Parts said three-dimensional body.
It should be noted that in explosive view, parts thereof in a model can be allowed to participate in blast, other zero Part may need to be hidden in explosive view.Hiding realization, the observability for the part for having neither part nor lot in blast need to be only set to It is invisible.
The implementation method of Section View is described below.Section View is used to quickly show the internal structure of model, display mould One or more section feature of type, is also frequently utilized for the introduction of product.According to the three-dimensional demonstration for document of the present invention In method, Section View is by setting cutting plane to realize.Here, treating the said three-dimensional body of demonstrating model includes multiple parts three Body is tieed up, 3-D view includes Section View.Before the said three-dimensional body that demonstrating model is treated according to attribute information carries out three-dimensional rendering, Following steps can also be carried out:Determine to treat cutting parts said three-dimensional body in multiple parts said three-dimensional bodies, wherein, treat cutting zero Part said three-dimensional body is the parts said three-dimensional body for showing cutting plane;Obtain the cutting plane information for treating cutting parts said three-dimensional body;Will Cutting plane information is added to and treats cutting parts said three-dimensional body, wherein, treat demonstrating model according to cutting plane information and attribute information Said three-dimensional body carry out three-dimensional rendering, obtain treating Section View of the demonstrating model on the current document page.
After the current document page treats demonstrating model progress three-dimensional demonstration by 3-D view, it can also carry out as follows Step:Second is carried out to Section View and hides processing, wherein, second, which hides processing, is used to not show cutting in the current document page Cutting plane in view.
When carrying out Section View displaying, it is necessary first to all parts in model are traveled through, when discovery parts take part in During cutting, its cutting plane information is read;Then cutting plane information is set and gives the parts.It is switched to it should be noted that working as During lower one page of document, if no longer needing to show cutting plane, the observability of the cutting plane of above-mentioned parts need to only be set To be invisible.
Step S108, demonstrating model is treated by 3-D view in the current document page and carries out three-dimensional demonstration.
After the current document page treats demonstrating model progress three-dimensional demonstration by 3-D view, it can also carry out as follows Step:Translation process instruction is received, wherein, translation process instruction is used to indicate translation 3-D view;According to translation process instruction 3-D view is translated, or receives rotation processing instruction, wherein, rotation processing is instructed for indicating that rotated three dimensional regards Figure;And 3-D view is rotated according to rotation processing instruction, or receive and reduce process instruction, wherein, diminution processing Instruct for indicating to reduce 3-D view;And 3-D view is reduced according to process instruction is reduced, or receive enhanced processing and refer to Order, wherein, enhanced processing is instructed for indicating amplification 3-D view;And amplification 3-D view is instructed according to enhanced processing.
Displaying (such as explosive view, Section View) either for which kind of view, text is being used for according to the present invention In the three-dimensional demonstration method of shelves, the operations such as user can be translated to model, rotated and be scaled, and then realize and model Direct interaction.The realization of these operations depends on three-dimension varying, for example, when user translates to model, according to translation Beginning and end position, a translation transformation matrix can be constructed, then by the model matrix of model and above-mentioned translation transformation square Battle array, which is multiplied, can obtain model in the position of translation terminal.
Show it should be noted that can be realized according to the three-dimensional demonstration method for document of the present invention in a variety of different Show the demonstration that 3-D view is carried out in terminal, for example, PC ends, mobile phone terminal etc..For the 3-D view of current document page presentation, User can select the demonstration form of 3-D view.For example, the rolling by controlling scroll bar, can be adjusted zero in explosive view The explosive levels of part;User can select the different displaying angle of threedimensional model (rotation or movement according to self-demand Deng).It can be seen that according to the present invention the three-dimensional demonstration method support model for document interactively, abundant in contently, at any time with Carry out three-dimensional display ground, can be with the three-dimensional feature and details of comprehensive displaying model, and then user can be allowed directly to experience mould The form of type, the demonstration mode than traditional two-dimension picture and word are more vivid.
By foregoing description as can be seen that according to the three-dimensional demonstration method for document of the present invention using Three-dimensional Display as core The heart, the different minutias of model can be shown.In each document file page by set the position of camera, model light According to, the parameter information such as texture and material, color, transparency, and demonstrating model is treated according to above-mentioned parameter information and carries out three-dimensional rendering, So as to which demonstrating model is in the different conditions of the current document page., can be according to user's request when carrying out the switching of document file page The quick attribute information that model is set in lower one page.
The embodiment is as a result of following steps:Obtain the said three-dimensional body for treating demonstrating model;Acquisition treats that demonstrating model is being worked as The renderer property information of preceding document file page, wherein, renderer property information is that the said three-dimensional body for treating demonstrating model carries out three-dimensional rendering When the attribute information that need to set;The said three-dimensional body that demonstrating model is treated according to renderer property information carries out three-dimensional rendering, obtains waiting to drill 3-D view of the representation model on the current document page;Demonstrating model is treated by 3-D view in the current document page and carries out three Dimension demonstration, solve the problems, such as by computer carry out document three-dimensional demonstration when very flexible, and then by according to render category Property information treat demonstrating model said three-dimensional body carry out three-dimensional rendering, obtain treating that three-dimensional of the demonstrating model on the current document page regards Figure, so as to reach the effect of the flexibility for the three-dimensional demonstration for improving document.
It should be noted that can be in such as one group of computer executable instructions the flow of accompanying drawing illustrates the step of Performed in computer system, although also, show logical order in flow charts, in some cases, can be with not The order being same as herein performs shown or described step.
According to an embodiment of the invention, there is provided a kind of three-dimensional demonstration device for document.It should be noted that this hair The three-dimensional demonstration device for document of bright embodiment can be used for performing three for document that the embodiment of the present invention is provided Demenstration method is tieed up, what the three-dimensional demonstration method for document of the embodiment of the present invention can also be provided by the embodiment of the present invention Performed for the three-dimensional demonstration device of document.
Fig. 3 is the schematic diagram of the three-dimensional demonstration device for document according to embodiments of the present invention.As shown in figure 3, the dress Put including:First acquisition unit 10, second acquisition unit 20, rendering unit 30 and demonstration unit 40.
First acquisition unit 10, the said three-dimensional body of demonstrating model is treated for obtaining.
Second acquisition unit 20, renderer property information of the demonstrating model in the current document page is treated for obtaining, wherein, wash with watercolours Dye attribute information is that the said three-dimensional body for treating demonstrating model carries out the attribute information that need to be set during three-dimensional rendering.
Rendering unit 30, the said three-dimensional body for treating demonstrating model according to renderer property information carry out three-dimensional rendering, obtained Treat 3-D view of the demonstrating model on the current document page.
Treating the said three-dimensional body of demonstrating model includes multiple parts said three-dimensional bodies, and multiple parts said three-dimensional bodies include treating blast zero Part said three-dimensional body, parts said three-dimensional body to be exploded are for showing in-built parts said three-dimensional body, and 3-D view includes blast View, the device can also include:3rd acquiring unit, for obtaining the initial model square of multiple parts said three-dimensional bodies respectively Battle array, wherein, the initial model matrix of multiple parts said three-dimensional bodies includes the initial matrix model of parts said three-dimensional body to be exploded;The Four acquiring units, for obtaining preset model matrix corresponding to parts said three-dimensional body to be exploded, wherein, preset model matrix is to treat Model matrix of the parts said three-dimensional body of exploding in explosive view;Replacement unit, for by the beginning of parts said three-dimensional body to be exploded Beginning matrix model replaces with preset model matrix, wherein, treat the three of demonstrating model according to preset model matrix and attribute information Tie up body and carry out three-dimensional rendering, obtain treating explosive view of the demonstrating model on the current document page.
Alternatively, the device can also include:5th acquiring unit, it is quick-fried except treating in multiple parts said three-dimensional bodies for obtaining Parts said three-dimensional body outside fried parts said three-dimensional body;Processing unit is hidden, for quick-fried except treating in multiple parts said three-dimensional bodies Parts said three-dimensional body outside fried parts said three-dimensional body carries out first and hides processing, wherein, first, which hides processing, is used for current The parts said three-dimensional body in addition to parts said three-dimensional body to be exploded in multiple parts said three-dimensional bodies is not shown on document file page.
Treating the said three-dimensional body of demonstrating model includes multiple parts said three-dimensional bodies, and 3-D view includes Section View, and the device is also Including:Determining unit, for determining to treat cutting parts said three-dimensional body in multiple parts said three-dimensional bodies, wherein, treat cutting zero Part said three-dimensional body is the parts said three-dimensional body for showing cutting plane;6th acquiring unit, cutting parts three-dimensional is treated for obtaining The cutting plane information of body;Adding device, for by cutting plane information added to treating cutting parts said three-dimensional body, wherein, according to cuing open The said three-dimensional body that section information and attribute information treat demonstrating model carries out three-dimensional rendering, obtains treating demonstrating model in current document page Section View on face.
Demonstration unit 40, three-dimensional demonstration is carried out for treating demonstrating model by 3-D view in the current document page.
The three-dimensional demonstration device for document that the present embodiment provides includes:First acquisition unit 10, second acquisition unit 20th, rendering unit 30 and demonstration unit 40.By the device, solve flexible during the three-dimensional demonstration by computer progress document Property difference the problem of, and then the said three-dimensional body that demonstrating model is treated by rendering unit 30 according to renderer property information carries out three-dimensional wash with watercolours Dye, obtains treating 3-D view of the demonstrating model on the current document page, so as to reach the spirit for the three-dimensional demonstration for improving document The effect of activity.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored Performed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific Hardware and software combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (8)

  1. A kind of 1. three-dimensional demonstration method for document, it is characterised in that including:
    Obtain the said three-dimensional body for treating demonstrating model;
    Renderer property information of the demonstrating model in the current document page is treated described in acquisition, wherein, the renderer property information is pair The said three-dimensional body when demonstrating model carries out the attribute information that need to be set during three-dimensional rendering;
    Three-dimensional rendering is carried out to the said three-dimensional body for treating demonstrating model according to the renderer property information, obtains the mould to be demonstrated 3-D view of the type on the current document page;And
    Treat that demonstrating model carries out three-dimensional demonstration to described by the 3-D view in the current document page,
    Wherein, the said three-dimensional body for treating demonstrating model includes multiple parts said three-dimensional bodies, and the 3-D view includes Section View, Before three-dimensional rendering is carried out to the said three-dimensional body for treating demonstrating model according to the attribute information, methods described also includes:Really Cutting parts said three-dimensional body is treated in fixed the multiple parts said three-dimensional body, wherein, it is described to treat cutting parts said three-dimensional body to use In the parts said three-dimensional body of displaying cutting plane;The cutting plane information of cutting parts said three-dimensional body is treated described in acquisition;And by described in Cutting plane information treats cutting parts said three-dimensional body added to described, wherein, according to the cutting plane information and the attribute information The said three-dimensional body that demonstrating model is treated to described carries out three-dimensional rendering, obtains described treating demonstrating model on the current document page Section View.
  2. 2. according to the method for claim 1, it is characterised in that the said three-dimensional body for treating demonstrating model includes multiple parts Said three-dimensional body, the multiple parts said three-dimensional body include parts said three-dimensional body to be exploded, and the parts said three-dimensional body to be exploded is use In showing in-built parts said three-dimensional body, the 3-D view includes explosive view, according to the attribute information to institute Before stating the said three-dimensional body progress three-dimensional rendering for treating demonstrating model, methods described also includes:
    The initial model matrix of the multiple parts said three-dimensional body is obtained respectively, wherein, at the beginning of the multiple parts said three-dimensional body Beginning model matrix includes the initial matrix model of the parts said three-dimensional body to be exploded;
    Preset model matrix corresponding to parts said three-dimensional body to be exploded described in acquisition, wherein, the preset model matrix is described Model matrix of the parts said three-dimensional body to be exploded in the explosive view;And
    The initial matrix model of the parts said three-dimensional body to be exploded is replaced with into the preset model matrix,
    Wherein, three-dimensional wash with watercolours is carried out to the said three-dimensional body for treating demonstrating model according to the preset model matrix and the attribute information Dye, obtain described treating explosive view of the demonstrating model on the current document page.
  3. 3. according to the method for claim 2, it is characterised in that according to the preset model matrix to the mould to be demonstrated Before the said three-dimensional body of type carries out three-dimensional rendering, methods described also includes:
    Obtain the parts said three-dimensional body in addition to the parts said three-dimensional body to be exploded in the multiple parts said three-dimensional body;And
    The is carried out to parts said three-dimensional body in addition to the parts said three-dimensional body to be exploded in the multiple parts said three-dimensional body One hides processing, wherein, described first, which hides processing, is used to not show the multiple parts on the current document page Parts said three-dimensional body in said three-dimensional body in addition to the parts said three-dimensional body to be exploded.
  4. 4. according to the method for claim 1, it is characterised in that pass through the 3-D view pair in the current document page It is described treat demonstrating model carry out three-dimensional demonstration after, methods described also includes:Second is carried out to the Section View and hides processing, Wherein, described second hides processing for the cutting plane in the current document page does not show the Section View.
  5. 5. according to the method for claim 1, it is characterised in that pass through the 3-D view pair in the current document page It is described treat demonstrating model carry out three-dimensional demonstration after, methods described also includes:
    Translation process instruction is received, wherein, the translation process instruction is used to indicate to translate the 3-D view;And
    The 3-D view is translated according to the translation process instruction, or
    Rotation processing instruction is received, wherein, the rotation processing is instructed for indicating to rotate the 3-D view;And
    The 3-D view is rotated according to rotation processing instruction, or
    Receive and reduce process instruction, wherein, the diminution process instruction is used to indicate to reduce the 3-D view;And
    The 3-D view is reduced according to the diminution process instruction, or
    Enhanced processing instruction is received, wherein, the enhanced processing is instructed for indicating to amplify the 3-D view;And
    The 3-D view is amplified according to enhanced processing instruction.
  6. A kind of 6. three-dimensional demonstration device for document, it is characterised in that including:
    First acquisition unit, the said three-dimensional body of demonstrating model is treated for obtaining;
    Second acquisition unit, for obtain it is described treat renderer property information of the demonstrating model in the current document page, wherein, it is described The attribute information that renderer property information need to be set when being and carrying out three-dimensional rendering to the said three-dimensional body when demonstrating model;
    Rendering unit, for carrying out three-dimensional rendering to the said three-dimensional body for treating demonstrating model according to the renderer property information, obtain To the 3-D view for treating demonstrating model on the current document page;And
    Demonstration unit, for treating that demonstrating model carries out three-dimensional and drilled to described by the 3-D view in the current document page Show,
    Wherein, the said three-dimensional body for treating demonstrating model includes multiple parts said three-dimensional bodies, and the 3-D view includes Section View, Described device also includes:Determining unit, for determining to treat cutting parts said three-dimensional body in the multiple parts said three-dimensional body, its In, it is described to treat that cutting parts said three-dimensional body is the parts said three-dimensional body for showing cutting plane;6th acquiring unit, for obtaining The cutting plane information for treating cutting parts said three-dimensional body;And adding device, for the cutting plane information to be added into institute State and treat cutting parts said three-dimensional body, wherein, according to the cutting plane information and the attribute information to the demonstrating model for the treatment of Said three-dimensional body carries out three-dimensional rendering, obtains described treating Section View of the demonstrating model on the current document page.
  7. 7. device according to claim 6, it is characterised in that the said three-dimensional body for treating demonstrating model includes multiple parts Said three-dimensional body, the multiple parts said three-dimensional body include parts said three-dimensional body to be exploded, and the parts said three-dimensional body to be exploded is use In showing in-built parts said three-dimensional body, the 3-D view includes explosive view, and described device also includes:
    3rd acquiring unit, for obtaining the initial model matrix of the multiple parts said three-dimensional body respectively, wherein, it is the multiple The initial model matrix of parts said three-dimensional body includes the initial matrix model of the parts said three-dimensional body to be exploded;
    4th acquiring unit, for obtaining preset model matrix corresponding to the parts said three-dimensional body to be exploded, wherein, it is described pre- If model matrix is the model matrix of the parts said three-dimensional body to be exploded in the explosive view;And
    Replacement unit, for the initial matrix model of the parts said three-dimensional body to be exploded to be replaced with into the preset model square Battle array,
    Wherein, three-dimensional wash with watercolours is carried out to the said three-dimensional body for treating demonstrating model according to the preset model matrix and the attribute information Dye, obtain described treating explosive view of the demonstrating model on the current document page.
  8. 8. device according to claim 7, it is characterised in that described device also includes:
    5th acquiring unit, for obtaining in the multiple parts said three-dimensional body in addition to the parts said three-dimensional body to be exploded Parts said three-dimensional body;And
    Hide processing unit, in the multiple parts said three-dimensional body in addition to the parts said three-dimensional body to be exploded zero Part said three-dimensional body carries out first and hides processing, wherein, described first, which hides processing, is used to not show on the current document page Show the parts said three-dimensional body in addition to the parts said three-dimensional body to be exploded in the multiple parts said three-dimensional body.
CN201410827775.6A 2014-12-25 2014-12-25 Three-dimensional demonstration method and device for document Active CN104598182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410827775.6A CN104598182B (en) 2014-12-25 2014-12-25 Three-dimensional demonstration method and device for document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410827775.6A CN104598182B (en) 2014-12-25 2014-12-25 Three-dimensional demonstration method and device for document

Publications (2)

Publication Number Publication Date
CN104598182A CN104598182A (en) 2015-05-06
CN104598182B true CN104598182B (en) 2018-02-02

Family

ID=53124007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410827775.6A Active CN104598182B (en) 2014-12-25 2014-12-25 Three-dimensional demonstration method and device for document

Country Status (1)

Country Link
CN (1) CN104598182B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105787986A (en) * 2016-02-29 2016-07-20 浪潮(苏州)金融技术服务有限公司 Three-dimensional graph rendering method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178817A (en) * 2007-12-25 2008-05-14 王鹏勃 Demonstration document realization method based on three-dimensional information in three-dimensional scene
CN102523473A (en) * 2011-12-01 2012-06-27 中兴通讯股份有限公司 Three-dimensional interface display device, method and terminal
CN103412874A (en) * 2013-07-11 2013-11-27 北京大学深圳研究生院 Method and system for achieving three-dimensional page

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100561837B1 (en) * 2001-07-09 2006-03-16 삼성전자주식회사 Method for representing image-based rendering information in a 3D scene

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178817A (en) * 2007-12-25 2008-05-14 王鹏勃 Demonstration document realization method based on three-dimensional information in three-dimensional scene
CN102523473A (en) * 2011-12-01 2012-06-27 中兴通讯股份有限公司 Three-dimensional interface display device, method and terminal
CN103412874A (en) * 2013-07-11 2013-11-27 北京大学深圳研究生院 Method and system for achieving three-dimensional page

Also Published As

Publication number Publication date
CN104598182A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN103678631B (en) page rendering method and device
US9324166B2 (en) Systems, methods, and apparatuses for creating digital glitter
CN104281864B (en) A kind of method and apparatus for generating Quick Response Code
CN103247064B (en) A kind of generation method of three-dimensional dynamic graphical, device and mobile terminal
CN110176197B (en) Holographic display method, system, storage medium and equipment
CN112967367B (en) Water wave special effect generation method and device, storage medium and computer equipment
CN107527271A (en) A kind of implementation and system of the user terminal for designing and generating customed product
Seidametova et al. Using augmented reality for architecture artifacts visualizations
Gruenefeld et al. Locating nearby physical objects in augmented reality
CA2577205A1 (en) Design software incorporating efficient 3-d rendering
CN105718054B (en) The contactless smart terminal control method and device of augmented reality object, system
CN104598182B (en) Three-dimensional demonstration method and device for document
CN112216161B (en) Digital work teaching method and device
Tai Applications of augmented reality and virtual reality on computer-assisted teaching for analytical sketching of architectural scene and construction
CN110719415B (en) Video image processing method and device, electronic equipment and computer readable medium
CN104615398B (en) A kind of cube display methods and device
CN111949904A (en) Data processing method and device based on browser and terminal
CN101727531A (en) Method and system used for interaction in virtual environment
CN114972466A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN111260768B (en) Picture processing method and device, storage medium and electronic device
TW201901594A (en) Virtual object collecting method and portable electronic device being implemented by using a portable electronic device
CN112270629A (en) Cultural relic digital teaching method and device
CN106708450B (en) Picture display process, device and terminal device
Ugwitz et al. Rendering a series of 3D dynamic visualizations in (geographic) experimental tasks
CN108038914A (en) Household furnishing management system based on AR technologies

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant