Comments (10)
Do you mean you would want textures to be rendered in the .obj-viewer? Sorry, a bit hard to read the title as it is :)
from tinyobjloader.
Yes, @JobsSteve you should describe details. And PR are always welcome.
FYI, I am working new&improved version in develop
branch, and there's now OpenGL viewer example there: https://github.com/syoyo/tinyobjloader/tree/develop/examples/viewer
from tinyobjloader.
I vote for a Material use / implementation on the viewer.
from tinyobjloader.
@skurmedel @syoyo Yes, that's exactly what I mean. Sorry for my not good in English ;)
from tinyobjloader.
@JobsSteve No problem :) Not a native speaker myself.
@syoyo @JobsSteve I could volunteer to add support but... what formats would be good to support? The problem arises with dependencies. I've used stb_image.h in my own stuff, its very lightweight but it only supports the common formats. I guess one could use your exr-library for .exrs, but I don't think .exrs are very common as textures outside big hollywood studios, or are they?
from tinyobjloader.
Cool! > I could volunteer to add support
I am using stb and tinyexr to load textures(jpg,png,exr) for our various applications(non-VFX), so EXR should be a quite common format.
from tinyobjloader.
Is this still relevant? I was working on this, but then put it to rest for a while. Now that tinyobjloader works quite differently I'll probably have redo it.
from tinyobjloader.
No one is working on this, thus your PR is welcome.
API and data structure has been changed from v1.0, please see viewer example code https://github.com/syoyo/tinyobjloader/blob/master/examples/viewer/viewer.cc for details.
from tinyobjloader.
from tinyobjloader.
Merged PR so closing the issue.
from tinyobjloader.
Related Issues (20)
- How to use tinyobjloader with CMake on OSX HOT 2
- pkg-config file is broken when CMAKE_INSTALL_{INCLUDE,LIB}DIR is absolute HOT 1
- How to package tinyobjloader? HOT 2
- LoadObj fails to load materials while reader object succeeds HOT 1
- Normal indices with a value of zero HOT 4
- All vertex color data is (1,1,1) HOT 1
- Adding my project to Use Case section HOT 2
- mtllib filename with spaces HOT 2
- material name with leading whitespaces are not supported HOT 3
- I am getting texcoord_index = -1 for some models? HOT 2
- I just need index buffer HOT 1
- Material specification link in README is outdated HOT 3
- Some textues are appeared in 180 degree rotated HOT 1
- A small fault in loader_example.cc HOT 1
- when using default materials at least keep the material id
- Facets with > 255 vertices HOT 2
- New release 1.0.7? HOT 1
- How to get the material names without a .mtl? HOT 1
- The problem of parsing the texture coordinates is incorrect when using the library
- Deduplicate vertex
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyobjloader.