CN102346921A - Renderer-baking light mapping method of three-dimensional software - Google Patents

Renderer-baking light mapping method of three-dimensional software Download PDF

Info

Publication number
CN102346921A
CN102346921A CN2011102773320A CN201110277332A CN102346921A CN 102346921 A CN102346921 A CN 102346921A CN 2011102773320 A CN2011102773320 A CN 2011102773320A CN 201110277332 A CN201110277332 A CN 201110277332A CN 102346921 A CN102346921 A CN 102346921A
Authority
CN
China
Prior art keywords
virtual scene
pinup picture
shadow
file
renderer
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
Application number
CN2011102773320A
Other languages
Chinese (zh)
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.)
GUANGZHOU CITY FRONTOP DIGITAL TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU CITY FRONTOP DIGITAL 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 GUANGZHOU CITY FRONTOP DIGITAL TECHNOLOGY Co Ltd filed Critical GUANGZHOU CITY FRONTOP DIGITAL TECHNOLOGY Co Ltd
Priority to CN2011102773320A priority Critical patent/CN102346921A/en
Publication of CN102346921A publication Critical patent/CN102346921A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a renderer-baking light mapping method of three-dimensional software. The method comprises the following steps of: in the three-dimensional software, establishing a digital model scene for simulating the real environment, arranging light in the simulated real environment and assigning material to the object; establishing a virtual scene file A and a virtual scene file B in the three-dimensional software; opening the virtual scene file A with the three-dimensional software; carrying out renderer baking on the virtual scene file A and outputting a Vraylightingmap light map file; closing all lights in the virtual scene file B, and carrying out renderer baking on to output a Vraylightingmap light map file; and selecting the light map of the virtual scene A after the rendering to cover the path of the light map stored by the virtual scene B so that the path of the light map of the virtual scene file A is directly tracked on the object of the virtual scene file B and a map of the light information channel is formed on the object of the virtual scene B. Through the invention, the shortcoming of color overflow caused by VRay renderer light tracking and global illumination is effectively controlled.

Description

A kind of renderer of three-dimensional software cures the method for shadow pinup picture
Technical field
The present invention relates to computer virtual reality technology, refer more particularly to the method that a kind of renderer of three-dimensional software cures the shadow pinup picture.
Background technology
So-called shadow pinup picture is meant that mainly one puts up and can preserve an illumination information and shadow information that body surface receives in the virtual scene on the figure.The pinup picture technology of curing also is Render To Textures, briefly is exactly a kind ofly to play up the mode of pinup picture to 3Dmax illumination information, and the pinup picture after then curing this pastes the technology of going in the scene of getting back to again, and like this illumination information has become pinup picture.
The shadow pinup picture mainly is to make with the lightingmap pinup picture of 3Dmax bake module the inside.This technological widespread usage is in virtual reality scenario and scene of game.The integration software of main flow making virtual software shadow pinup picture is 3D max and VRay in the industry at present.It is fast that the lightingmap pinup picture that the shadow pinup picture Vraylightingmap that the VRay renderer cures out carries than common 3Dmax has speed, the advantage that quality is high.And dirigibility is strong, and operability is high.But a shortcoming is also arranged, be exactly the lightingmap pinup picture originally be a pinup picture with black-white-gray color.But Vraylightingmap is provided with the Raytracing (ray trace) and Global Illumination (global illumination) technology of the inside because of VRay plays up; Caused the Vraylightingmap pinup picture to have color information inside; At this time; If directly be put into virtual scene or scene of game with the Vraylightingmap pinup picture, it is very untidy that whole scene seems, the aesthetic feeling of picture does not reach clean requirement; And in virtual software later stage fine setting whole structure, cause transferring poorer and poorer, transfer random more consequence more.Be put into virtual scene or scene of game if transfer to common lightingmap pinup picture, light is dull, and is hard straight, do not have the excessive of harmony.
Summary of the invention
Therefore, when the present invention had improved the VRay renderer and plays up the Vraylightingmap pinup picture, pinup picture had the method for the drawback of the color information except that the black and white color, reached the method for real purpose for later stage virtual software conveying shadow pinup picture.
Be to realize above-mentioned purpose, the invention provides the method that a kind of renderer of three-dimensional software cures the shadow pinup picture.The shadow pinup picture that the method is made is suitable for computer virtual reality industry and computer game scene is made industry.May further comprise the steps:
(1), in three-dimensional software, set up digital analogue true environment, be used for environment that is virtually reality like reality, in the true environment of simulation, arrange light and give material to object;
(2), in three-dimensional software, be established as A number and B virtual scene file, two file scene content are identical;
(3), open A virtual scene file with three-dimensional software;
(4), A virtual scene file cures the shadow pinup picture file that is output as Vraylightingmap with renderer, form is the TGA form, cures and accomplishes back preservation A virtual scene;
(5), the B virtual scene closes whole light, cures the shadow pinup picture file that is output as Vraylightingmap with renderer, form is the TGA form, cures and accomplishes back preservation B virtual scene;
(6), choose the shadow pinup picture that cures the A virtual scene after the completion; Cover in the path of the shadow pinup picture that the B virtual scene preserved; A file shadow pinup picture path is directly tracked on the B virtual scene object, and the pinup picture that finally forms the shadow information channel is on B virtual scene object.
Further, the object inside the said A virtual scene is enclosed a 8*8 pure white pinup picture.
Further, the renderer of described three-dimensional software is the VRay renderer among the 3Dmax that runs on the computing machine.
The present invention can provide clean salubrious Vraylightingmap shadow pinup picture for later stage virtual software Virtools, quest3D, Unity3D, domestic software VRP and game engine.
The method that a kind of three-dimensional software renderer provided by the invention cures the shadow pinup picture; Based on existing three-dimensional software; Adopt white pinup picture to replace original chart pasting method, effectively controlled the color that VRay renderer ray trace and global illumination bring and overflowed drawback.Make pinup picture have only the information of three colors of black-white-gray, reached the purpose of real shadow pinup picture.Make later stage virtual software and scene of game well edit the shadow pinup picture and needn't arrive again inside the Photoshop software and handle again.
Description of drawings
Fig. 1 is the process flow diagram of applying three-dimensional software development shadow pinup picture of the present invention.
Embodiment
Be elaborated below in conjunction with accompanying drawing:
Fig. 1 is the process flow diagram of the method for applying three-dimensional software development shadow pinup picture of the present invention:
Step 101: in three-dimensional software, set up digital analogue true environment.Be used for environment that is virtually reality like reality, in the true environment of simulation, arrange light and give material to object;
Step 102: in three-dimensional software, be established as A number and B virtual scene file, two file scene content are identical;
Step 103: open A virtual scene file with three-dimensional software;
Step 104:A virtual scene file cures the shadow pinup picture file that is output as Vraylightingmap with renderer, and form is the TGA form, cures and accomplishes back preservation A virtual scene;
Step 105:B virtual scene is closed whole light, cures the shadow pinup picture file that is output as Vraylightingmap with renderer, and form is the TGA form, cures and accomplishes back preservation B virtual scene;
Step 106: choose the shadow pinup picture that cures the A virtual scene after the completion; Cover in the path of the shadow pinup picture that the B virtual scene preserved; A file shadow pinup picture path is directly tracked on the B virtual scene object, and the pinup picture that finally forms the shadow information channel is on B virtual scene object.
Said three-dimensional software is 3D max, and renderer then is the VRay renderer.
In the above-mentioned explanation to have mentioned A number be the file of being preserved by 3Dmax with B virtual scene file, white pinup picture and VRay play up parameter and cure parameter in the 3Dmax range of definition.
Like the step 102 in the description of drawings; Next step replaces the pure white pinup picture of a 8*8 pixel size to the object in the A virtual scene file; Remove except the transparent pinup picture; Considered and to have made by special pinup picture that do not consider the making of transparent pinup picture here because of the shade account form of transparent pinup picture.
Like the step 103 in the description of drawings, cure the A virtual scene with the VRay renderer, a newly-built on computers file, called after " white shadow pinup picture " is kept the A virtual scene pinup picture that cures completion.
Like the step 104 in the description of drawings, cure B virtual scene file, the B virtual scene only need be the name of pinup picture, so the parameter of light can be set, reduce the VRay device and plays up setting.Like this, just saved a large amount of curing the time.And a newly-built on computers file, called after " black shadow pinup picture ".
Like the step 105 in the description of drawings, this step is an emphasis, with the pinup picture that the A virtual scene cures, and the shadow pinup picture of " white shadow pinup picture " file the inside.Be substituted into the pinup picture file that the B virtual scene cures, further say, cover the shadow pinup picture file of " black shadow pinup picture " the inside with the pinup picture of " white shadow pinup picture " the inside.The shadow pinup picture file of B virtual scene just has been assigned to the shadow pinup picture of " white shadow pinup picture " file the inside like this, explains that further the B virtual scene has just had the shadow information of A virtual scene.Remove the colouring information beyond the black-white-gray, when the shadow pinup picture is put into the exploitation and composition of later stage virtual software or game engine, be more prone to editor and modification.

