Open GoogleCodeExporter opened 9 years ago
i have the same problem..i cant load my texture..can somebody help me,please??
Original comment by g...@wir-fit.com
on 12 Sep 2011 at 6:57
There is no feature to customize the texture. Feel free to add the feature as
per your requirement. (This is the exact point I made this program open-source.)
Original comment by tom...@gmail.com
on 12 Sep 2011 at 12:41
[deleted comment]
i try many things to wrap the vtx file with my texture, but it is so hard to
wrap the object with my texture.
Original comment by mgy...@gmail.com
on 14 Sep 2011 at 9:53
please can you tell me how to load a texture file into the .vtx file??
Original comment by lucsilve...@gmail.com
on 14 Sep 2011 at 10:15
i want to load my obj file, can you tell me which script i must change for??
Original comment by mgy...@gmail.com
on 15 Sep 2011 at 12:24
Hi mgy...@gmail.com,
I agree it will not be trivial. In readBatchDef function in util.cpp, you will
find a loop to generate a command to render polygons by b->Normal3f and
b->Vector3f commands. Theoretically speaking, you can map your texture upon the
polygons by adding b->MultiTextCoord2f command. However, you still need to
setup your texture first and assign an ID, and also need to give the
coordinates on the texture you want to map to the polygon.
Original comment by tom...@gmail.com
on 19 Sep 2011 at 2:25
[deleted comment]
Hi lucsilve...@gmail.com,
As I said in comment #7, it wouldn't be trivial. Study OpenGL and come up with
your own solution. It should be a good exercise for a programmer.
Original comment by tom...@gmail.com
on 19 Sep 2011 at 2:36
i attach a object+texture for you..can you render an object and show me the
code i need to render the object with a texture..please
sorry to bother you again..
Original comment by lucsilve...@gmail.com
on 20 Sep 2011 at 5:35
Attachments:
Original issue reported on code.google.com by
lucsilve...@gmail.com
on 6 Sep 2011 at 3:56