CN108958724A - Three-dimensional visualization engine construction method, device, engine, browser, equipment and storage medium - Google Patents
Three-dimensional visualization engine construction method, device, engine, browser, equipment and storage medium Download PDFInfo
- Publication number
- CN108958724A CN108958724A CN201810667733.9A CN201810667733A CN108958724A CN 108958724 A CN108958724 A CN 108958724A CN 201810667733 A CN201810667733 A CN 201810667733A CN 108958724 A CN108958724 A CN 108958724A
- Authority
- CN
- China
- Prior art keywords
- function
- interface
- functional
- dimensional visualization
- functional interface
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
Abstract
The invention discloses a kind of three-dimensional visualization engine construction method, device, engine, browser, equipment and storage mediums to form at least one functional interface the method comprise the steps that being combined encapsulation to the functional module of bottom layer realization;It opens to the outside world the functional interface.The functional module that the embodiment of the present invention is realized by packaging bottom layer, functional interface is externally provided, so that research staff calls directly corresponding functional interface and corresponding function can be realized, no longer need to write a large amount of code, three-dimensional visualization engine building efficiency can be improved.
Description
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of three-dimensional visualization engine construction methods, dress
It sets, engine, browser, equipment and storage medium.
Background technique
Three-dimensional visualization engine based on C++ constructs engine, combines game technology, virtual reality technology, browser and inserts
Part technology etc. is basic core development language with C++, using Javascript as interface, provides the frame being simple and efficient and enriches
Model library, there are the handling characteristics of similar WebGL, but provide the object encapsulation of higher level, target is quick exploitation three
Tie up Web application.In existing d engine, there are problems that following two aspect mostly:
(1) it is directly developed based on the open API in underlying graphics library, usually OpenGL and DirectX, at present, micro-
Soft Directx technology is more more mature.Client-server (Client/Server) frame can only be developed based on these API
The application program of structure.This program is for the corporate client or Internet subscribers that need large-scale use, either portion
Administration or maintenance upgrade, are all an extremely troublesome things.
(2) developing without plug-in mode based on WebGL technology.WebGL is using encapsulation technology, operating system bottom
OpenGL shape library has carried out secondary encapsulation.It the problem of due to the security restriction of browser and WebGL itself maturity, is needing
It carries out in the case that a wide range of object shows, there are also very big gaps for the performance of WebGL technology and the desired flow of user.
Summary of the invention
The embodiment of the present invention provides a kind of three-dimensional visualization engine construction method, device, engine, browser, equipment and deposits
Three-dimensional visualization engine building efficiency can be improved in storage media.
In a first aspect, the embodiment of the invention provides a kind of three-dimensional visualization engine construction methods, comprising:
Encapsulation is combined to the functional module of bottom layer realization, forms at least one functional interface;
It opens to the outside world the functional interface.
Second aspect, the embodiment of the present invention also provide a kind of three-dimensional visualization engine construction device, comprising:
Package module is combined encapsulation for the functional module to bottom layer realization, forms at least one functional interface;
Interface module, for the functional interface of opening to the outside world.
The third aspect, the embodiment of the present invention also provide a kind of equipment, and the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes three-dimensional visualization engine construction method described in first aspect of the embodiment of the present invention.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes three-dimensional visualization engine construction method described in first aspect of the embodiment of the present invention when program is executed by processor.
5th aspect, the embodiment of the present invention also provide a kind of three-dimensional visualization engine, comprising:
Interface module, at least one functional interface of opening to the outside world, the functional interface passes through the function to bottom layer realization
Energy module is combined encapsulation and realizes.
6th aspect, the embodiment of the present invention also provide a kind of browser, including described in the 5th aspect of the embodiment of the present invention
Three-dimensional visualization engine.
The functional module that the embodiment of the present invention is realized by packaging bottom layer, externally provides functional interface, so that research staff
Calling directly corresponding functional interface can be realized corresponding function, no longer need to write a large amount of code, three-dimensional can be improved can
Efficiency is constructed depending on changing engine.
Detailed description of the invention
Figure 1A is the flow diagram for the three-dimensional visualization engine construction method that the embodiment of the present invention one provides;
Figure 1B is that video camera/viewport in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides shows function
The schematic diagram of energy;
Fig. 1 C is showing for the animated show function in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides
It is intended to;
Fig. 1 D is that the material and shadow in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides show effect
The schematic diagram of fruit;
Fig. 1 E is the input and console function in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides
Schematic diagram;
Fig. 1 F is the scenario node management function in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides
Schematic diagram;
Fig. 1 G is the schematic diagram of the rendering function in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides;
Fig. 1 H is pickup and selection function in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides
Schematic diagram;
Fig. 1 I is the self-defining data model function in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides
The schematic diagram of energy;
Fig. 1 J is interface GUI and 2D function in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides
Schematic diagram;
Fig. 1 K is the insertion third party library function in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides
Schematic diagram;
Fig. 1 L is showing for the realization rendering function in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides
It is intended to;
Fig. 1 M is showing for the realization painting canvas function in the three-dimensional visualization engine construction method that the embodiment of the present invention one provides
It is intended to;
Fig. 2 is the structural schematic diagram of three-dimensional visualization engine construction device provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram for the equipment that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the three-dimensional visualization engine that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the browser that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
The executing subject of three-dimensional visualization engine construction method provided in an embodiment of the present invention, can mention for the embodiment of the present invention
The three-dimensional visualization engine construction device of confession, the device can integrate in mobile terminal device (for example, smart phone, plate are electric
Brain, notebook etc.), it also can integrate in server, which can use hardware or software
It realizes.Three-dimensional visualization engine construction method provided in an embodiment of the present invention is particularly well suited to personalized generation electronic insurance policy, under
Face will be illustrated in conjunction with the embodiments.
Embodiment one
Figure 1A is the flow diagram for the three-dimensional visualization engine construction method that the embodiment of the present invention one provides, such as Figure 1A institute
Show, specifically include:
S101, encapsulation is combined to the functional module of bottom layer realization, forms at least one functional interface.
Optionally, the functional module is realized using C Plus Plus, includes at least one of the following: that video camera/viewport shows function
Energy, animated show function, input and console function, scenario node management function, rendering function, pickup and selection function, from
It defines data model function, interface GUI and 2D function, insertion third party library function, browser downloading, load, update plug-in unit
Script, macrodefinition, auxiliary function, example and tool storage room.
Optionally, the functional interface, which includes at least one of the following:, realizes the functional interface of bulletin board, realizes the function picked up
Energy interface, the functional interface for realizing rendering and the functional interface for realizing painting canvas.
This step one kind is optionally achieved in that, is combined using functional module of the Javascript to bottom layer realization
Encapsulation, forms at least one Javascript interface.In the encapsulation that Javascript level carries out 3D card i/f, including it is clear
Device of looking at downloading, load, the script for updating plug-in unit;Various macrodefinitions, auxiliary function, example and tool storage room.
Specifically, Figure 1B is the schematic diagram that video camera/viewport shows function, the more viewports of video camera, mouse ball control are supported
Video camera, macroscopical depression angle control video camera, video camera fly to certain position, video camera scaling etc.;Support video camera track animation,
Controllable position position, rotation;It supports interception back to buffer screenshot function, screenshot size can be modified, it can be more than display area point
Resolution screenshot;It supports orthogonal photograpny machine, orthogonal far and near scaling is supported, including 3D video camera to the switching of orthogonal photograpny machine.
Fig. 1 C is the schematic diagram of animated show function, and the key frame of the skeleton cartoon, scenario node of supporting character is dynamic
It draws, animation saves as XML file.
Fig. 1 D is the schematic diagram of material and shadow bandwagon effect, support point light, direction light, floodlight, controllable light position,
The basic parameters such as power, range, color, light can hang over scenario node in the following, realizing movement effects;Material supporting reflex, ring
Border textures, ray plot, multilayer textures, multichannel Pass rendering;Support various textures mixing and translucent effect;Support textures layer
The textures animation such as rolling, scaling, rotation and textures starting location offset amount, amount of zoom, rotation amount setting;Material is supported
Hollow out textures, apha_reject can be used for the hollow outs effect such as plant, decoration;Support the picture format of textures: * .tga, *
.bmp,*.dds,*.jpg,*.png;Support the channel Alpha;It supports to be mapped to from the specified position url download model, downloading interior
It deposits, and is decompressed, loaded;The material animation controlled by key frame, material animation is supported to be stored in XML file, each material
Animation can there are materials for one in scene.
Fig. 1 E is input and the schematic diagram of console function, the reading for supporting the hardware of DirectInput to input, and
The mouse-keyboard message that windows messaging returns, the input response being respectively suitable on video camera operation and GUI;Control is provided
Platform output printing log and log file, the console window (read-only view) opened independently of browser.
Fig. 1 F is the schematic diagram of scenario node management function, supports complicated scene linking relationship, hierarchical structure, scene section
Point set membership, mobile, rotation, scaling father node influence node transformation;It supports to the mirror image of object, rotation, zooming and panning
Deng operation.
The display modes such as Fig. 1 G is the schematic diagram of rendering function, and support entity is shown, wire frame is shown, point is shown;Support day
Sylphon, sky ball, sky effect resource dynamic download and can switch after being packaged;Support fog effect, the parameters such as settable mist distance;
It supports polyaxial bulletin board (Billboard), bulletin board tree, supports towards video camera, is several along common axis and itself axis;Branch
ParticIe system is held, the simulation such as weather imitation, smog, fire is provided, the emissivity, transmitting quantity, particle that can adjust particIe system are big
The parameters such as small, particle textures, particle color, life cycle;It supports effect modifier, material is carried out to scenario node in batches and is repaired
Change, the object of scenario node rank, which is added to modifier neutrality, to be had the effect of in modifier.
Fig. 1 H is the schematic diagram picked up with selection function, supports ray to pick up, rectangular loop choosing, and returns to pickup letter abundant
Breath, comprising: point information, face index information, normal, mapping coordinates.Pickup mark can be set, with exclude not need to pick up
Part;It supports multiselect label, object packet marking is given, to distinguish when for selecting.
Fig. 1 I is the schematic diagram of self-defining data model function, support Freehandhand-drawing object (ManualObject) fill out manually point,
The self-definition model of the information such as normal, textures.Multiple materials can be set in each ManualObject;Support any space lines
It draws, is used for route, indicator head lamp, lines drafting can change color and dynamic flowing and other effects;Support various shape
Wire frame draw, rectangle, circle, annulus etc., thus it is possible to vary color and dynamic flowing and other effects, adjustment scaling;Support
Volume data section, can be used for the point datas such as temperature, flue gas generate volume cross section, settable color value range, data
Wide, high, depth and section position;Simple setting-out object Loft is supported, according to the encirclement frame of 2D, along coordinates measurement net
Lattice.Rotation scaling etc. is supported in path, can increase the transform effect on path.
Fig. 1 J is the schematic diagram of interface GUI Yu 2D function, and the GUI of 2D, GUI is supported to have hierarchical structure, button, picture box
Equal basic elements;It supports painting canvas (Canvas), line, rectangle, ellipse, sector, arrow etc., the result of painting canvas output is drawn on 2D
For Texture, it can be used for any material;It supports 2D Sprite, text, the figure etc. of 2D can be associated in 3D scene
Node on.
Fig. 1 K is the schematic diagram for being embedded in third party library function, supports Imbedded Flash to GUI or arrives material, and supports
Flash is interacted with mouse, and AS is supported to call and adjust back;It supports embedded browser, to GUI or arrives material, and provide
Javascript is called and callback function.
S102, the opening functional interface.
Wherein, each functional interface is formed by encapsulating at least one above-mentioned functional module, includes at least one of the following: realization
The functional interface of bulletin board realizes the functional interface picked up, realizes the functional interface of rendering and realizes the functional interface of painting canvas.
Wherein, bulletin board Billboard is managed by t3djs.sceneManager, var bbs=
T3djs.sceneManager.createBillboardSet (1), for controlling a plane in scene, allow he always with
Camera lens (be generally orthogonal to camera lens) of certain angle against us.The Billboard of T3D is supported towards video camera, along public affairs
Coaxial and itself axis is several, is usually used in warning mark, trees etc..
Wherein, pick up includes ray pickup and rectangular pick-up.Ray, which picks up, detects a ray across object in scene, and
Polygon, mapping coordinates etc. with returning an object value;Ray, which is picked up, provides interface by t3djs.picking: var pickInfo=
t3djs.picking.pick(pt);Rectangular pick-up is to be included for detecting in a rectangular area in screen space
Object;Rectangular pick-up provides interface by t3djs.SelectController: var selector=new
t3djs.SelectController()。
Wherein, rendering window refers to the whole region of plug-in unit, provides interface by t3djs.renderWindow object, uniquely
's;Viewport refers to the rectangular area in rendering window, and default has one, can have multiple, and each viewport needs a corresponding photography
Machine;Default viewport and provides interface by t3djs.viewport object, it can be by t3djs.renderWindow.addViewport
Add multiple viewports;As can be seen in 1L.
Wherein, painting canvas provides the interface of the graphing on textures (Texture);Manager are as follows:
T3djs.canvasManager, Canvas need that updateTexture () is called to update textures after drawing;
Painting canvas mainly provides: text: writing text, supports font, color and shade;Paintbrush: line, frame are used for;Paintbrush: it uses
In filling figure;Final application painting canvas the result is that will be material;As depicted in figure iM.
The functional module that the present embodiment is realized by packaging bottom layer, externally provides functional interface, so that research staff is direct
It calls corresponding functional interface that corresponding function can be realized, no longer needs to write a large amount of code, three-dimensional visualization can be improved
Engine constructs efficiency.
Embodiment two
Structural schematic diagram of the Fig. 2 for three-dimensional visualization engine construction device provided by Embodiment 2 of the present invention, the device, such as
It shown in Fig. 2, specifically includes: package module 201 and interface module 202;
Package module 201 forms at least one functional interface for being combined encapsulation to the functional module of bottom layer realization;
Interface module 202 is for the functional interface of opening to the outside world.
Three-dimensional visualization engine construction device described in the present embodiment can for executing three-dimensional described in the various embodiments described above
Depending on changing engine construction method, technical principle is similar with the technical effect of generation, is described again here.
On the basis of the above embodiments, the package module 201 is specifically used for: using Javascript to bottom layer realization
Functional module be combined encapsulation, form at least one Javascript interface.
On the basis of the above embodiments, the functional module includes at least one of following:
Video camera/viewport shows function, animated show function, input and console function, scenario node management function, wash with watercolours
Function, pickup and selection function are contaminated, self-defining data model function, interface GUI and 2D function, third party library function is embedded in, is clear
Device of looking at downloading, load, script, macrodefinition, auxiliary function, example and the tool storage room for updating plug-in unit.
On the basis of the above embodiments, the functional interface includes at least one of the following:
It realizes the functional interface of bulletin board, realize the functional interface picked up, realize the functional interface of rendering and realize painting canvas
Functional interface.
On the basis of the above embodiments, the functional module is realized using C Plus Plus.
Three-dimensional visualization engine construction device described in the various embodiments described above is equally used for executing described in the various embodiments described above
Three-dimensional visualization engine construction method, technical principle is similar with the technical effect of generation, is described again here.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.Fig. 3, which is shown, to be suitable for being used to realizing this
The block diagram of the exemplary computer device 12 of invention embodiment.The computer equipment 12 that Fig. 3 is shown is only an example, no
The function and use scope for coping with the embodiment of the present invention bring any restrictions.
As shown in figure 3, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to: one or more processor or processing unit 16, system storage 28 connect different system components
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not
Movably, non-volatile magnetic media (Fig. 3 do not show, commonly referred to as " hard disk drive ").It, can be with although being not shown in Fig. 3
The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") is provided, and non-volatile to moving
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and
The realization program module 42 that may include network environment in program data, each of these examples or certain combination is usually held
Function and/or method in row embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make
The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network
Network, such as internet) communication.As shown in figure 5, network adapter 20 is logical by other modules of bus 18 and computer equipment 12
Letter.It should be understood that although not shown in the drawings, can in conjunction with computer equipment 12 use other hardware and/or software module, including
But it is not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive
And data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize three-dimensional visualization engine construction method provided by the embodiment of the present invention:
Encapsulation is combined to the functional module of bottom layer realization, forms at least one functional interface;
It opens to the outside world the functional interface.
Further, encapsulation is combined to the functional module of bottom layer realization, forms at least one functional interface, comprising:
Encapsulation is combined using functional module of the Javascript to bottom layer realization, forms at least one Javascript
Interface.
Further, the functional module includes at least one of following:
Video camera/viewport shows function, animated show function, input and console function, scenario node management function, wash with watercolours
Function, pickup and selection function are contaminated, self-defining data model function, interface GUI and 2D function, third party library function is embedded in, is clear
Device of looking at downloading, load, script, macrodefinition, auxiliary function, example and the tool storage room for updating plug-in unit.
Further, the functional interface includes at least one of the following:
It realizes the functional interface of bulletin board, realize the functional interface picked up, realize the functional interface of rendering and realize painting canvas
Functional interface.
Further, the functional module is realized using C Plus Plus.
Example IV
The embodiment of the present invention four additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should
The three-dimensional visualization engine construction method provided such as all inventive embodiments of the application is provided when program is executed by processor:
Encapsulation is combined to the functional module of bottom layer realization, forms at least one functional interface;
It opens to the outside world the functional interface.
Further, encapsulation is combined to the functional module of bottom layer realization, forms at least one functional interface, comprising:
Encapsulation is combined using functional module of the Javascript to bottom layer realization, forms at least one Javascript
Interface.
Further, the functional module includes at least one of following:
Video camera/viewport shows function, animated show function, input and console function, scenario node management function, wash with watercolours
Function, pickup and selection function are contaminated, self-defining data model function, interface GUI and 2D function, third party library function is embedded in, is clear
Device of looking at downloading, load, script, macrodefinition, auxiliary function, example and the tool storage room for updating plug-in unit.
Further, the functional interface includes at least one of the following:
It realizes the functional interface of bulletin board, realize the functional interface picked up, realize the functional interface of rendering and realize painting canvas
Functional interface.
Further, the functional module is realized using C Plus Plus.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium can for example be but not limited to system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or
Any above combination.The more specific example (non exhaustive list) of computer readable storage medium include: with one or
The electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), can
Erasing programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light are deposited
Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to without
Line, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, also
Including conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete
Ground executes on the user computer, partly executes on the user computer, executing as an independent software package, partially existing
Part executes on the remote computer or executes on a remote computer or server completely on subscriber computer.It is being related to
In the situation of remote computer, remote computer can include local area network (LAN) or wide area network by the network of any kind
(WAN) it is connected to subscriber computer, or, it may be connected to outer computer (such as led to using ISP
Cross internet connection).
Embodiment five
Fig. 4 is the structural schematic diagram for the three-dimensional visualization engine that the embodiment of the present invention five provides, as shown in figure 4, specific packet
It includes: interface module 401;
Interface module 401 passes through at least one functional interface of opening to the outside world, the functional interface to bottom layer realization
Functional module is combined encapsulation and realizes.
Three-dimensional visualization engine described in the present embodiment is for executing three-dimensional visualization engine described in the various embodiments described above
The technical effect of construction method, technical principle and generation is similar, is described again here.
On the basis of the above embodiments, the functional interface is Javascript interface.
On the basis of the above embodiments, the functional module includes at least one of following:
Video camera/viewport shows function, animated show function, input and console function, scenario node management function, wash with watercolours
Function, pickup and selection function are contaminated, self-defining data model function, interface GUI and 2D function, third party library function is embedded in, is clear
Device of looking at downloading, load, script, macrodefinition, auxiliary function, example and the tool storage room for updating plug-in unit.
On the basis of the above embodiments, the functional interface includes at least one of the following:
It realizes the functional interface of bulletin board, realize the functional interface picked up, realize the functional interface of rendering and realize painting canvas
Functional interface.
On the basis of the above embodiments, the functional module is realized using C Plus Plus.
Embodiment six
Fig. 5 is the structural schematic diagram for the browser that the embodiment of the present invention six provides, and specifically includes the embodiment of the present invention five and mentions
The three-dimensional visualization engine of confession.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of three-dimensional visualization engine construction method characterized by comprising
Encapsulation is combined to the functional module of bottom layer realization, forms at least one functional interface;
It opens to the outside world the functional interface.
2. the method according to claim 1, wherein being combined encapsulation, shape to the functional module of bottom layer realization
At at least one functional interface, comprising:
Encapsulation is combined using functional module of the Javascript to bottom layer realization, at least one Javascript is formed and connects
Mouthful.
3. the method according to claim 1, wherein the functional module includes at least one of following:
Video camera/viewport shows function, animated show function, input and console function, scenario node management function, rendering function
It can, pick up and selection function, self-defining data model function, interface GUI and 2D function, insertion third party library function, browser
Downloading, load, script, macrodefinition, auxiliary function, example and the tool storage room for updating plug-in unit.
4. the method according to claim 1, wherein the functional interface includes at least one of the following:
It realizes the functional interface of bulletin board, realize the functional interface picked up, realize the functional interface of rendering and realize the function of painting canvas
It can interface.
5. method according to claim 1-4, which is characterized in that the functional module is realized using C Plus Plus.
6. a kind of three-dimensional visualization engine construction device characterized by comprising
Package module is combined encapsulation for the functional module to bottom layer realization, forms at least one functional interface;
Interface module, for the functional interface of opening to the outside world.
7. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as three-dimensional visualization engine construction method as claimed in any one of claims 1 to 5.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
Such as three-dimensional visualization engine construction method as claimed in any one of claims 1 to 5 is realized when row.
9. a kind of three-dimensional visualization engine characterized by comprising
Interface module, at least one functional interface of opening to the outside world, the functional interface passes through the function mould to bottom layer realization
Block is combined encapsulation and realizes.
10. a kind of browser, which is characterized in that including three-dimensional visualization engine as claimed in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810667733.9A CN108958724A (en) | 2018-06-26 | 2018-06-26 | Three-dimensional visualization engine construction method, device, engine, browser, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810667733.9A CN108958724A (en) | 2018-06-26 | 2018-06-26 | Three-dimensional visualization engine construction method, device, engine, browser, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108958724A true CN108958724A (en) | 2018-12-07 |
Family
ID=64486519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810667733.9A Pending CN108958724A (en) | 2018-06-26 | 2018-06-26 | Three-dimensional visualization engine construction method, device, engine, browser, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108958724A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069247A (en) * | 2019-04-28 | 2019-07-30 | 山东浪潮商用系统有限公司 | A kind of development approach and device, application method and device of application program |
CN110554873A (en) * | 2019-08-20 | 2019-12-10 | 上海沣沅星科技有限公司 | system, computer device and storage medium for realizing human-computer interaction interface |
CN110764757A (en) * | 2019-10-22 | 2020-02-07 | 成都九洲电子信息系统股份有限公司 | Interactive graphics drawing engine based on HTML5 |
CN111106968A (en) * | 2019-12-31 | 2020-05-05 | 国网山西省电力公司信息通信分公司 | Method for constructing information communication intelligent dispatching command sand table |
CN111580809A (en) * | 2020-05-07 | 2020-08-25 | 讯飞幻境(北京)科技有限公司 | Visual webgl framework construction method and device and computer equipment |
CN111580789A (en) * | 2018-12-31 | 2020-08-25 | 罗克韦尔自动化技术公司 | Function block framework generation |
CN111724462A (en) * | 2020-06-18 | 2020-09-29 | 北京优锘科技有限公司 | Three-dimensional rendering method in Chrome browser |
CN112037337A (en) * | 2020-07-13 | 2020-12-04 | 北京优锘科技有限公司 | Market three-dimensional digital emergency plan drilling system and method |
CN112991508A (en) * | 2021-03-30 | 2021-06-18 | 赛瓦软件(上海)有限公司 | WebGL-based 3D rendering system and method |
CN114780164A (en) * | 2022-02-28 | 2022-07-22 | 深圳开源互联网安全技术有限公司 | Method and system for screening webpage information based on browser plug-in |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508644A (en) * | 2011-09-22 | 2012-06-20 | Tcl集团股份有限公司 | 3D (three-dimensional) user interface graphics engine framework |
CN102520951A (en) * | 2011-12-13 | 2012-06-27 | 天津大学 | Flash-based three-dimensional game scene management system |
CN102880464A (en) * | 2012-08-31 | 2013-01-16 | 中山市世宇动漫科技有限公司 | Three-dimensional game engine system |
CN106990961A (en) * | 2017-03-28 | 2017-07-28 | 易网数通(北京)科技有限公司 | A kind of method for building up of WebGL graphics rendering engines |
-
2018
- 2018-06-26 CN CN201810667733.9A patent/CN108958724A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508644A (en) * | 2011-09-22 | 2012-06-20 | Tcl集团股份有限公司 | 3D (three-dimensional) user interface graphics engine framework |
CN102520951A (en) * | 2011-12-13 | 2012-06-27 | 天津大学 | Flash-based three-dimensional game scene management system |
CN102880464A (en) * | 2012-08-31 | 2013-01-16 | 中山市世宇动漫科技有限公司 | Three-dimensional game engine system |
CN106990961A (en) * | 2017-03-28 | 2017-07-28 | 易网数通(北京)科技有限公司 | A kind of method for building up of WebGL graphics rendering engines |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111580789A (en) * | 2018-12-31 | 2020-08-25 | 罗克韦尔自动化技术公司 | Function block framework generation |
CN111580789B (en) * | 2018-12-31 | 2023-09-12 | 罗克韦尔自动化技术公司 | Function block frame generation |
CN110069247A (en) * | 2019-04-28 | 2019-07-30 | 山东浪潮商用系统有限公司 | A kind of development approach and device, application method and device of application program |
CN110554873B (en) * | 2019-08-20 | 2023-06-30 | 上海沣沅星科技有限公司 | System, computer device and storage medium for realizing man-machine interaction interface |
CN110554873A (en) * | 2019-08-20 | 2019-12-10 | 上海沣沅星科技有限公司 | system, computer device and storage medium for realizing human-computer interaction interface |
CN110764757A (en) * | 2019-10-22 | 2020-02-07 | 成都九洲电子信息系统股份有限公司 | Interactive graphics drawing engine based on HTML5 |
CN111106968A (en) * | 2019-12-31 | 2020-05-05 | 国网山西省电力公司信息通信分公司 | Method for constructing information communication intelligent dispatching command sand table |
CN111580809A (en) * | 2020-05-07 | 2020-08-25 | 讯飞幻境(北京)科技有限公司 | Visual webgl framework construction method and device and computer equipment |
CN111724462A (en) * | 2020-06-18 | 2020-09-29 | 北京优锘科技有限公司 | Three-dimensional rendering method in Chrome browser |
CN112037337A (en) * | 2020-07-13 | 2020-12-04 | 北京优锘科技有限公司 | Market three-dimensional digital emergency plan drilling system and method |
CN112991508A (en) * | 2021-03-30 | 2021-06-18 | 赛瓦软件(上海)有限公司 | WebGL-based 3D rendering system and method |
CN114780164A (en) * | 2022-02-28 | 2022-07-22 | 深圳开源互联网安全技术有限公司 | Method and system for screening webpage information based on browser plug-in |
CN114780164B (en) * | 2022-02-28 | 2023-04-25 | 深圳开源互联网安全技术有限公司 | Method and system for screening webpage information based on browser plug-in |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108958724A (en) | Three-dimensional visualization engine construction method, device, engine, browser, equipment and storage medium | |
US11238644B2 (en) | Image processing method and apparatus, storage medium, and computer device | |
US8368705B2 (en) | Web-based graphics rendering system | |
MXPA06012368A (en) | Integration of three dimensional scene hierarchy into two dimensional compositing system. | |
CN107590754A (en) | A kind of system and method based on augmented reality lifting national park Tourist Experience | |
US8363051B2 (en) | Non-real-time enhanced image snapshot in a virtual world system | |
CN108960947A (en) | Show house methods of exhibiting and system based on virtual reality | |
EP3533218B1 (en) | Simulating depth of field | |
CN108765576B (en) | OsgEarth-based VIVE virtual earth roaming browsing method | |
US9588651B1 (en) | Multiple virtual environments | |
CN113593027B (en) | Three-dimensional avionics display control interface device | |
CN106780707B (en) | The method and apparatus of global illumination in simulated scenario | |
CN105184843B (en) | A kind of three-dimensional animation manufacturing method based on OpenSceneGraph | |
CN116051713B (en) | Rendering method, electronic device, and computer-readable storage medium | |
CN111724462B (en) | Three-dimensional rendering method in Chrome browser | |
Hirose | Virtual reality technology and museum exhibit | |
CN110288207A (en) | It is a kind of that the method and apparatus of scene information on duty is provided | |
CN112200899B (en) | Method for realizing model service interaction by adopting instantiation rendering | |
CN113436307B (en) | Mapping algorithm based on osgEarth image data to UE4 scene | |
KR20120001114A (en) | Method for controlling 3d object in virtual world, ineterface and input/output therefor | |
CN112367295B (en) | Plug-in display method and device, storage medium and electronic equipment | |
Ko et al. | Interactive web-based virtual reality with java 3d | |
WO2023277703A1 (en) | Method for associating production elements with a production approach | |
CN112184874A (en) | High-performance graphic marking, progress simulating and navigating method for lightweight three-dimensional model | |
Zhou et al. | Implementation of the Interaction Effect Among Virtual Large Curved Screens on Multiple Buildings Based on Mixed Reality |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181207 |