Claims (3)

1. the renderer of a three-dimensional software cures the method for shadow pinup picture, and its characteristic comprises following step:
1), in three-dimensional software, set up the digital simulation scene, be used for environment that is virtually reality like reality, in the true environment of simulation, arrange light and give material to object;
2), in three-dimensional software, be established as A number and B virtual scene file, two document scene contents are identical, save as two virtual scene files then;
3), open A virtual scene file with three-dimensional software;
4), A virtual scene file cures the shadow pinup picture file that is output as Vraylightingmap with renderer, form is the TGA form, cures and accomplishes back preservation A virtual scene;
5), the B virtual scene closes whole light, cures the shadow pinup picture file that is output as Vraylightingmap with renderer, form is the TGA form, cures and accomplishes back preservation B virtual scene;
6), choose the shadow pinup picture that cures the A virtual scene after the completion; Cover in the path of the shadow pinup picture that the B virtual scene preserved; A file shadow pinup picture path is directly tracked on the B virtual scene object, and the pinup picture that finally forms the shadow information channel is on B virtual scene object.
2. the renderer of a kind of three-dimensional software according to claim 1 cures the method for shadow pinup picture, it is characterized in that the object of said A virtual scene the inside is enclosed a 8*8 pure white pinup picture.
3. the method that a kind of three-dimensional software renderer according to claim 1 cures the shadow pinup picture, the renderer that it is characterized in that described three-dimensional software are the VRay renderer among the 3Dmax that runs on the computing machine.
CN2011102773320A 2011-09-19 2011-09-19 Renderer-baking light mapping method of three-dimensional software Pending CN102346921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102773320A CN102346921A (en) 2011-09-19 2011-09-19 Renderer-baking light mapping method of three-dimensional software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102773320A CN102346921A (en) 2011-09-19 2011-09-19 Renderer-baking light mapping method of three-dimensional software

Publications (1)

Publication Number Publication Date
CN102346921A true CN102346921A (en) 2012-02-08

Family

ID=45545568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102773320A Pending CN102346921A (en) 2011-09-19 2011-09-19 Renderer-baking light mapping method of three-dimensional software

Country Status (1)

Country Link
CN (1) CN102346921A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102545A (en) * 2014-07-04 2014-10-15 北京理工大学 Three-dimensional resource allocation and loading optimization method for mobile augmented reality browser
CN105321200A (en) * 2015-07-10 2016-02-10 苏州蜗牛数字科技股份有限公司 Offline rendering preprocessing method
CN106056658A (en) * 2016-05-23 2016-10-26 珠海金山网络游戏科技有限公司 Virtual object rendering method and virtual object rendering device
CN106504311A (en) * 2016-10-28 2017-03-15 腾讯科技(深圳)有限公司 A kind of rendering intent of dynamic fluid effect and device
CN106652038A (en) * 2016-12-27 2017-05-10 合肥漫禹科技有限公司 Map baking method for VR virtual campus system
CN111583376A (en) * 2020-06-04 2020-08-25 网易(杭州)网络有限公司 Method and device for eliminating black edge in illumination map, storage medium and electronic equipment
CN112116692A (en) * 2020-08-28 2020-12-22 北京完美赤金科技有限公司 Model rendering method, device and equipment
CN112419460A (en) * 2020-10-20 2021-02-26 上海哔哩哔哩科技有限公司 Method, apparatus, computer device and storage medium for baking model charting
CN114004923A (en) * 2021-09-16 2022-02-01 天津市普迅电力信息技术有限公司 WebGL-based three-dimensional model shadow mapping texture rendering method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050140678A1 (en) * 1999-05-10 2005-06-30 Johan Gielis Computer graphics systems and methods
US7068269B2 (en) * 2002-08-30 2006-06-27 Brian Curtis Roberts System and method for presenting three-dimensional data
CN101887595A (en) * 2009-05-14 2010-11-17 武汉如临其境科技创意有限公司 Three-dimensional digital earth-space data organizing and rendering method based on quad-tree index

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050140678A1 (en) * 1999-05-10 2005-06-30 Johan Gielis Computer graphics systems and methods
US7068269B2 (en) * 2002-08-30 2006-06-27 Brian Curtis Roberts System and method for presenting three-dimensional data
CN101887595A (en) * 2009-05-14 2010-11-17 武汉如临其境科技创意有限公司 Three-dimensional digital earth-space data organizing and rendering method based on quad-tree index

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
肖丽贞: "Vray渲染器在3ds Max场景中的渲染技巧", 《煤炭技术》 *
陈泳伟: "V-Ray for Rhino引出的一组器皿", 《CAD/CAM与制造业信息化》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102545A (en) * 2014-07-04 2014-10-15 北京理工大学 Three-dimensional resource allocation and loading optimization method for mobile augmented reality browser
CN104102545B (en) * 2014-07-04 2017-12-01 北京理工大学 Mobile augmented reality browser three dimensional resource configures the optimization method with loading
CN105321200B (en) * 2015-07-10 2018-03-06 苏州蜗牛数字科技股份有限公司 The preprocess method rendered offline
CN105321200A (en) * 2015-07-10 2016-02-10 苏州蜗牛数字科技股份有限公司 Offline rendering preprocessing method
CN106056658A (en) * 2016-05-23 2016-10-26 珠海金山网络游戏科技有限公司 Virtual object rendering method and virtual object rendering device
CN106056658B (en) * 2016-05-23 2019-01-25 珠海金山网络游戏科技有限公司 A kind of virtual objects rendering method and device
CN106504311A (en) * 2016-10-28 2017-03-15 腾讯科技(深圳)有限公司 A kind of rendering intent of dynamic fluid effect and device
CN106652038A (en) * 2016-12-27 2017-05-10 合肥漫禹科技有限公司 Map baking method for VR virtual campus system
CN111583376A (en) * 2020-06-04 2020-08-25 网易(杭州)网络有限公司 Method and device for eliminating black edge in illumination map, storage medium and electronic equipment
CN111583376B (en) * 2020-06-04 2024-02-23 网易(杭州)网络有限公司 Method and device for eliminating black edge in illumination map, storage medium and electronic equipment
CN112116692A (en) * 2020-08-28 2020-12-22 北京完美赤金科技有限公司 Model rendering method, device and equipment
CN112419460A (en) * 2020-10-20 2021-02-26 上海哔哩哔哩科技有限公司 Method, apparatus, computer device and storage medium for baking model charting
CN114004923A (en) * 2021-09-16 2022-02-01 天津市普迅电力信息技术有限公司 WebGL-based three-dimensional model shadow mapping texture rendering method
CN114004923B (en) * 2021-09-16 2024-03-29 天津市普迅电力信息技术有限公司 WebGL-based three-dimensional model shadow mapping texture rendering method

Similar Documents

Publication Publication Date Title
CN102346921A (en) Renderer-baking light mapping method of three-dimensional software
US9610501B2 (en) Delivery of projections for rendering
CN104392479B (en) Method of carrying out illumination coloring on pixel by using light index number
CN104657096B (en) It is a kind of to realize that virtual product visualizes the method with interacting under CAVE environment
CN106815883A (en) The hair treating method and system of a kind of game role
CN108573475A (en) The method of inverse tone mapping (ITM) for the image with visual effect
CN105468353A (en) Implementation method and apparatus for interface animation, mobile terminal, and computer terminal
US9183654B2 (en) Live editing and integrated control of image-based lighting of 3D models
CN110333924A (en) A kind of image morphing method of adjustment, device, equipment and storage medium
CN107622520A (en) The method for accelerating to render
CN107424202A (en) Extensive three-dimensional colony's performance animation concurrent rendering method based on PBRT
CN109035383A (en) A kind of method for drafting, device and the computer readable storage medium of volume cloud
CN106384375A (en) Coloring fusion method and device for vegetation bottom in electronic game scene
CN114004923B (en) WebGL-based three-dimensional model shadow mapping texture rendering method
CN104392478A (en) Algorithm of volumetric fog in screen space
US8842913B2 (en) Saturation varying color space
CN106780700B (en) Game personalized 3D coloring method based on VR technology
CN104050700A (en) Image synthetic method and device
CN112258621B (en) Method for observing three-dimensional rendering two-dimensional animation in real time
US20060033736A1 (en) Enhanced Color and Lighting Model for Computer Graphics Productions
CN112465941B (en) Volume cloud processing method and device, electronic equipment and storage medium
CN112150592B (en) Animation file generation method and device, storage medium and electronic equipment
Yi Computer digital art design based on 3D animation special effects
Wang Quality Control of Digital Animation Image in the Era of Interactive Media
Atwood Rendering air: On representation of particles in the sky

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Zhang Yu

Document name: Notification that Application Deemed to be Withdrawn

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120208