CN109126137A - A method of model is created using CSV formatted data - Google Patents
A method of model is created using CSV formatted data Download PDFInfo
- Publication number
- CN109126137A CN109126137A CN201810869257.9A CN201810869257A CN109126137A CN 109126137 A CN109126137 A CN 109126137A CN 201810869257 A CN201810869257 A CN 201810869257A CN 109126137 A CN109126137 A CN 109126137A
- Authority
- CN
- China
- Prior art keywords
- model
- csv
- data
- information
- formatted data
- 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.)
- Withdrawn
Links
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/60—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
Abstract
A kind of method using CSV formatted data creation model provided by the invention, which comprises the following steps: 1) obtain the CSV model data of game model;2) CSV model data is imported into 3DMAX software;3) attribute information of point is determined;4) ergodic data row generates model surface.CSV model data derived from RENDERDOC software can be directly created as the model that 3DMAX can be viewed by the present invention, improve working efficiency.
Description
Technical field
The present invention relates to computer graphics disposal technology fields, in particular to a kind of to create model using CSV formatted data
Method.
Background technique
In carrying out game optimization process, we need the data export of game model being put into 3 sometimes
DMAX software carries out analysis and checks.RENDERDOC is the freeware of a optimization game efficiency, us can be helped to be directed to
Property optimizes game, so that it is more smooth to run game in computer.When we are using RENDERDOC software point
After analysing game, a large amount of rendering datas of current analyzed game can be obtained, wherein just having currently used game model etc. very
Multi information.But RENDERDOC does not provide the model in directly export game.It can only export including model points position coordinates and UV
The CSV data format of the information such as coordinate.But this format we can not be directly viewable in 3DMAX.So needing to create
One wscript.exe carries out the reconstruction of model for this CSV formatted data.So that we can directly look into 3DMAX
See the model that csv file generates.
Summary of the invention
In order to solve the shortcomings of the prior art, created the purpose of the present invention is to provide a kind of using CSV formatted data
The method of established model,.
To achieve the above object, a kind of method using CSV formatted data creation model provided by the invention, feature exist
In, comprising the following steps:
1) the CSV model data of game model is obtained;
2) CSV model data is imported into 3DMAX software;
3) attribute information of point is determined;
4) ergodic data row generates model surface.
Further, the CSV model data that game model is obtained described in step 1) further comprises: soft with RENDERDOC
Part analyzes game model, exports the CSV model data of game model.
Further, the attribute information of the point includes dot position information and UV coordinate information.
Further, the attribute information of the point further comprises the information of normal map information, vertex color.
Further, the format name for analyzing the first row of the CSV model data determines the attribute information institute of the point
Column.
Further, the step 4) further comprises that since the second row of CSV model data, successively basis is every
Three points generate a model surface, until the end of file.
A kind of method using CSV formatted data creation model provided by the invention, can will lead in RENDERDOC software
CSV model data out is directly created as the model that 3DMAX can be viewed.Can a key conversion, CSV lattice can be read directly
Formula.If there is this CSV crossover tool, can make we work in when needing to check CSV model in 3DMAX from it is very big
Effect, improve working efficiency.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, and with it is of the invention
Embodiment together, is used to explain the present invention, and is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of work flow diagram of method that model is created using CSV formatted data according to the present invention;
Fig. 2 is the data format schematic diagram according to the CSV of embodiments of the present invention.
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein
Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
Fig. 1 is a kind of work flow diagram of method that model is created using CSV formatted data according to the present invention.Below will
With reference to Fig. 1, a kind of method using CSV formatted data creation model of the invention is described in detail.
In step 101, the CSV model data of game model is obtained.
In this step, firstly, analyzing game with RENDERDOC software, the CSV model data of game model is exported
Come.
Fig. 2 is the data format schematic diagram according to the CSV of embodiments of the present invention.As shown in Fig. 2, the data master of CSV
The dot position information of model is had recorded, there are also other some data processing of information for UV location information.Wherein, csv file number
A point is represented according to every row.There are the multiple attributes for recording this point in every row.
Under normal circumstances, it generates model data and only needs dot position information and UV location information.
In step 102, CSV model data is imported into 3DMAX software.
In this step, this CSV data file is opened in 3DMAX.
In step 103, the attribute information of point is determined.
In this step, the format name of the first row for the CSV data file opened in a step 102 is first analyzed.It determines
Which is classified as required dot position information, which is classified as required UV coordinate information.If also needing other information, phase is also done
The lookup answered.As long as but having dot position information and UV coordinate information under normal circumstances.
For example, wherein the first row is the typonym of CSV model data with reference to Fig. 2, typonym is INDEX:0 expression
This column is the location information (data of this three column of namely title D, E, F) of point;Typonym is that INDEX:2 indicates that this column is a little
UV coordinate information (namely title K, L, M this three column data).There can also be other various attribute informations put, there is method
Line textures information, the information etc. of vertex color.
Second row of data start to last line be all each point real data.Every a line represents the number of a point
According to.The partial data of the model is shown only in Fig. 2.Because data volume is too big, only interception partially illustrates data information
Constituted mode.
In step 104, ergodic data row generates model surface.
In this step, a model surface is successively generated according to every three points since the second row of CSV model data
Until the end of file.Model is also created that and finishes.
The order on the included creation surface MAX can be used to realize in creation process.In addition UV coordinate information also will be corresponding to
Slave file in input come in.If there are also other desired information need to input also will from file input data.
Embodiment 1
A) Run Script clicks the reading CSV model button in script interface.
B) selection one thinks the CSV model data file of conversion and clicks determination from file selection dialog box.
C) it can be obtained by generated model after the completion of waiting tool processing data.
Those of ordinary skill in the art will appreciate that: the foregoing is only a preferred embodiment of the present invention, and does not have to
In the limitation present invention, although the present invention is described in detail referring to the foregoing embodiments, for those skilled in the art
For, still can to foregoing embodiments record technical solution modify, or to part of technical characteristic into
Row equivalent replacement.All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should all include
Within protection scope of the present invention.
Claims (6)
1. a kind of method using CSV formatted data creation model, which comprises the following steps:
1) the CSV model data of game model is obtained;
2) CSV model data is imported into 3DMAX software;
3) attribute information of point is determined;
4) ergodic data row generates model surface.
2. a kind of method using CSV formatted data creation model according to claim 1, which is characterized in that step 1)
The CSV model data for obtaining game model, further comprises: being analyzed with RENDERDOC software game model, led
The CSV model data of game model out.
3. a kind of method using CSV formatted data creation model according to claim 1, which is characterized in that the point
Attribute information include dot position information and UV coordinate information.
4. a kind of method using CSV formatted data creation model according to claim 1, which is characterized in that the point
Attribute information further comprise normal map information, vertex color information.
5. a kind of method using CSV formatted data creation model according to claim 1, which is characterized in that the step
It is rapid 3) to further comprise, the format name of the first row of the CSV model data is analyzed, where the attribute information for determining the point
Column.
6. a kind of method using CSV formatted data creation model according to claim 1, which is characterized in that the step
It is rapid 4) to further comprise, since the second row of CSV model data, a model surface is successively generated according to every three points, directly
To the end of file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810869257.9A CN109126137A (en) | 2018-08-02 | 2018-08-02 | A method of model is created using CSV formatted data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810869257.9A CN109126137A (en) | 2018-08-02 | 2018-08-02 | A method of model is created using CSV formatted data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109126137A true CN109126137A (en) | 2019-01-04 |
Family
ID=64798573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810869257.9A Withdrawn CN109126137A (en) | 2018-08-02 | 2018-08-02 | A method of model is created using CSV formatted data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109126137A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001143101A (en) * | 2000-09-27 | 2001-05-25 | Square Co Ltd | Rendering method and device, game device and computer readable recording medium with stored program for rendering stereoscopic model |
CN104199659A (en) * | 2014-08-28 | 2014-12-10 | 无锡梵天信息技术股份有限公司 | Method and device for exporting model information capable of being identified by 3DMAX |
CN104750913A (en) * | 2015-03-05 | 2015-07-01 | 中国电建集团昆明勘测设计研究院有限公司 | Method for automatically transforming DWG three-dimensional model into X three-dimensional model |
-
2018
- 2018-08-02 CN CN201810869257.9A patent/CN109126137A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001143101A (en) * | 2000-09-27 | 2001-05-25 | Square Co Ltd | Rendering method and device, game device and computer readable recording medium with stored program for rendering stereoscopic model |
CN104199659A (en) * | 2014-08-28 | 2014-12-10 | 无锡梵天信息技术股份有限公司 | Method and device for exporting model information capable of being identified by 3DMAX |
CN104750913A (en) * | 2015-03-05 | 2015-07-01 | 中国电建集团昆明勘测设计研究院有限公司 | Method for automatically transforming DWG three-dimensional model into X three-dimensional model |
Non-Patent Citations (1)
Title |
---|
许伟: "3DSMAX中数据导入导出问题研究", 《制造业自动化》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8051410B2 (en) | Apparatus for migration and conversion of software code from any source platform to any target platform | |
CN109801347A (en) | A kind of generation method, device, equipment and the medium of editable image template | |
CN108829435A (en) | A kind of image labeling method and general image annotation tool | |
WO2011082072A2 (en) | Gesture-based web site design | |
CN103106188A (en) | Imaging analysis system and imaging analysis method of data model | |
US20110167360A1 (en) | Incoming web traffic conversion | |
WO2021174752A1 (en) | Method and apparatus for visualizing ambient air quality data, device, and storage medium | |
CN107977205A (en) | Gui interface automatically creates method and system | |
CN106484990B (en) | A kind of engine test data three-dimensional Waterfall plot rebuilds, display and analysis method | |
JP2016525678A (en) | Efficient contouring and gating in flow cytometry | |
CN115812221A (en) | Image generation and coloring method and device | |
CN110232726A (en) | The generation method and device of intention material | |
US7027071B2 (en) | Selecting elements from an electronic document | |
CN106709985A (en) | Generation method and device for virtual three-dimensional sacrifice scene | |
CN102509314A (en) | Quick generating method for sunlight greenhouse construction drawing | |
CN113867694B (en) | Method and system for intelligently generating front-end code | |
US9846707B2 (en) | Method for color and size based pre-filtering for visual object searching of documents | |
CN109408175A (en) | Real-time interaction method and system in general high-performance deep learning computing engines | |
CN109126137A (en) | A method of model is created using CSV formatted data | |
JP6863675B2 (en) | Image split | |
CN104423964A (en) | Method and system used for determining visualization credibility | |
CN111192336B (en) | Method and terminal for restoring linear gradual change of background title shadows in PPTX | |
CN106997462A (en) | A kind of quantum wire image-recognizing method | |
KR20210061156A (en) | System and method of providing civil model linking 3 dimensional model and analysis model | |
KR101268865B1 (en) | The editing method of creating real time materials of authoring tool for making 3D virtual 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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190104 |