Comments (9)
I am also getting similar error? Could you find fix for the same?
from glview.
@natasha1403
the GLModelDemo example is running on my iphone, make a deep copy of the const varible.
i use memcpy() function.
from glview.
Can you please tell can I deep copy, I am new to xcode and objective C
from glview.
@natasha1403
like this
void *dst = malloc([data length]);
memcpy(dst, [data bytes], [data length]);
PVRTextureHeaderV2 *header = (PVRTextureHeaderV2 *)dst;
from glview.
but memcpy is used for copying only variable with type void. I am getting different errors as well:
/Users/natasha/Downloads/GLView-master/GLView/Models/GLModel.m:233:59: Sending 'const NSString *__strong' to parameter of type 'NSString * _Nonnull' discards qualifiers
from glview.
I am getting error in every class one after the other.. is there an end to these issues??
from glview.
- NO, memcpy() operate memory ,so anything is ok.
- you create a new varible to receive the const NSString, then send it
from glview.
Thank you so much, finally this thing worked for me. But, none of the objs are loading, only demon got loaded for me. Did you face a similar issue?
from glview.
Fixed in 1.6.2
from glview.
Related Issues (20)
- How to rotate a GLImageView HOT 1
- How to rotate 3D Model in GLModel Sample ? HOT 1
- Unable to find interface declaration for 'UIColor' HOT 5
- Texture files not fitting properly ? HOT 4
- How to scale the obj file automatically ? HOT 6
- Specifications of creating compatible 3D models ? HOT 1
- 如果修改绘制图片的清晰度呢?
- Please help me import this object and texture. HOT 5
- Antialiasing of the rendered view
- how to rotate and zoom
- EXC_BAD_ACCESS (code=1, address=0x11f0)
- Different transforms, rotations and scales for different objects plus unable to load texture file
- Display vertex colors from OBJ file
- Draw model from OBJ file with MTL and texture file HOT 5
- obj model texture from mtl and png files. HOT 5
- Obj model pivot is not centered
- exc_bad_access
- Have no idea why GLModelView only displays half of the model HOT 5
- Model not displaying
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 glview.