Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5a832b4

Browse files
committed
Update README.
1 parent 42f0402 commit 5a832b4

File tree

1 file changed

+22
-36
lines changed

1 file changed

+22
-36
lines changed

README.md

Lines changed: 22 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
tinyobjloader
2-
=============
1+
# tinyobjloader
32

43
[![Join the chat at https://gitter.im/syoyo/tinyobjloader](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/syoyo/tinyobjloader?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
54

@@ -18,27 +17,16 @@ Tiny but powerful single file wavefront obj loader written in C++. No dependency
1817
`tinyobjloader` is good for embedding .obj loader to your (global illumination) renderer ;-)
1918

2019

21-
What's new
22-
----------
20+
## What's new
2321

2422
* XX YY, ZZZZ : New data strcutre and API!
25-
* Jan 29, 2016 : Support n-polygon(no triangulation) and OpenSubdiv crease tag! Thanks dboogert!
26-
* Nov 26, 2015 : Now single-header only!.
27-
* Nov 08, 2015 : Improved API.
28-
* Jun 23, 2015 : Various fixes and added more projects using tinyobjloader. Thanks many contributors!
29-
* Mar 03, 2015 : Replace atof() with hand-written parser for robust reading of numeric value. Thanks skurmedel!
30-
* Feb 06, 2015 : Fix parsing multi-material object
31-
* Sep 14, 2014 : Add support for multi-material per object/group. Thanks Mykhailo!
32-
* Mar 17, 2014 : Fixed trim newline bugs. Thanks ardneran!
33-
* Apr 29, 2014 : Add API to read .obj from std::istream. Good for reading compressed .obj or connecting to procedural primitive generator. Thanks burnse!
34-
* Apr 21, 2014 : Define default material if no material definition exists in .obj. Thanks YarmUI!
35-
* Apr 10, 2014 : Add support for parsing 'illum' and 'd'/'Tr' statements. Thanks mmp!
36-
* Jan 27, 2014 : Added CMake project. Thanks bradc6!
37-
* Nov 26, 2013 : Performance optimization by NeuralSandwich. 9% improvement in his project, thanks!
38-
* Sep 12, 2013 : Added multiple .obj sticher example.
39-
40-
Example
41-
-------
23+
24+
### Old version
25+
26+
Previous old version is avaiable as `v0.9` branch.
27+
28+
29+
## Example
4230

4331
![Rungholt](images/rungholt.jpg)
4432

@@ -49,11 +37,16 @@ http://graphics.cs.williams.edu/data/meshes.xml
4937

5038
* [examples/viewer/](examples/viewer) OpenGL .obj viewer
5139

52-
Use case
53-
--------
40+
## Use case
5441

5542
TinyObjLoader is successfully used in ...
5643

44+
### New version
45+
46+
* Your project here!
47+
48+
### Old version
49+
5750
* bullet3 https://github.com/erwincoumans/bullet3
5851
* pbrt-v2 https://github.com/mmp/pbrt-v2
5952
* OpenGL game engine development http://swarminglogic.com/jotting/2013_10_gamedev01
@@ -66,10 +59,8 @@ TinyObjLoader is successfully used in ...
6659
* cocos2d-x https://github.com/cocos2d/cocos2d-x/
6760
* Android Vulkan demo https://github.com/SaschaWillems/Vulkan
6861
* Loading models in Vulkan Tutorial https://vulkan-tutorial.com/Loading_models
69-
* Your project here!
7062

71-
Features
72-
--------
63+
## Features
7364

7465
* Group(parse multiple group name)
7566
* Vertex
@@ -81,20 +72,17 @@ Features
8172
* Callback API for custom loading.
8273

8374

84-
TODO
85-
----
75+
## TODO
8676

8777
* [ ] Fix Python binding.
8878
* [ ] Fix obj_sticker example.
8979
* [ ] More unit test codes.
9080

91-
License
92-
-------
81+
## License
9382

9483
Licensed under MIT license.
9584

96-
Usage
97-
-----
85+
## Usage
9886

9987
`attrib_t` contains single and linear array of vertex data(position, normal and texcoord).
10088
Each `shape_t` does not contain vertex data but contains array index to `attrib_t`.
@@ -149,8 +137,7 @@ for (size_t s = 0; s < shapes.size(); s++) {
149137

150138
```
151139

152-
Optimized loader
153-
----------------
140+
## Optimized loader
154141

155142
Optimized multi-threaded .obj loader is available at `experimental/` directory.
156143
If you want absolute performance to load .obj data, this optimized loader will fit your purpose.
@@ -164,7 +151,6 @@ Here is some benchmark result. Time are measured on MacBook 12(Early 2016, Core
164151
* optimised: 1500 msecs(10x faster than old version, 4.5x faster than basedline)
165152

166153

167-
Tests
168-
-----
154+
## Tests
169155

170156
Unit tests are provided in `tests` directory. See `tests/README.md` for details.

0 commit comments

Comments
 (0)