Comments (4)
Hi Leslie,
It should be automatically picked up by the parser. It doesn't change the texture coordinates in any way.
Which parser are you using? What modelling program?
from rajawali.
It is the same with 3dsparser and objparser. But in my old project this is
working...in gl 1.1 3dsmax the program
On Jun 1, 2012 9:34 AM, "Dennis Ippel" <
[email protected]>
wrote:
Hi Leslie,
It should be automatically picked up by the parser. It doesn't change the
texture coordinates in any way.
Which parser are you using? What modelling program?
Reply to this email directly or view it on GitHub:
#46 (comment)
from rajawali.
Could you send me the model so I can see what the problem is? Thanks
from rajawali.
max3DParser error was the mistake:
protected void readTexCoords(InputStream buffer) throws IOException {
int numVertices = readShort(buffer);
for (int i = 0; i < numVertices; i++) {
float x = readFloat(buffer);
float y = 1-readFloat(buffer);
mTexCoords.add(new Number3D(x, y, 0));
}
}
this is the good, not this:
protected void readTexCoords(InputStream buffer) throws IOException {
int numVertices = readShort(buffer);
for (int i = 0; i < numVertices; i++) {
float x = 1-readFloat(buffer);
float y = readFloat(buffer);
mTexCoords.add(new Number3D(x, y, 0));
}
}
from rajawali.
Related Issues (20)
- jcenter repository has been depracated
- Seeking Luminance based desaturation
- Seeking Lighten and Darken Blend Modes
- Seeking point texture plugin
- improving SpriteSheetMaterialPlugin efficiency HOT 1
- Seeking Flexible Sprite Sheet Animation
- Seeking runtime adjustment of AlphaMask threshold
- Please restore AnimatedSpritesFragment to example app
- Stencil Buffer is not initializing corrrectly,
- Some `ScreenQuad` materials spew error messages at frame rate
- Objects starts to render with delay when camera if far from them HOT 1
- How to translate object with touch screen?
- anyway to implement ray in the library?
- Create Sphere with phiStart, phiLength, thetaStart, thetaLength HOT 1
- LoaderFBX.java:347 ArrayIndexOutOfBoundsException
- display obj model in AR
- Examples are broken
- When will the new version be released?
- load obj file fail,NumberFormatException: For input string: "nan"
- Caused by: org.rajawali3d.loader.ParsingException: Couldn't find texture ingrid HOT 1
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 rajawali.